~ / rigs / nwiizo / ccswarm

nwiizo/ccswarm

Multi-agent orchestration system using Claude Code with Git worktree isolation and specialized AI agents for collaborative development

↗ GitHub ★ 153 mit updated 25d ago project Claude CodeCodex
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~6.5k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit nwiizo/ccswarm/.claude ./rig-ccswarm  # 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.

$ npx degit nwiizo/ccswarm/.agents/skills/benchmark-runner .claude/skills/benchmark-runner
$ npx degit nwiizo/ccswarm/.agents/skills/check-impl .claude/skills/check-impl
$ npx degit nwiizo/ccswarm/.agents/skills/check-production-ready .claude/skills/check-production-ready
$ npx degit nwiizo/ccswarm/.agents/skills/deploy-workflow .claude/skills/deploy-workflow
$ npx degit nwiizo/ccswarm/.agents/skills/git-worktree .claude/skills/git-worktree
$ npx degit nwiizo/ccswarm/.agents/skills/hitl-approval .claude/skills/hitl-approval
$ npx degit nwiizo/ccswarm/.agents/skills/mutation-test .claude/skills/mutation-test
$ npx degit nwiizo/ccswarm/.agents/skills/review-all .claude/skills/review-all
$ npx degit nwiizo/ccswarm/.agents/skills/review-architecture .claude/skills/review-architecture
$ npx degit nwiizo/ccswarm/.agents/skills/review-duplicates .claude/skills/review-duplicates
$ npx degit nwiizo/ccswarm/.agents/skills/review-fix .claude/skills/review-fix
$ npx degit nwiizo/ccswarm/.agents/skills/rust-agent-specialist .claude/skills/rust-agent-specialist
$ curl -fsSL --create-dirs -o .claude/agents/all-reviewer.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/all-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/architecture-reviewer.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/architecture-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/backend-specialist.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/backend-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/code-refactor-agent.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/code-refactor-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/devops-specialist.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/devops-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-specialist.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/frontend-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-specialist.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/qa-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/review-fix-agent.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/review-fix-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/rust-fix-agent.md https://raw.githubusercontent.com/nwiizo/ccswarm/master/.claude/agents/rust-fix-agent.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(cargo publish*)",
      "Edit(.git/***)",
      "Edit(.env*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/validate-agent-scope.sh"
          }
        ]
      }
    ]
  }
}

Skills (12)

Subagents (9)

all-reviewer
model: sonnet
Integrated review agent. Reviews design compliance, code quality, and architecture patterns all at once. Used with /review-all skill.
architecture-reviewer
model: sonnet
Architecture pattern specialized review agent. Verifies compliance with Type-State, Channel-Based, Actor Model and other patterns. Used with /review-architecture skill.
backend-specialist
model: sonnet
Backend development specialist for APIs, databases, server logic, and authentication. Use this agent for REST/GraphQL APIs, database design, and server-side business logic.
code-refactor-agent
model: opus
Duplicate code detection and refactoring specialist. Uses similarity-rs for semantic similarity detection and performs refactoring based on DRY principle. USE PROACTIVELY after fixing build/clippy err
devops-specialist
model: sonnet
DevOps specialist for Docker, CI/CD, infrastructure, and deployment. Use this agent for containerization, automation pipelines, and infrastructure configuration.
frontend-specialist
model: sonnet
Frontend development specialist for React, Vue, UI/UX, CSS, and client-side development. Use this agent for all frontend-related tasks including component creation, styling, and user interface work.
qa-specialist
model: sonnet
QA specialist for testing, quality assurance, and test automation. Use this agent for writing tests, improving test coverage, and ensuring code quality.
review-fix-agent
model: opus
Code review + auto-fix agent. Reviews uncommitted changes for bugs, stale refs, duplication, and abstraction gaps — fixes actionable issues and verifies with clippy/tests.
rust-fix-agent
model: opus
Rust specialized build/clippy error fixing agent. Use when cargo build or cargo clippy errors occur. Makes practical fixes following YAGNI principle. USE PROACTIVELY when encountering Rust compilation

Hooks (4)

eventmatcherruns
PreToolUseEdit|Write.claude/hooks/validate-agent-scope.sh
PostToolUseEdit|Write.claude/hooks/format-code.sh
SubagentStop*.claude/hooks/audit-trail.sh
Stop*.claude/hooks/audit-trail.sh

Slash commands (6)

/check-impl/check-production-ready/mutation-test/review-all/review-architecture/review-duplicates

Permissions

deny (4)
Bash(rm -rf /)*
Bash(cargo publish*)
Edit(.git/***)
Edit(.env*)
ask (0)
—
allow (23)
Read
Glob
Grep
Bash(cargo *)
Bash(git status*)
Bash(git diff*)
Bash(git log*)
Bash(git branch*)
Bash(git worktree *)
Bash(ls *)
Bash(wc *)
Bash(similarity-rs *)
mcp__serena__*
Agent(Explore)
Agent(frontend-specialist)
Agent(backend-specialist)
Agent(devops-specialist)
Agent(qa-specialist)
Agent(rust-fix-agent)
Agent(code-refactor-agent)
Agent(architecture-reviewer)
Agent(all-reviewer)
Agent(review-fix-agent)

Similar rigs

copied ✓