~ / rigs / yeisonrestrepo / code-conductor

yeisonrestrepo/code-conductor

A governance layer for Claude Code sessions: hooks that check an agent's commands before they run, a spec-first workflow, and project memory the next session reads.

↗ GitHub ★ 11 mit updated 8d ago project Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~6.1k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit yeisonrestrepo/code-conductor/.claude ./rig-code-conductor  # 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 yeisonrestrepo/code-conductor/skills/agent-delegation .claude/skills/agent-delegation
$ npx degit yeisonrestrepo/code-conductor/skills/code-simplifier .claude/skills/code-simplifier
$ npx degit yeisonrestrepo/code-conductor/skills/critical-review .claude/skills/critical-review
$ npx degit yeisonrestrepo/code-conductor/skills/memory-first .claude/skills/memory-first
$ npx degit yeisonrestrepo/code-conductor/skills/verbosity .claude/skills/verbosity
$ curl -fsSL --create-dirs -o .claude/agents/audit.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/audit.md
$ curl -fsSL --create-dirs -o .claude/agents/code.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/code.md
$ curl -fsSL --create-dirs -o .claude/agents/define-review.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/define-review.md
$ curl -fsSL --create-dirs -o .claude/agents/plan.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/plan.md
$ curl -fsSL --create-dirs -o .claude/agents/qa.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/qa.md
$ curl -fsSL --create-dirs -o .claude/agents/spec.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/.claude/agents/spec.md
$ curl -fsSL --create-dirs -o .claude/agents/audit.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/audit.md
$ curl -fsSL --create-dirs -o .claude/agents/code.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/code.md
$ curl -fsSL --create-dirs -o .claude/agents/define-review.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/define-review.md
$ curl -fsSL --create-dirs -o .claude/agents/plan.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/plan.md
$ curl -fsSL --create-dirs -o .claude/agents/qa.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/qa.md
$ curl -fsSL --create-dirs -o .claude/agents/spec.md https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/project-template/.claude/agents/spec.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Read|Write|Edit|create_file|write_file|Bash|Agent|SendMessage",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/pre-tool-use.mjs"
          },
          {
            "type": "command",
            "command": "node .claude/hooks/pre-tool-use.mjs"
          }
        ]
      }
    ]
  }
}

Skills (5)

Subagents (12)

auditVerify-band role of a /cc-orchestrate run. Reviews the item's changes statically against its spec and plan, read-only, and hands back build_executed with its findings. No shell. Dispatched only by /cc
codeBuild-band role of a /cc-orchestrate run. Implements one plan task inside the files it names, runs the run's recorded test command, and hands back build_executed. Dispatched only by /cc-orchestrate du
define-reviewReviewer in the Define band's review loop of a /cc-orchestrate run (FEAT-041). Checks a spec or plan against the checklist rows in its brief, read-only, and reports open rows in a fixed format. Not a
planDefine-band role of a /cc-orchestrate run. Writes the implementation plan for the approved spec under docs/superpowers/plans/ and hands back boundary_routed. No shell. Dispatched only by /cc-orchestra
qaVerify-band role of a /cc-orchestrate run. Re-runs the run's recorded test command as a non-author and hands back verify_pass only when the suite passes. No write tools. Dispatched only by /cc-orchest
specDefine-band role of a /cc-orchestrate run. Writes the spec for one backlog item under docs/superpowers/specs/ and hands back boundary_routed. No shell. Dispatched only by /cc-orchestrate during a run;
auditVerify-band role of a /cc-orchestrate run. Reviews the item's changes statically against its spec and plan, read-only, and hands back build_executed with its findings. No shell. Dispatched only by /cc
codeBuild-band role of a /cc-orchestrate run. Implements one plan task inside the files it names, runs the run's recorded test command, and hands back build_executed. Dispatched only by /cc-orchestrate du
define-reviewReviewer in the Define band's review loop of a /cc-orchestrate run (FEAT-041). Checks a spec or plan against the checklist rows in its brief, read-only, and reports open rows in a fixed format. Not a
planDefine-band role of a /cc-orchestrate run. Writes the implementation plan for the approved spec under docs/superpowers/plans/ and hands back boundary_routed. No shell. Dispatched only by /cc-orchestra
qaVerify-band role of a /cc-orchestrate run. Re-runs the run's recorded test command as a non-author and hands back verify_pass only when the suite passes. No write tools. Dispatched only by /cc-orchest
specDefine-band role of a /cc-orchestrate run. Writes the spec for one backlog item under docs/superpowers/specs/ and hands back boundary_routed. No shell. Dispatched only by /cc-orchestrate during a run;

Hooks (11)

eventmatcherruns
PreToolUseRead|Write|Edit|create_file|write_file|Bash|Agent|SendMessagenode .claude/hooks/pre-tool-use.mjs
PostCompact*bash -c 'h=".claude/hooks/post-compact.sh"; [ -f "$h" ] && bash "$h" || exit 0'
PostCompact*powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File ".claude/hooks/post-compact.ps1"
UserPromptSubmit*bash -c 'set +e; _dir="${PWD:-}"; _prev=""; _iters=0; while [ "$_dir" != "$_prev" ] && [ "$_iters" -lt 40 ]; do _h="$_dir/.claude/hooks/verbosity-remind.sh"; [ -f "$_h" ] && [ -r "$_h" ] && { bash "$_h"; exit $?; }; _prev="$_dir"; _dir="${_
UserPromptSubmit*bash -c 'set +e; _dir="${PWD:-}"; _prev=""; _i=0; while [ "$_dir" != "$_prev" ] && [ "$_i" -lt 40 ]; do _h="$_dir/.claude/hooks/context-guard.sh"; [ -f "$_h" ] && [ -r "$_h" ] && { CC_PROJECT_ROOT="$_dir" bash "$_h"; exit $?; }; _prev="$_di
PreToolUseRead|Write|Edit|create_file|write_file|Bash|Agent|SendMessagenode .claude/hooks/pre-tool-use.mjs
PostCompact*bash -c 'h=".claude/hooks/post-compact.sh"; [ -f "$h" ] && bash "$h" || exit 0'
PostCompact*powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File ".claude/hooks/post-compact.ps1"
UserPromptSubmit*bash -c 'set +e; _dir="${PWD:-}"; _prev=""; _iters=0; while [ "$_dir" != "$_prev" ] && [ "$_iters" -lt 40 ]; do _h="$_dir/.claude/hooks/verbosity-remind.sh"; [ -f "$_h" ] && [ -r "$_h" ] && { bash "$_h"; exit $?; }; _prev="$_dir"; _dir="${_
UserPromptSubmit*bash -c 'set +e; _dir="${PWD:-}"; _prev=""; _i=0; while [ "$_dir" != "$_prev" ] && [ "$_i" -lt 40 ]; do _h="$_dir/.claude/hooks/context-guard.sh"; [ -f "$_h" ] && [ -r "$_h" ] && { CC_PROJECT_ROOT="$_dir" bash "$_h"; exit $?; }; _prev="$_di
UserPromptSubmit*powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File ".claude/hooks/context-guard.ps1"

Slash commands (17)

/cc-implement/cc-init/cc-orchestrate/cc-plan/cc-resume/cc-spec/cc-debug/cc-docs/cc-implement/cc-init/cc-orchestrate/cc-plan/cc-refactor/cc-resume/cc-review/cc-spec/cc-test

Similar rigs

copied ✓