Tmux
Tmux allows you to manage multiple terminal sessions within a single window, boosting productivity and remote work efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add mitsuhiko-tmux npx -- -y @trustedskills/mitsuhiko-tmux
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"mitsuhiko-tmux": {
"command": "npx",
"args": [
"-y",
"@trustedskills/mitsuhiko-tmux"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to interact with and manage terminal sessions using tmux. It enables creating, listing, attaching to, detaching from, and killing tmux sessions programmatically. This provides a way for agents to automate terminal workflows and manage complex tasks requiring multiple terminals.
When to use it
- Automating server administration tasks that require managing multiple terminal windows.
- Creating reproducible development environments by scripting the setup of
tmuxsessions. - Running long-running processes in detached
tmuxsessions, even after the agent disconnects. - Managing remote shell connections and workflows within a consistent environment.
Key capabilities
- Create new tmux sessions
- List existing tmux sessions
- Attach to an existing session
- Detach from a session
- Kill a tmux session
Example prompts
- "Create a new tmux session named 'dev_env'."
- "List all running tmux sessions."
- "Attach to the tmux session called 'production'."
- "Kill the tmux session named 'test_server'."
Tips & gotchas
Requires tmux to be installed on the system where the agent is operating. The agent needs appropriate permissions to manage tmux sessions, which may require sudo access depending on the configuration.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.