πΌ Turn Claude Code into a production powerhouse. 33+ AI agents automate bug fixing, security scanning, and dependency management. 19 slash commands, 6 MCP configs (600-5000 tokens), quality gates, and health monitoring. Ship faster, ship safer, ship smarter.
npx skills add https://github.com/maslennikov-ig/claude-code-orchestrator-kit --skill frontend-aestheticsInstale esta skill com a CLI e comece a usar o fluxo de trabalho SKILL.md em seu espaΓ§o de trabalho.
Professional automation and orchestration system for Claude Code
Complete toolkit with 39 AI agents, 38 skills, 25 slash commands, auto-optimized MCP, Beads issue tracking, Gastown multi-agent orchestration, ready-to-use prompts, and quality gates for building production-ready projects with Claude Code.
Claude Code Orchestrator Kit transforms Claude Code from a simple assistant into an intelligent orchestration system. Instead of doing everything directly, Claude Code acts as an orchestrator that delegates complex tasks to specialized sub-agents, preserving context and enabling indefinite work sessions.
| Category | Count | Description |
|---|---|---|
| AI Agents | 39 | Specialized workers for bugs, security, testing, database, frontend, DevOps |
| Skills | 39 | Reusable utilities for validation, reporting, automation, senior expertise |
| Commands | 25 | Health checks, SpecKit, Beads, Gastown, process-logs, worktree, releases |
| MCP Servers | 6 | Auto-optimized: Context7, Sequential Thinking, Supabase, Playwright, shadcn, Serena |
code-reviewer, senior-devops, senior-prompt-engineerThe Core Paradigm: Claude Code acts as orchestrator, delegating to specialized sub-agents.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MAIN CLAUDE CODE β
β (Orchestrator Role) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 1. GATHER CONTEXT β 2. DELEGATE β 3. VERIFY β
β - Read existing code β - Invoke agent β - Read results β
β - Search patterns β - Provide context β - Run type-check β
β - Check recent commitsβ - Set criteria β - Accept/reject β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SPECIALIZED AGENTS β
ββββββββββββββββ¬βββββββββββββββ¬βββββββββββββββ¬ββββββββββββββββββββ€
β bug-hunter β security- β database- β performance- β
β bug-fixer β scanner β architect β optimizer β
β dead-code- β vuln-fixer β api-builder β accessibility- β
β hunter β β supabase- β tester β
β β β auditor β β
ββββββββββββββββ΄βββββββββββββββ΄βββββββββββββββ΄ββββββββββββββββββββ
Evolution from Orchestrators: We replaced heavy orchestrator agents with lightweight inline skills.
| Old Approach | New Approach |
|---|---|
| Separate orchestrator agent per workflow | Inline skill executed directly |
| ~1400 lines per workflow | ~150 lines per skill |
| 9+ orchestrator calls | 0 orchestrator calls |
| ~10,000+ tokens overhead | ~500 tokens |
| Context reload each call | Single session context |
Example: /health-bugs now uses bug-health-inline skill:
Detection β Validate β Fix by Priority β Verify β Repeat if needed
Professional-grade skills for complex tasks:
| Skill | Expertise |
|---|---|
code-reviewer |
TypeScript, Python, Go, Swift, Kotlin code review |
senior-devops |
CI/CD, Docker, Kubernetes, Terraform, Cloud |
senior-prompt-engineer |
LLM optimization, RAG, agent design |
ux-researcher-designer |
User research, personas, journey mapping |
systematic-debugging |
Root cause analysis, debugging workflows |
No manual switching required! Claude Code automatically optimizes context usage:
.mcp.json with all servers β no manual switching neededENABLE_TOOL_SEARCH=auto:5Specification-driven development workflow with Phase 0 Planning:
Beads by Steve Yegge β git-backed issue tracker for AI agents:
blocks, blocked-by, discovered-frombigfeature, bugfix, hotfix, healthcheck, etc./beads-init in your projectGastown by Steve Yegge β multi-agent workspace manager that dispatches tasks to AI worker processes (polecats):
You (human)
β
ββ /work "Fix login bug" β Give task via Claude Code
β β
β ββ bd create (bead) β Creates task in Beads
β ββ gt sling PREFIX-xxx RIG β Dispatches to Gastown
β β
β ββ Daemon (automatic)
β ββ Spawns Polecat (AI worker in isolated git worktree)
β ββ Polecat: branch β implement β test β commit
β ββ Refinery: merge queue β develop
β ββ Witness: health monitoring
β
ββ /status β Check progress
ββ git push β Ship changes
Key Features:
claude (default), codex, gemini β all subscription-based, no API billing/work --ab "task" sends same task to 2 runtimes, compare results/onboard connects any project with a single commandIncluded commands:
| Command | Purpose |
|---|---|
/onboard |
Connect project to Gastown (one-time setup) |
/work "task" |
Dispatch task to AI polecat |
/status |
Show convoys, agents, pending tasks |
/upgrade |
Safely upgrade gt/bd binaries |
Agent instruction templates for all runtimes are provided in .claude/templates/:
CLAUDE.md β Claude Code instructions with Gastown workflowAGENTS.md β Codex-compatible instructionsGEMINI.md β Gemini-compatible instructionsInitialize: Run /onboard in your project directory. See Gastown Setup Guide below.
npm install -g claude-code-orchestrator-kit
cd your-project
claude-orchestrator # Interactive setup
git clone https://github.com/maslennikov-ig/claude-code-orchestrator-kit.git
cd claude-code-orchestrator-kit
# Configure environment (optional, for Supabase)
cp .env.example .env.local
# Edit .env.local with your credentials
# Restart Claude Code - ready!
# Copy orchestration system to your project
cp -r claude-code-orchestrator-kit/.claude /path/to/your/project/
cp claude-code-orchestrator-kit/.mcp.json /path/to/your/project/
cp claude-code-orchestrator-kit/CLAUDE.md /path/to/your/project/
Create .env.local (git-ignored) with your credentials:
# Supabase (optional)
SUPABASE_PROJECT_REF=your-project-ref
SUPABASE_ACCESS_TOKEN=your-token
# Sequential Thinking (optional)
SEQUENTIAL_THINKING_KEY=your-smithery-key
SEQUENTIAL_THINKING_PROFILE=your-profile
# Check that .mcp.json and .claude/settings.json exist
ls -la .mcp.json .claude/settings.json
# Try a health command in Claude Code
/health-bugs
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CLAUDE.md β
β (Behavioral Operating System) β
β β
β Defines: Orchestration rules, delegation patterns, verificationβ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AGENTS β
β (39 specialized workers) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β health/ development/ testing/ database/ β
β ββbug-hunter ββllm-service ββintegration ββdatabase-arch β
β ββbug-fixer ββtypescript ββperformance ββapi-builder β
β ββsecurity- ββcode-review ββmobile ββsupabase-audit β
β ββdead-code ββutility- ββaccess- β β
β ββreuse- ββskill-build ββibility β β
β β
β infrastructure/ frontend/ meta/ research/ β
β ββdeployment ββnextjs-ui ββmeta-agent ββproblem-invest β
β ββqdrant ββfullstack ββskill-v2 ββresearch-spec β
β ββorchestration ββvisual-fx β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SKILLS β
β (37 reusable utilities) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Inline Orchestration: Senior Expertise: β
β ββbug-health-inline ββcode-reviewer β
β ββsecurity-health-inline ββsenior-devops β
β ββdeps-health-inline ββsenior-prompt-engineer β
β ββcleanup-health-inline ββux-researcher-designer β
β ββreuse-health-inline ββsystematic-debugging β
β β
β Utilities: Creative: β
β ββvalidate-plan-file ββalgorithmic-art β
β ββrun-quality-gate ββcanvas-design β
β ββrollback-changes ββtheme-factory β
β ββparse-git-status ββartifacts-builder β
β ββgenerate-report-header β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β COMMANDS β
β (21 slash commands) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β /health-bugs /speckit.specify /worktree β
β /health-security /speckit.plan /push β
β /health-deps /speckit.implement /translate-doc β
β /health-cleanup /speckit.clarify /process-logs β
β /health-reuse /speckit.constitution β
β /health-metrics /speckit.taskstoissues β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Agent | Purpose |
|---|---|
bug-hunter |
Detect bugs, categorize by priority |
bug-fixer |
Fix bugs from reports |
security-scanner |
Find security vulnerabilities |
vulnerability-fixer |
Fix security issues |
dead-code-hunter |
Detect unused code |
dead-code-remover |
Remove dead code safely |
dependency-auditor |
Audit package dependencies |
dependency-updater |
Update dependencies safely |
reuse-hunter |
Find code duplication |
reuse-fixer |
Consolidate duplicated code |
| Agent | Purpose |
|---|---|
llm-service-specialist |
LLM integration, prompts |
typescript-types-specialist |
Type definitions, generics |
cost-calculator-specialist |
Token/API cost estimation |
utility-builder |
Build utility services |
skill-builder-v2 |
Create new skills |
code-reviewer |
Comprehensive code review |
| Agent | Purpose |
|---|---|
integration-tester |
Database, API, async tests |
test-writer |
Write unit/contract tests |
performance-optimizer |
Core Web Vitals, PageSpeed |
mobile-responsiveness-tester |
Mobile viewport testing |
mobile-fixes-implementer |
Fix mobile issues |
accessibility-tester |
WCAG compliance |
| Agent | Purpose |
|---|---|
database-architect |
PostgreSQL schema design |
api-builder |
tRPC routers, auth middleware |
supabase-auditor |
RLS policies, security |
| Agent | Purpose |
|---|---|
infrastructure-specialist |
Supabase, Qdrant, Redis |
qdrant-specialist |
Vector database operations |
quality-validator-specialist |
Quality gate validation |
orchestration-logic-specialist |
Workflow state machines |
deployment-engineer |
CI/CD, Docker, DevOps |
| Agent | Purpose |
|---|---|
nextjs-ui-designer |
Modern UI/UX design |
fullstack-nextjs-specialist |
Full-stack Next.js |
visual-effects-creator |
Animations, visual effects |
| Agent | Purpose |
|---|---|
meta-agent-v3 |
Create new agents |
technical-writer |
Documentation |
problem-investigator |
Deep problem analysis |
research-specialist |
Technical research |
article-writer-multi-platform |
Multi-platform content |
lead-research-assistant |
Lead qualification |
Execute health workflows directly without spawning orchestrator agents. All skills include Beads integration for issue tracking.
| Skill | Invocation | Purpose | Version |
|---|---|---|---|
health-bugs |
/health-bugs |
Bug detection & fixing with history enrichment | 3.1.0 |
security-health-inline |
/health-security |
Security vulnerability scanning & fixing | 3.0.0 |
deps-health-inline |
/health-deps |
Dependency audit & update | 3.0.0 |
cleanup-health-inline |
/health-cleanup |
Dead code detection & removal | 3.0.0 |
reuse-health-inline |
/health-reuse |
Code duplication consolidation | 3.0.0 |
Professional-grade domain expertise:
| Skill | Expertise |
|---|---|
code-reviewer |
TypeScript, Python, Go, Swift, Kotlin review |
senior-devops |
CI/CD, containers, cloud, infrastructure |
senior-prompt-engineer |
LLM optimization, RAG, agents |
ux-researcher-designer |
User research, personas |
ui-design-system |
Design tokens, components |
systematic-debugging |
Root cause analysis |
| Skill | Purpose |
|---|---|
validate-plan-file |
JSON schema validation |
validate-report-file |
Report completeness |
run-quality-gate |
Type-check/build/tests |
calculate-priority-score |
Bug/task prioritization |
setup-knip |
Configure dead code detection |
rollback-changes |
Restore from changes log |
| Skill | Purpose |
|---|---|
generate-report-header |
Standardized report headers |
generate-changelog |
Changelog from commits |
format-markdown-table |
Well-formatted tables |
format-commit-message |
Conventional commits |
format-todo-list |
TodoWrite-compatible lists |
render-template |
Variable substitution |
| Skill | Purpose |
|---|---|
parse-git-status |
Parse git status output |
parse-package-json |
Extract version, deps |
parse-error-logs |
Parse build/test errors |
extract-version |
Semantic version parsing |
| Skill | Purpose |
|---|---|
algorithmic-art |
Generative art with p5.js |
canvas-design |
Visual art in PNG/PDF |
theme-factory |
Theme styling for artifacts |
artifacts-builder |
Multi-component HTML artifacts |
webapp-testing |
Playwright testing |
frontend-aesthetics |
Distinctive UI design |
| Skill | Purpose | Version |
|---|---|---|
process-logs |
Automated error log processing with Beads integration | 1.8.0 |
process-issues |
GitHub Issues processing with similar issue search | 1.1.0 |
| Skill | Purpose |
|---|---|
git-commit-helper |
Commit message from diff |
changelog-generator |
User-facing changelogs |
content-research-writer |
Research-driven content |
lead-research-assistant |
Lead identification |
| Command | Purpose |
|---|---|
/health-bugs |
Bug detection and fixing workflow |
/health-security |
Security vulnerability scanning |
/health-deps |
Dependency audit and updates |
/health-cleanup |
Dead code detection and removal |
/health-reuse |
Code duplication elimination |
/health-metrics |
Monthly ecosystem health report |
Example:
/health-bugs
# Scans β Categorizes β Fixes by priority β Validates β Reports
| Command | Purpose |
|---|---|
/speckit.analyze |
Analyze requirements |
/speckit.specify |
Generate specifications |
/speckit.clarify |
Ask clarifying questions |
/speckit.plan |
Create implementation plan |
/speckit.implement |
Execute implementation |
/speckit.checklist |
Generate QA checklist |
/speckit.tasks |
Break into tasks |
/speckit.constitution |
Define project constitution |
/speckit.taskstoissues |
Convert tasks to GitHub issues |
| Command | Purpose |
|---|---|
/beads-init |
Initialize Beads in project |
/speckit.tobeads |
Import tasks.md to Beads |
| Command | Purpose |
|---|---|
/onboard [rig-name] |
Connect project to Gastown (one-time setup) |
/work [--agent|--ab|--all] "task" |
Dispatch task to AI polecat |
/status |
Show convoys, agents, pending tasks |
/upgrade [gt|bd|all] |
Safely upgrade Gastown/Beads binaries |
| Command | Purpose |
|---|---|
/process-logs |
Automated error log processing and fixing |
/push [patch|minor|major] |
Automated release with changelog |
/worktree |
Git worktree management |
/translate-doc |
Translate documentation (ENβRU) |
No more manual switching! The kit uses a single .mcp.json with automatic optimization.
.mcp.json) contains all MCP servers.claude/settings.json:{
"env": { "ENABLE_TOOL_SEARCH": "auto:5" }
}
| Server | Purpose | Tools |
|---|---|---|
| Context7 | Up-to-date library documentation | resolve-library-id, query-docs |
| Sequential Thinking | Structured reasoning for complex tasks | sequentialthinking |
| Supabase | Database operations, migrations, RLS | Tables, SQL, migrations, edge functions |
| Playwright | Browser automation & testing | Screenshots, navigation, form filling |
| shadcn/ui | UI component library integration | Registry search, component examples |
| Serena | Semantic code analysis (LSP) | Symbol search, references, refactoring |
Set in .env.local for Supabase integration:
SUPABASE_PROJECT_REF=your-project-ref
SUPABASE_ACCESS_TOKEN=your-token
.claude/settings.jsonProject-level Claude Code configuration for enhanced workflow:
{
"plansDirectory": "./docs/plans",
"env": {
"ENABLE_TOOL_SEARCH": "auto:5"
}
}
| Setting | Value | Purpose |
|---|---|---|
plansDirectory |
./docs/plans |
Where Claude saves implementation plans when using Plan Mode |
ENABLE_TOOL_SEARCH |
auto:5 |
Auto-enables deferred MCP tool loading for servers with >5 tools |
docs/plans/ for version control and reviewReady-to-use prompts for setting up various features in your project. Copy, paste, and let Claude Code do the work.
| Prompt | Description |
|---|---|
setup-health-workflows.md |
Health workflows with Beads integration (/health-bugs, /health-security, etc.) |
setup-error-logging.md |
Complete error logging system with DB table, logger service, auto-mute rules |
# 1. Install Beads CLI
npm install -g @anthropic/beads-cli
# 2. Initialize in your project
bd init
# 3. Run in Claude Code
/health-bugs
How to Use:
See prompts/README.md for full documentation.
claude-code-orchestrator-kit/
βββ .claude/
β βββ agents/ # 39 AI agents
β β βββ health/ # Bug, security, deps, cleanup
β β βββ development/ # LLM, TypeScript, utilities
β β βββ testing/ # Integration, performance, mobile
β β βββ database/ # Supabase, API, architecture
β β βββ infrastructure/ # Qdrant, deployment, orchestration
β β βββ frontend/ # Next.js, visual effects
β β βββ meta/ # Agent/skill creators
β β βββ research/ # Problem investigation
β β βββ documentation/ # Technical writing
β β βββ content/ # Article writing
β β βββ business/ # Lead research
β β
β βββ skills/ # 37 reusable skills
β β βββ bug-health-inline/ # Inline orchestration
β β βββ code-reviewer/ # Senior expertise
β β βββ validate-plan-file/ # Validation utilities
β β βββ ...
β β
β βββ commands/ # 25 slash commands
β β βββ health-*.md # Health monitoring
β β βββ speckit.*.md # SpecKit workflow
β β βββ work.md # Gastown: dispatch tasks
β β βββ status.md # Gastown: show status
β β βββ upgrade.md # Gastown: safe upgrade
β β βββ onboard.md # Gastown: connect project
β β βββ ...
β β
β βββ templates/ # Instruction file templates
β β βββ CLAUDE.md # Claude Code template
β β βββ AGENTS.md # Codex template
β β βββ GEMINI.md # Gemini template
β β
β βββ schemas/ # JSON schemas
β βββ scripts/ # Quality gate scripts
β
βββ mcp/ # Legacy MCP configs (reference only)
β βββ ...
β
βββ prompts/ # Ready-to-use setup prompts
β βββ README.md
β βββ setup-error-logging.md
β
βββ docs/ # Documentation
β βββ FAQ.md
β βββ ARCHITECTURE.md
β βββ TUTORIAL-CUSTOM-AGENTS.md
β βββ ...
β
βββ .mcp.json # Unified MCP configuration
βββ CLAUDE.md # Behavioral Operating System
βββ package.json # npm package config
# Run complete bug detection and fixing
/health-bugs
# What happens:
# 1. Pre-flight validation
# 2. Bug detection (bug-hunter agent)
# 3. Quality gate validation
# 4. Priority-based fixing (critical β low)
# 5. Quality gates after each priority
# 6. Verification scan
# 7. Final report
# Invoke code-reviewer skill
/code-reviewer
# Provides:
# - Automated code analysis
# - Best practices checking
# - Security scanning
# - Review checklist
# Auto-detect version bump
/push
# Or specify type
/push minor
# Actions:
# 1. Analyze commits since last release
# 2. Bump version in package.json
# 3. Generate changelog entry
# 4. Create git commit + tag
# 5. Push to remote
# Create worktrees
/worktree create feature/new-auth
/worktree create feature/new-ui
# Work in parallel
cd .worktrees/feature-new-auth
# ... changes ...
# Cleanup when done
/worktree cleanup
The kit automatically optimizes context usage β no configuration needed:
/health-bugs # Monday
/health-security # Tuesday
/health-deps # Wednesday
/health-cleanup # Thursday
/health-metrics # Monthly
Before writing code >20 lines, search for existing libraries:
# Never commit .env.local
echo ".env.local" >> .gitignore
go version)go install github.com/steveyegge/gastown/cmd/gt@latest
go install github.com/steveyegge/beads/cmd/bd@latest
gt init ~/gt
gt daemon enable-supervisor
systemctl --user start gastown-daemon
loginctl enable-linger $USER # Auto-start on boot
The default gt daemon enable-supervisor template does NOT include PATH. You must add Environment lines manually:
# Edit the service file
nano ~/.local/share/systemd/user/gastown-daemon.service
Add under [Service]:
Environment="GT_TOWN_ROOT=/home/YOUR_USER/gt"
Environment="GT_ROOT=/home/YOUR_USER/gt"
Environment="PATH=/home/YOUR_USER/go/bin:/home/YOUR_USER/.local/bin:/usr/local/bin:/usr/bin:/bin"
Environment="HOME=/home/YOUR_USER"
Then reload and restart:
systemctl --user daemon-reload
systemctl --user restart gastown-daemon
Configure Dolt management in ~/gt/mayor/daemon.json:
{
"heartbeat": { "enabled": true, "interval": "3m" },
"patrols": {
"dolt_server": {
"enabled": true,
"port": 3307,
"host": "127.0.0.1",
"user": "root",
"data_dir": "/home/YOUR_USER/gt/.dolt-data",
"log_file": "/home/YOUR_USER/gt/daemon/dolt-server.log",
"auto_restart": true
},
"deacon": { "enabled": true, "interval": "5m", "agent": "deacon" },
"refinery": { "agent": "refinery", "enabled": true, "interval": "5m", "rigs": [] },
"witness": { "agent": "witness", "enabled": true, "interval": "5m", "rigs": [] }
},
"type": "daemon-patrol-config",
"version": 1
}
Important: time.Duration fields like health_check_interval must be integers (nanoseconds) in Go, NOT strings like "30s". Omit them to use defaults (30 seconds).
Run /onboard from your project directory in Claude Code:
/onboard
This will:
gt rig add <name> <path> β auto-provisions 30+ componentsdaemon.json β adds project to witness/refinery patrolsgt doctor --fix β diagnoses and auto-fixes issues/work, /status, /upgrade, /onboardCLAUDE.md, AGENTS.md, GEMINI.md# Give task to AI agent
/work "Fix the login validation bug"
# Check progress
/status
# Use specific runtime
/work --agent codex "Refactor auth module"
# A/B test: same task to 2 agents
/work --ab "Optimize database queries"
# Find available tasks
bd ready
# Visual dashboard
gt dashboard --open
| Problem | Diagnosis | Solution |
|---|---|---|
| Daemon not starting | systemctl --user status gastown-daemon |
Check PATH in service file |
| Dolt unreachable | gt dolt status |
Restart daemon, check daemon.json |
| Doctor failures | gt doctor --fix --rig <name> |
Auto-fixes most issues |
| Polecat stuck | gt convoy list |
gt convoy cancel <id> |
/upgrade # Upgrade both gt and bd
/upgrade gt # Upgrade Gastown only
/upgrade bd # Upgrade Beads only
The /upgrade command handles the full cycle: stop daemon, upgrade binaries, verify service file, check daemon.json, restart, run doctor.
| Document | Description |
|---|---|
| FAQ | Frequently asked questions |
| Architecture | System design diagrams |
| Tutorial: Custom Agents | Create your own agents |
| Use Cases | Real-world examples |
| Performance | Token optimization |
| Migration Guide | Add to existing projects |
| Commands Guide | Detailed command reference |
.claude/agents/{category}/workers/.claude/skills/{skill-name}/SKILL.md following format.mcp.jsonCommands /speckit.* adapted from GitHub's SpecKit.
Beads issue tracking integration adapted from Steve Yegge's Beads.
/beads-init, /speckit.tobeads.beads-templates/ directory with 8 workflow formulasMulti-agent orchestration integration from Steve Yegge's Gastown.
/onboard, /work, /status, /upgrade.claude/templates/ directory with instruction files for all runtimesBuilt with:
Igor Maslennikov
MIT License - see LICENSE file.
Star this repo if you find it useful!