bar181/swarm-setup
Transform your AI development with custom agent swarms optimized for Agentic Engineering - optimal settings for Claude Code and Claude-flow
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
Copy this rig
# review before running: this installs third-party code $ claude mcp add supabase -- npx -y @supabase/mcp-server-supabase@latest --access-token ${env:SUPABASE_ACCESS_TOKEN} $ claude mcp add --transport http mem0 'https://mcp.composio.dev/mem0/abandoned-creamy-horse-Y39-hm?agent=cursor' $ claude mcp add --transport http perplexityai 'https://mcp.composio.dev/perplexityai/abandoned-creamy-horse-Y39-hm?agent=cursor' $ npx degit bar181/swarm-setup/.claude ./rig-swarm-setup # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add supabase -- npx -y @supabase/mcp-server-supabase@latest --access-token ${env:SUPABASE_ACCESS_TOKEN} $ claude mcp add --transport http mem0 'https://mcp.composio.dev/mem0/abandoned-creamy-horse-Y39-hm?agent=cursor' $ claude mcp add --transport http perplexityai 'https://mcp.composio.dev/perplexityai/abandoned-creamy-horse-Y39-hm?agent=cursor'
$ curl -fsSL --create-dirs -o .claude/agents/backend-coder.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/backend-coder.md $ curl -fsSL --create-dirs -o .claude/agents/debugger.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/debugger.md $ curl -fsSL --create-dirs -o .claude/agents/epic-planner.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/epic-planner.md $ curl -fsSL --create-dirs -o .claude/agents/frontend-coder.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/frontend-coder.md $ curl -fsSL --create-dirs -o .claude/agents/frontend-expert.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/frontend-expert.md $ curl -fsSL --create-dirs -o .claude/agents/modular-designer.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/modular-designer.md $ curl -fsSL --create-dirs -o .claude/agents/optimizer.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/optimizer.md $ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/planner.md $ curl -fsSL --create-dirs -o .claude/agents/product-owner.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/product-owner.md $ curl -fsSL --create-dirs -o .claude/agents/project-manager.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/project-manager.md $ curl -fsSL --create-dirs -o .claude/agents/researcher.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/researcher.md $ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/security-expert.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/security-expert.md $ curl -fsSL --create-dirs -o .claude/agents/senior-developer.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/senior-developer.md $ curl -fsSL --create-dirs -o .claude/agents/test-writer.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/test-writer.md $ curl -fsSL --create-dirs -o .claude/agents/tester.md https://raw.githubusercontent.com/bar181/swarm-setup/main/.claude/agents/tester.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(rm -rf /)",
"Bash(curl * | bash)",
"Bash(wget * | sh)",
"Bash(eval *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true"
}
]
},
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true"
}
]
}
]
}
} MCP servers (3)
| server | source | est. tokens |
|---|---|---|
| Supabase | npm | 7.0k |
| mcp.composio.dev · "mem0" | remote · remote | 2.5k |
| mcp.composio.dev · "perplexityai" | remote · remote | 2.5k |
Subagents (16)
Hooks (7)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | cat | jq -r '.tool_input.command // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true |
| PreToolUse | Write|Edit|MultiEdit | cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true |
| PostToolUse | Bash | cat | jq -r '.tool_input.command // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-command --command '{}' --track-metrics true --store-results true |
| PostToolUse | Write|Edit|MultiEdit | cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-edit --file '{}' --format true --update-memory true |
| Stop | * | npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true |
| PreCompact | manual | /bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo "$INPUT" | jq -r ".custom_instructions // \"\""); echo "🔄 PreCompact Guidance:"; echo "📋 IMPORTANT: Review CLAUDE.md in project root for:"; echo " • 54 available agents and concurrent usage patter |
| PreCompact | auto | /bin/bash -c 'echo "🔄 Auto-Compact Guidance (Context Window Full):"; echo "📋 CRITICAL: Before compacting, ensure you understand:"; echo " • All 54 agents available in .claude/agents/ directory"; echo " • Concurrent execution patterns fr |
Slash commands (71)
/analysis/COMMAND_COMPLIANCE_REPORT/analysis/performance-bottlenecks/analysis/token-efficiency/automation/self-healing/automation/session-memory/automation/smart-agents/coordination/init/coordination/orchestrate/coordination/spawn/github/code-review-swarm/github/github-modes/github/issue-tracker/github/multi-repo-swarm/github/pr-manager/github/project-board-sync/github/release-manager/github/release-swarm/github/repo-architect/github/swarm-issue/github/swarm-pr/github/sync-coordinator/github/workflow-automation/memory/neural/memory/usage/monitoring/status/optimization/auto-topology/optimization/parallel-execution/sparc/sparc/analyzer/sparc/architect/sparc/ask/sparc/batch-executor/sparc/code/sparc/coder/sparc/debug/sparc/debugger/sparc/designer/sparc/devops/sparc/docs-writer/sparc/documenter/sparc/innovator/sparc/integration/sparc/mcp/sparc/memory-manager/sparc/optimizer/sparc/orchestrator/sparc/post-deployment-monitoring-mode/sparc/refinement-optimization-mode/sparc/researcher/sparc/reviewer/sparc/security-review/sparc/sparc-modes/sparc/sparc/sparc/spec-pseudocode/sparc/supabase-admin/sparc/swarm-coordinator/sparc/tdd/sparc/tester/sparc/tutorial/sparc/workflow-manager/swarm/analysis/swarm/development/swarm/examples/swarm/maintenance/swarm/optimization/swarm/research/swarm/testing/training/neural-patterns/training/specialization/workflows/development/workflows/research
Permissions
deny (4)
Bash(rm -rf /)
Bash(curl * | bash)
Bash(wget * | sh)
Bash(eval *)
ask (0)
—
allow (16)
Bash(npx claude-flow *)
Bash(npm run lint)
Bash(npm run test:*)
Bash(npm test *)
Bash(git status)
Bash(git diff *)
Bash(git log *)
Bash(git add *)
Bash(git commit *)
Bash(git push)
Bash(git config *)
Bash(gh *)
Bash(node *)
Bash(which *)
Bash(pwd)
Bash(ls *)
Similar rigs
tylerjkells/claude-dotfiles
—
Pragmatist 579 tok ·
joaolozano-lendario/athena-os
A Claude Code Native System for Intelligent Workflow Architecture - Slash Commands for Smarter AI Workflows
Orchestrator 3.7k tok ·
BillDX/spicy-to-dark-factory-starter
Workshop starter for 'From Spicy Autocomplete to Dark Factory: Agentic Coding in Practice' — a FastAPI mini-app with a full Claude Code harness (agents, slash commands, hooks, sandbox settings) and self-paced exercises.
Orchestrator 706 tok ·
juzser/blacksmith
Autonomous agent factory — loop runner, worktree engine, and a local dashboard over the event log.
Orchestrator 2.6k tok ·