Borrowing it
Nothing to install: this file belongs to swarm-ai-research/swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/swarm-ai-research/swarm/main/.claude/commands/tmux.mdgit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/swarm-ai-research/swarm/tmux)<a href="https://agentmods.dev/commands/swarm-ai-research/swarm/tmux"><img src="https://agentmods.dev/badge/commands/swarm-ai-research/swarm/tmux/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/swarm-ai-research/swarm/tmux"><img src="https://agentmods.dev/badge/commands/swarm-ai-research/swarm/tmux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00554 |
| Opus 5 | $0.00000 | $0.00277 |
| Sonnet 5 | $0.00000 | $0.00111 |
| Haiku 4.5 | $0.00000 | $0.00055 |
Grade A, and why
tmux scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/tmux
Print the tmux keyboard shortcut reference card for splitting panes, switching windows, and managing the multi-session Claude Code layout — invoke when you need a keybinding, when setting up the ./scripts/claude-tmux.sh environment, or when tmux pane navigation is unclear.
Behavior
Print the following reference card:
tmux Hotkeys (prefix = Ctrl-b)
══════════════════════════════════════════════════
Panes
─────────────────────────────────
Ctrl-b | Split vertical (side by side)
Ctrl-b - Split horizontal (top/bottom)
Ctrl-b arrow Move between panes
Ctrl-b z Zoom/unzoom pane (fullscreen)
Ctrl-b x Close pane
Ctrl-b q Show pane numbers (tap # to jump)
Ctrl-b Shift-arrow Resize pane
Windows (tabs)
─────────────────────────────────
Ctrl-b c New window
Ctrl-b n / p Next / previous window
Ctrl-b 1-9 Jump to window by number
Ctrl-b , Rename window
Ctrl-b & Close window
Sessions
─────────────────────────────────
Ctrl-b d Detach (session stays running)
Ctrl-b s List / switch sessions
Ctrl-b $ Rename session
Scroll / Copy
─────────────────────────────────
Ctrl-b [ Enter scroll mode (arrows / PgUp)
q Exit scroll mode
Mouse
─────────────────────────────────
Click pane Switch to it
Drag border Resize pane
Scroll wheel Scroll history
══════════════════════════════════════════════════
Launch scripts
─────────────────────────────────
./scripts/claude-tmux.sh 2 panes (default)
./scripts/claude-tmux.sh 3 3 panes
./scripts/claude-tmux.sh kill Kill tmux session (worktrees kept)
./scripts/claude-tmux.sh cleanup Remove all session worktrees + branches
Session worktrees
─────────────────────────────────
Each pane runs in its own git worktree:
.worktrees/session-<N> → branch session/pane-<N>
This eliminates staging-area races and push conflicts
between concurrent sessions.
Workflow:
/ship --all Commit to session branch
/merge_session Rebase + push session branch to main
/merge_session --all Batch merge all session branches
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 72 lines · 0 tokens per session scan A 28c30364e50a
tmux is a command published in the GitHub repository swarm-ai-research/swarm (42 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 554 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
notify
Send a notification to your device.
briefing
Morning summary. Show the user where things stand so they can pick up where they left off. This is the "catch me up" command.
OPSX: Apply
Implement tasks from an OpenSpec change (Experimental).
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.