tmux-skill — Claude Code skill: tmux process control and setup
This skill lets an agent run commands in tmux sessions and inspect their output. Use it for long-running builds, servers, REPLs, or terminal apps.
CC-BY-NC-4.0 226 installs ★ 107 updated 2026-10-16
npx skills add Agents365-ai/365-skills --skill tmux-skill -a claude-codeWhat tmux-skill does
The skill covers controlling tmux from the command line: create a detached session, send input to a pane, then read its output while the process runs. That lets an agent keep work alive between turns or inspect a running program. It also explains checking for a completion marker and handling pane input such as Enter or C-c.
The examples use a separate pi-agent socket for agent-owned sessions. You need tmux installed to run these commands. For a background command whose output only needs to go to a log, shell redirection is simpler.
What it helps with
- keep a build running after an agent turn ends
- send input to a REPL or terminal app
- inspect pane output and scrollback
- check whether a command finished by reading its output
Example prompts for the agent
- Run the tests in a separate tmux session and report the process exit code.
- Keep the development server running in tmux, then inspect its pane output.
- Send
C-cto the process in the tmux session and show the resulting terminal output.
How to install tmux-skill
1Skills CLI (Vercel)
npx skills add Agents365-ai/365-skills --skill tmux-skill -a claude-code2Manually: put the files in place
~/.claude/skills/tmux-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tmux-skill/
1Skills CLI (Vercel)
npx skills add Agents365-ai/365-skills --skill tmux-skill -a codex2Manually: put the files in place
.agents/skills/tmux-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Agents365-ai/365-skills --skill tmux-skill -a cursor2Manually: put the files in place
.cursor/skills/tmux-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Agents365-ai/365-skills plugins/tmux/skills/tmux-skill2Manually: put the files in place
.github/skills/tmux-skill/SKILL.md1Skills CLI (Vercel)
npx skills add Agents365-ai/365-skills --skill tmux-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/Agents365-ai/365-skills --path plugins/tmux/skills/tmux-skillManually: put the files in place
.devin/skills/tmux-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Agents365-ai/365-skills --skill tmux-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tmux-skill
How do I install tmux-skill in Claude Code?
Run npx skills add Agents365-ai/365-skills --skill tmux-skill -a claude-code. The skill file is placed at ~/.claude/skills/tmux-skill/SKILL.md.
What does tmux-skill do?
It guides an agent through creating tmux sessions, sending commands to panes, and reading output while programs keep running.
Does tmux-skill require tmux?
Yes. Its commands rely on tmux. For a background process that only needs log output, the description recommends shell redirection instead.