A setup that fans out code review to multiple AI coding agents in parallel (via counselors), then synthesizes and acts on the results — all from within Claude Code.
| File | Type | What it does |
|---|---|---|
counselors-skill.md |
Skill (~/.claude/skills/counselors/SKILL.md) |
General-purpose multi-agent dispatch — send any prompt to multiple agents and get a synthesized response |
deep-review-command.md |
Command (~/.claude/commands/deep-review.md) |
Opinionated code review workflow that uses counselors to review your current branch, then auto-fixes issues |
A general-purpose tool for getting multiple AI perspectives on any question:
- Gathers context — finds relevant files, git diffs, and related code
- Selects agents — defaults to
claude-opus,gemini-3-pro-preview,codex-5.3-high,amp-smart(customizable) - Assembles a structured prompt — writes it to
./agents/counselors/[timestamp]-[slug]/prompt.md - Dispatches in parallel — sends to all agents simultaneously via
counselors run - Synthesizes — reads all responses and presents consensus, disagreements, risks, and recommendations
- Offers action — asks what you'd like to address from the findings
Usage:
/counselors review the auth flow for security issues
/counselors is this database migration safe to run?
/counselors should we use SSR or CSR for this page?
A full code review pipeline built on top of counselors:
- Diffs your branch against
mainand reads all changed files - Builds a review prompt with an 8-category checklist (correctness, error handling, security, performance, architecture, state/data integrity, code quality, project guidelines)
- Dispatches to the
smartcounselors group — no agent selection step, just runs - Synthesizes findings into Critical / High / Medium / Low tables with file:line references
- Auto-fixes Critical and High issues, most Medium issues, skips Low
- Walks through remaining items one-by-one for your decision (fix / defer / skip)
- Self-learns — appends patterns to a learnings file so recurring issues get flagged earlier in future reviews
The severity escalation rules:
- If 2+ agents flag the same issue → bump severity up one level
- Security findings from any agent → always Critical
- Consensus findings → listed first within each severity
# Install counselors CLI
npm install -g counselors
# Initialize and add your agents
counselors init
counselors add # follow prompts to add claude, codex, gemini, etc.
# Create a "smart" group for deep-review (or use your default agents)
counselors group create smart
counselors group add smart claude-opus gemini-3-pro-preview codex-5.3-high amp-smartmkdir -p ~/.claude/skills/counselors
cp counselors-skill.md ~/.claude/skills/counselors/SKILL.mdmkdir -p ~/.claude/commands
cp deep-review-command.md ~/.claude/commands/deep-review.mdThen use them from any project:
/counselors <your question>
/deep-review
/deep-review focus on the API layer
Both tools write their prompts and agent responses to ./agents/counselors/ in your project directory. Each run gets a timestamped directory:
./agents/counselors/
1770676882-auth-flow-review/
prompt.md # the prompt sent to all agents
claude-opus.md # claude's response
gemini-3-pro.md # gemini's response
codex-5.3-high.md # codex's response
amp-smart.md # amp's response
Add agents/ to your .gitignore — these are working files, not meant for version control.
After each review cycle, /deep-review appends to ~/.claude/deep-review-learnings.md:
- Which agents responded/failed
- Finding counts by severity
- Consensus vs single-agent findings
- False positives (items you skipped as non-issues)
- Recurring patterns across reviews
When a pattern appears in 3+ reviews, it gets promoted into the review prompt template so future reviews check for it explicitly.
- Change default agents: Edit the
Phase 2: Agent Selectionsection in the skill - Add review categories: Edit the
Phase 2: Build the Review Promptsection in deep-review - Change severity rules: Edit the
Phase 4: Read & Synthesize Resultssection in deep-review - Skip auto-fix: Remove or modify Phase 5 in deep-review if you prefer review-only