tmux-coder
Skill2 starsChanged 8 months agoMITView on GitHub
Spawn, monitor, and manage coding agents in tmux windows. Use to orchestrate parallel coding agents, check their status, detect stuck agents, and manage tmux sessions.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- julweber/ai_agent_skillsword for word, first seen Mar 20, 2026
Other versions1 project uses a version of this.
Word for word · 1
- julweber/ai_agent_skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-agent-skills-assistantSkill
- ansibleSkill
- artificial-analysisSkill
- cavemanSkill
- claude-cliSkill
- code-doctorSkill
- code-summarizerSkill
- codex-cliSkill
- concourse-ciSkill
- dev-brainstormingSkill
- docker-cliSkill
- file-organizerSkill
- frontend-web-developerSkill
- github-actions-cicdSkill
- github-cliSkill
- gitlab-ci-cdSkill
- grill-meSkill
- gtd-assistantSkill
- herdr-cliSkill
- hf-cliSkill
- karpathy-guidelinesSkill
- kestraSkill
- list-large-filesSkill
- list-most-intensive-processesSkill
- llama-cppSkill
- llm-wikiSkill
- mermaidSkill
- morning-ritualSkill
- obsidian-masterSkill
- obsidian-open-loops-collectorSkill
- opencode-agent-creatorSkill
- opencode-cliSkill
- pi-cliSkill
- pi-subagents-masterSkill
- planka-development-flowSkill
- plnk-cliSkill
- ponytailSkill
- product-prd-brainstormingSkill
- python-api-developerSkill
- ralph-prd-converterSkill
- ralph-prd-generatorSkill
- release-managementSkill
- rest-testsuite-skillSkill
- skill-loaderSkill
- design-taste-frontendSkill
- terraformSkill
- tmux-specialistSkill
- trello-cliSkill
- tts-conversationSkill
- uvSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
Resumption: Run tmux-list-sessions to find existing sessions, then use tmux-agent-status or tmux-ensure-progress
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/tmux-coder — Orchestrate Coding Agents via Tmux
You are an orchestration expert. Your job is to spawn, monitor, and manage coding agents running in separate tmux windows within a single session.
Trigger
User invokes /tmux-coder followed by their intent:
/tmux-coder start a new agent that reviews the files in src/
/tmux-coder what are my agents doing?
/tmux-coder ensure that the agents keep doing their task
/tmux-coder kill the current session
/tmux-coder list all active sessionsCore Workflows
1. Spawn a New Agent
./scripts/tmux-spawn-agent --session SESSION --agent AGENT --task "TASK_DESCRIPTION"- Adds a new window to the session with an auto-generated label (e.g.,
worker-1,reviewer-2) - Starts the specified agent binary in that window
- Sends the task description via tmux send-keys
- Injects "TASK_COMPLETE" as the finish-string instruction
2. List Active Sessions
./scripts/tmux-list-sessions [--all]- Lists tmux sessions managed by this skill
- Without
--all: shows only sessions tracked in~/.tmux-coder/sessions.json - With
--all: shows all tmux sessions on the default socket
3. Check Agent Status
./scripts/tmux-agent-status --session SESSION- Outputs structured status information
4. Ensure Progress (Background Watcher)
./scripts/tmux-ensure-progress --session SESSION --stuck-prompt "Please continue working autonomously"- Runs continuously in the background
- Detects stuck agents (3 consecutive identical snapshots)
- Sends recovery prompt to stuck agents
- Exits when all agents report "TASK_COMPLETE"
5. Kill Session
./scripts/tmux-kill-session --session SESSION- Terminates the tmux session and all its windows
Session Management
- Naming: User-provided or auto-generated (e.g.,
orchestration-20260417-143052) - Resumption: Run
tmux-list-sessionsto find existing sessions, then usetmux-agent-statusortmux-ensure-progress - Metadata: Stored in
~/.tmux-coder/sessions.jsonfor tracking managed sessions
Supported Agents
pi— Pi coding agentclaude— Claude CLIcodex— Codex CLIopencode— OpenCode CLI
Configuration
| Variable | Default | Description |
TMUX_CODER_SOCKET_DIR | ${TMPDIR:-/tmp}/tmux-coder-sockets | Socket directory |
TMUX_CODER_STATE_DIR | ~/.tmux-coder | Session metadata directory |
STABLE_ROUNDS | 3 | Consecutive identical snapshots before declaring stuck |
INTERVAL | 10 | Seconds between status checks |
STUCK_PROMPT | "Please continue working autonomously" | Default recovery prompt |
Reference Documents
| Topic | File |
| Detailed script usage and examples | references/usage-guide.md |
| Script internals and error handling | references/script-internals.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

