Loading...
Loading...
Multi-Agent Swarm Parallel Collaboration, pure Git self-organization, suitable for large-scale project development. Use this when users mention "swarm mode", "multi-agent", "parallel development", "agent swarm".
npx skill4agent add alchaincyf/huashu-skills huashu-agent-swarmInspired by Nicholas Carlini using 16 Claude instances to independently build a C compiler. No master agent, pure Git self-organization, each agent independently claims tasks, writes code, and pushes.
brew install tmuxbash SKILL_DIR/scripts/setup_project.sh <project directory>AGENT_PROMPT.mdTASKS.mdcurrent_tasks/agent_logs/AGENT_PROMPT.mdreferences/agent-prompt-template.mdbash SKILL_DIR/scripts/start_swarm.sh <number of agents> <project directory>python3 SKILL_DIR/scripts/dashboard.py <project directory> 8420# Terminal status
bash SKILL_DIR/scripts/status.sh <project directory>
# Send instructions
bash SKILL_DIR/scripts/send_input.sh <project directory> "your instruction"
# Directly enter tmux to observe
tmux attach -t swarm-<project name>bash SKILL_DIR/scripts/stop_swarm.sh <project directory>current_tasks/*.lockTASKS.mdgit loggit worktree.gitgit pull| Parameter | Default Value | Description |
|---|---|---|
| Number of agents | 8 | Specifiable at startup |
| Sleep interval | 5 seconds | Adjustable in agent_loop.sh |
| Model | claude-opus-4-6 | Adjustable in agent_loop.sh |
| Risk | Countermeasure |
|---|---|
| API rate limits | Sleep intervals + adjustable number of agents |
| Merge conflicts | AGENT_PROMPT guides small-grained commits |
| Infinite loop of useless work | Log monitoring + stop conditions |
| Disk space issues | stop_swarm.sh automatically cleans up |
| Uncontrolled costs | Limit number of sessions in AGENT_PROMPT |
Produced by Uncle Hua | AI Native Coder · Independent Developer Official Account "Uncle Hua" | 300,000+ followers | AI Tools & Efficiency Improvement Masterpieces: Kitten Fill Light (Top 1 in AppStore Paid Charts) · "Mastering DeepSeek in One Book"