tmux-agents
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Best use case
tmux-agents is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Teams using tmux-agents should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tmux-agents/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tmux-agents Compares
| Feature / Agent | tmux-agents | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Tmux Agents Run coding agents in persistent tmux sessions. They work in the background while you do other things. ## Available Agents ### ☁️ Cloud Agents (API credits) | Agent | Command | Best For | |-------|---------|----------| | **claude** | Claude Code | Complex coding, refactoring, full projects | | **codex** | OpenAI Codex | Quick edits, auto-approve mode | | **gemini** | Google Gemini | Research, analysis, documentation | ### 🦙 Local Agents (FREE via Ollama) | Agent | Command | Best For | |-------|---------|----------| | **ollama-claude** | Claude Code + Ollama | Long experiments, heavy refactoring | | **ollama-codex** | Codex + Ollama | Extended coding sessions | Local agents use your Mac's GPU — no API costs, great for experimentation! ## Quick Commands ### Spawn a new agent session ```bash ./skills/tmux-agents/scripts/spawn.sh <name> <task> [agent] # Cloud (uses API credits) ./skills/tmux-agents/scripts/spawn.sh fix-bug "Fix login validation" claude ./skills/tmux-agents/scripts/spawn.sh refactor "Refactor the auth module" codex ./skills/tmux-agents/scripts/spawn.sh research "Research caching strategies" gemini # Local (FREE - uses Ollama) ./skills/tmux-agents/scripts/spawn.sh experiment "Rewrite entire test suite" ollama-claude ./skills/tmux-agents/scripts/spawn.sh big-refactor "Refactor all services" ollama-codex ``` ### List running sessions ```bash tmux list-sessions # or ./skills/tmux-agents/scripts/status.sh ``` ### Check on a session ```bash ./skills/tmux-agents/scripts/check.sh session-name ``` ### Attach to watch live ```bash tmux attach -t session-name # Detach with: Ctrl+B, then D ``` ### Send additional instructions ```bash tmux send-keys -t session-name "additional instruction here" Enter ``` ### Kill a session when done ```bash tmux kill-session -t session-name ``` ## When to Use Local vs Cloud | Scenario | Recommendation | |----------|----------------| | Quick fix, time-sensitive | ☁️ Cloud (faster) | | Expensive task, budget matters | 🦙 Local | | Long experiment, might fail | 🦙 Local | | Production code review | ☁️ Cloud (smarter) | | Learning/exploring | 🦙 Local | | Heavy refactoring | 🦙 Local | ## Parallel Agents Run multiple agents simultaneously: ```bash # Mix and match cloud + local ./scripts/spawn.sh backend "Implement user API" claude # Cloud ./scripts/spawn.sh frontend "Build login form" ollama-codex # Local ./scripts/spawn.sh docs "Write API documentation" gemini # Cloud ./scripts/spawn.sh tests "Write all unit tests" ollama-claude # Local ``` Check all at once: ```bash ./skills/tmux-agents/scripts/status.sh ``` ## Ollama Setup Local agents require Ollama with a coding model: ```bash # Pull recommended model ollama pull glm-4.7-flash # Configure tools (one-time) ollama launch claude --model glm-4.7-flash --config ollama launch codex --model glm-4.7-flash --config ``` ## Tips - Sessions persist even if Clawdbot restarts - Use local agents for risky/experimental work - Use cloud for production-critical tasks - Check `tmux ls` to see all active work - Kill sessions when done to free resources
Related Skills
ooze-agents
Visual identity that evolves with reputation - create and nurture your agent's digital creature with XP and evolution stages
agentspend
Use this skill when you need to: search the web, generate images or pictures, create videos, scrape or read.
agentscale
Deploy web apps and APIs to a public URL with a single command.
demo-agents-sdk
Complete Polygon agent toolkit.
building-agents
Core XMTP Agent SDK setup and patterns. Use when creating new agents, handling messages, setting up middleware, or configuring environment variables. Triggers on agent setup, XMTP configuration, message handling, or middleware implementation.
xmtp-agents
Building and extending XMTP agents with the Agent SDK. Use when: (1) creating or configuring an XMTP agent, (2) implementing agent features (commands, attachments, reactions, groups, transactions, inline actions, or domain resolution).
perry-coding-agents
Dispatch coding tasks to OpenCode or Claude Code on Perry workspaces. Use for development work, PR reviews, or any coding task requiring an isolated environment.
Vincent - A wallet for agents
Use this skill to safely create a wallet the agent can use for transfers, swaps, and any EVM chain transaction. Also supports raw signing and polymarket betting.
SafeSkills - Secure Secret Management for AI Agents
SafeSkills is a secure secret management service. It stores secrets (like wallet private keys) and executes actions using them so that **you (the agent) never see the raw secret values**. The first supported skill is an EVM wallet -- you can create wallets, transfer tokens, send transactions, check balances, and more.
voice-ai-agents
Create, manage, and deploy Voice.ai conversational AI agents. Use when the user wants to work with voice agents, list their agents, create new ones, or manage agent configurations.
voice.ai-voice-agents
Create, manage, and deploy Voice.ai conversational AI agents. Use when the user wants to work with voice agents, list their agents, create new ones, or manage agent configurations.
books-for-agents
An open source knowledge base of structured book summaries, available to any AI agent via MCP.