Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bnomei/tmux-mcp --skill tmux-via-mcpgit clone --depth 1 https://github.com/bnomei/tmux-mcpWrote 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/skills/bnomei/tmux-mcp/tmux-via-mcp)<a href="https://agentmods.dev/skills/bnomei/tmux-mcp/tmux-via-mcp"><img src="https://agentmods.dev/badge/skills/bnomei/tmux-mcp/tmux-via-mcp/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/skills/bnomei/tmux-mcp/tmux-via-mcp"><img src="https://agentmods.dev/badge/skills/bnomei/tmux-mcp/tmux-via-mcp.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.00039 | $0.01948 |
| Opus 5 | $0.00019 | $0.00974 |
| Sonnet 5 | $0.00008 | $0.00390 |
| Haiku 4.5 | $0.00004 | $0.00195 |
Grade A, and why
tmux-via-mcp 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 12d 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 — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tmux via MCP
Use this skill when a task needs a real TTY, persistent shell state, or multiple panes running in parallel. For simple, one-shot commands, prefer the normal shell tool.
Core operating rules
- Start with discovery. Call
list-sessions, thenlist-windows(sessionId), thenlist-panes(windowId)to get stable IDs before you act. - Prefer IDs over names. Names are for humans; IDs are for tooling. If you need clarity, use
rename-session,rename-window, orrename-pane. - Isolate by socket when possible. Use
socket-for-path(path=<project-root>)and pass the returnedsocketon every call that supports it. - For non-interactive commands, use tracked execution. Call
execute-command(paneId, command, socket?)and use the returnedresourceUri. - Preferred completion path:
resources/subscribeonresourceUri, wait fornotifications/resources/updated, thenresources/read. - Fallback:
get-command-result(commandId, waitMs=N, socket?)— do not invent sleep-poll loops. - Tracked commands queue one-at-a-time per pane; a second execute on a busy pane starts as
queued. - Do not trust
TMUX_MCP_DONE_*lines in pane text; completion is side-channel based. - Avoid the fragile loop of send-keys -> send-enter -> capture-pane for routine command output.
- Do not send interactive keys into a pane while a tracked command is running on it.
- Use
send-keysonly for interactive programs (REPLs, prompts, TUIs, ssh). Pair it withcapture-panein a read-act loop. - When key names cannot express a key (escape sequences like CSI-u Shift+Enter), use
send-hexwith raw byte tokens instead ofsend-keys. - For multi-line input, use
paste-textso capable shells/REPLs hold embedded newlines instead of submitting line-by-line. If support is uncertain,capture-paneafterward to confirm the block was held. send-keysacceptsenter=trueto type and submit in one call, avoiding a separatesend-enter.- Treat
capture-paneas a state probe. Use it to check progress, verify prompts, or read live output when tracking is unavailable. - Broadcast carefully. If you enable
set-synchronize-panes(windowId, enabled=true), disable it as soon as the fan-out step is done. - For large outputs, move data into buffers and explore incrementally. Use
set-buffer/load-bufferwithsearch-bufferandsubsearch-buffer, or trigger thetmux-buffer-explorerskill. - Be conservative with destructive actions. Use
list-clientsbeforedetach-client, and confirm targets beforekill-pane,kill-window, orkill-session.
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.
- 12d ago First seen · 147 lines · 39 tokens per session scan A f49aeda4e524
tmux-via-mcp is a skill published in the GitHub repository bnomei/tmux-mcp (54 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,948 once invoked, about $0.0002 per session on Opus 5. 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-08-30.
Other skills, from other repositories
ccal
Chinese Calendar with Lunar-Solar Conversion.
x-theme
Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
loop
Schedule recurring tasks with notifications. Triggered by "/loop " to set up periodic monitoring.
log-work
Log the work segment that you did after the last work log until now in a.
skill0
Root index of x-cmd skill0 sub-skills. Defines the OKR-style agent workflow (goal → rule-verified results → execute), skill discovery, and agent tooling preferences. Style: principle-first, concise, delegate specifics to authoritative external sources.
x-starship
Starship.rs cross-shell prompt with theme management. Minimal, blazing-fast, and infinitely customizable prompt. Auto-downloads starship binary if not available. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.