MaxGhenis

Clean Panes — Design skill for Claude Code

Design community

Clean up tmux panes - kill idle shells, fix layout.

How to install Clean Panes

Installs to ~/.claude/skills/maxghenis-.claude-clean-panes/SKILL.md

Terminal
mkdir -p ~/.claude/skills/maxghenis-.claude-clean-panes && curl -fsSL https://raw.githubusercontent.com/MaxGhenis/.claude/HEAD/commands/clean-panes.md -o ~/.claude/skills/maxghenis-.claude-clean-panes/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Clean Panes does


description: Clean up tmux panes - kill idle shells, fix layout allowed-tools: Bash

Kill empty tmux panes

Find and kill all panes running an idle shell (zsh/bash) across all windows except meta (window 0/meta is the control plane).

cc clean

After cleaning, re-tile affected windows:

for win in $(tmux list-windows -t c -F '#{window_index}'); do
  tmux select-layout -t "c:$win" tiled 2>/dev/null
done

Report how many panes were killed.

Alternatives in Design

  • Doc — Read, create, and edit .docx documents with formatting and layout fidelity 14.6k ★
  • Scaffold Project — Scaffold a new design-product project that matches the recommended Claude Code layout (the reference structure 781 ★
  • Module CSS — Compile module CSS assets or fix Tailwind prefix issues 407 ★

Full documentation available on GitHub

View Source Repository