tmux-cli
Enables cross-pane communication and command execution for CLI tools within tmux.
Install
mkdir -p .claude/skills/tmux-cli && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4709" && unzip -o skill.zip -d .claude/skills/tmux-cli && rm skill.zipInstalls to .claude/skills/tmux-cli
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
CLI utility to communicate with other CLI Agents or Scripts in other tmux panes; use it only when user asks you to communicate with other CLI Agents or Scripts in other tmux panes.Key capabilities
- →Execute shell commands in specific tmux panes
- →Detect exit codes for command success or failure
- →Set timeouts for command execution
How it works
The tool executes shell commands within a specified tmux pane and returns the result along with the exit status.
Inputs & outputs
When to use tmux-cli
- →Coordinating tasks across tmux panes
- →Automating multi-step CLI workflows
- →Detecting success or failure of build scripts
- →Orchestrating multi-agent CLI interactions
About this skill
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.
When not to use it
- →For agent-to-agent chat
- →When the user has not explicitly requested communication with other panes
Prerequisites
Limitations
- →Limited to shell command execution
- →Requires installation of claude-code-tools
How it compares
It enables programmatic interaction with other CLI environments instead of requiring manual pane switching.
Compared to similar skills
tmux-cli side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| tmux-cli (this skill) | 1 | 6mo | Review | Intermediate |
| setup | 12 | 1mo | No flags | Beginner |
| tmux | 20 | 2mo | Review | Intermediate |
| macos-cleaner | 16 | 2mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by pchalasani
View all by pchalasani →You might also like
setup
barefootford
Sets up a Mac for ButterCut. Installs all required dependencies (Homebrew, Ruby, Python, FFmpeg, WhisperX). Use when user says "install buttercut", "set up my mac", "get started", "first time setup", "install dependencies" or "check my installation".
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
macos-cleaner
daymade
Analyze and reclaim macOS disk space through intelligent cleanup recommendations. This skill should be used when users report disk space issues, need to clean up their Mac, or want to understand what's consuming storage. Focus on safe, interactive analysis with user confirmation before any deletions.
ms365-tenant-manager
alirezarezvani
Microsoft 365 tenant administration for Global Administrators. Automate M365 tenant setup, Office 365 admin tasks, Azure AD user management, Exchange Online configuration, Teams administration, and security policies. Generate PowerShell scripts for bulk operations, Conditional Access policies, license management, and compliance reporting. Use for M365 tenant manager, Office 365 admin, Azure AD users, Global Administrator, tenant configuration, or Microsoft 365 automation.
agent-workflow-automation
ruvnet
Agent skill for workflow-automation - invoke with $agent-workflow-automation
tmux-terminal
mikeyobrien
Interactive terminal control via tmux for TUI apps, prompts, and long-running CLI workflows.