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 hkuds-tmux npx -- -y @trustedskills/hkuds-tmux
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"hkuds-tmux": {
"command": "npx",
"args": [
"-y",
"@trustedskills/hkuds-tmux"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The tmux skill enables AI agents to manage terminal sessions within the tmux multiplexer, allowing for persistent workspaces and session control. It provides direct access to tmux commands like creating new windows, splitting panes, and managing detached sessions.
When to use it
- Maintaining long-running server processes or background jobs that need to survive terminal closure.
- Managing multiple development environments simultaneously within a single terminal window.
- Attaching to previously detached sessions to resume interrupted workflows.
- Splitting panes to monitor logs and edit code side-by-side during debugging.
Key capabilities
- Create, rename, and delete tmux sessions and windows.
- Split windows horizontally or vertically into multiple panes.
- Attach to existing sessions or detach from them gracefully.
- List all active sessions and their current states.
- Send specific commands directly into an attached session.
Example prompts
- "Create a new tmux session named 'dev-env' with two windows: one for the terminal and one for a text editor."
- "Split the current pane vertically so I can view the server logs on the left and edit configuration files on the right."
- "Attach to the detached session called 'backup-job' and run
ls -l /var/log."
Tips & gotchas
Ensure tmux is installed on the target machine before attempting to use this skill, as it relies entirely on the local environment. When managing sessions remotely, be aware that network latency may slightly delay command execution within the attached pane.
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.