Skip to content

Ready-to-use prompt templates for Claude Code Agent Teams (swarm mode) with tmux

License

Notifications You must be signed in to change notification settings

ArthurDEV44/prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prompts — Claude Code Agent Teams

Ready-to-use prompt templates for orchestrating Claude Code Agent Teams (swarm mode) with tmux split panes.

Quick Start

  1. Launch Claude Code inside tmux:
tmux new -s claude-team "claude"
  1. Copy-paste any template below into Claude Code, replace the [PLACEHOLDERS], and let the agent team do the work.

Templates

Template Description Agents
implement-prd.md Implement a full PRD with parallel agents 3-6
debug-hypotheses.md Debug with competing hypotheses 2-5
review-pr.md Multi-angle PR code review 2-5
refactor-codebase.md Refactor, migrate, or clean up a codebase 2-6
explore-codebase.md Explore and map an unknown codebase 2-5

Each template comes in multiple variants (simple, advanced, quick) depending on how much control you want.

Orchestration Patterns

These templates leverage 4 orchestration patterns:

  • Leader — One coordinator distributes independent subtasks
  • Swarm — N similar tasks processed in parallel, no cross-dependencies
  • Pipeline — Sequential stages where each depends on the previous
  • Watchdog — Parallel work with continuous quality oversight

Prerequisites

// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}
  • tmux installed for split-pane mode

Usage Tips

  • File ownership: always assign distinct files/directories to each teammate to avoid conflicts
  • Plan approval: use (plan approval required) for risky or architectural tasks
  • Delegate mode: press Shift+Tab to keep the lead as pure orchestrator
  • Right-size: 2-5 teammates is the sweet spot — more agents ≠ faster
  • Context: teammates don't inherit conversation history — be explicit in spawn prompts

License

MIT

About

Ready-to-use prompt templates for Claude Code Agent Teams (swarm mode) with tmux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •