tmux-cli

tmux-cli is a skill for Claude Code from pchalasani/claude-code-tools. It costs 41 tokens per session (319 once invoked), scanned A, original, MIT.

A command-line tool for sending messages and running shell commands in other tmux panes, which are terminal windows managed together.

In plain words
What is it for?
Running builds and tests in another pane, stopping automation after failures, and exchanging messages with another agent.
Why use it?
It helps coordinate several command-line agents or scripts and detect whether their commands succeeded.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the tmux-cli plugin — 1 skill shipped together

Good fit Running builds and tests in another pane, stopping automation after failures, and exchanging messages with another agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pchalasani/claude-code-tools/tmux-cli
About the project

pchalasani/claude-code-tools is a collection of command-line tools, skills, agents, hooks, plugins, and commands for improving work with Claude Code, Codex-CLI, and similar coding agents. It is used by developers who want reusable productivity features and workflows for terminal-based AI coding assistants. The catalogue entries are components of, or extensions for, these coding-agent workflows.

pchalasani/claude-code-tools · 2,042 stars · on GitHub

Install

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.

Any agent
npx skills add pchalasani/claude-code-tools --skill tmux-cli
Clone the repo
git clone --depth 1 https://github.com/pchalasani/claude-code-tools

Made for: Claude Code.

Or install tmux-cli, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for tmux-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/tmux-cli/github.svg)](https://agentmods.dev/skills/pchalasani/claude-code-tools/tmux-cli)
Your own site
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/tmux-cli"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/tmux-cli/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.

agentmods 80×15 button for tmux-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/tmux-cli"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/tmux-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 319 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00319
Opus 5.5 $0.00016 $0.00128
Sonnet 5.5 $0.00008 $0.00064
Haiku 4.5 $0.00004 $0.00032

Measured 3mo ago against content hash 5b2a3048308e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tmux-cli 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 3mo 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.

plugins/tmux-cli/skills/tmux-cli/SKILL.md · 44 lines

What it actually says

tmux-cli

Instructions

Use the tmux-cli command to communicate with other CLI Agents or Scripts in other tmux panes. Do tmux-cli --help to see how to use it!

This command depends on installing the claude-code-tools. If you get an error indicating that the command is not available, ask the user to install it using: uv tool install claude-code-tools.

Key Commands

Execute with Exit Code Detection

Use tmux-cli execute when you need to know if a shell command succeeded or failed:

tmux-cli execute "make test" --pane=2
# Returns JSON: {"output": "...", "exit_code": 0}

tmux-cli execute "npm install" --pane=ops:1.3 --timeout=60
# Returns exit_code=0 on success, non-zero on failure, -1 on timeout

This is useful for:

  • Running builds and knowing if they passed
  • Running tests and detecting pass/fail
  • Multi-step automation that should abort on failure

Note: execute is for shell commands only, not for agent-to-agent chat. For communicating with another Claude Code instance, use send + wait_idle + capture instead.

Changes

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.

  1. 3mo ago First seen · 44 lines · 41 tokens per session scan A 5b2a3048308e

Subscribe to this mod's changes

tmux-cli is a skill published in the GitHub repository pchalasani/claude-code-tools (2,042 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 319 once invoked, about $0.0002 per session on Opus 5.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.

Related

tmux-cli compared with skills from other repositories

tmux-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tmux-clipchalasani/claude-code-toolsSkill2.0kyesterdayMITA41Claude Code
tinyjsmomozi1996/momo-codeSkill1.1k1mo agononeA75Claude Code, Codex
datamolsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A67Claude Code, Codex
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A47Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A75Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A86Claude Code, Codex
pysamsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A47Claude Code, Codex