Use when reviewing content, strategy, or code with parallel specialized reviewers
From second-claude-codenpx claudepluginhub unclejobs-ai/second-claude-code --plugin second-claude-codeThis skill uses the workspace's default tool permissions.
gotchas.mdreferences/consensus-gate.mdDesigns and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
mmbridge failure NEVER blocks the pipeline.
Run parallel reviewers with distinct roles, then merge their findings through a consensus gate.
| Reviewer | Model | Focus |
|---|---|---|
deep-reviewer | opus | logic, structure, completeness |
devil-advocate | sonnet | weakest points and blind spots |
fact-checker | sonnet | claims, numbers, sources |
tone-guardian | haiku | voice and audience fit |
structure-analyst | haiku | organization and readability |
| Preset | Reviewers | MMBridge |
|---|---|---|
content | deep-reviewer + devil-advocate + tone-guardian | — |
strategy | deep-reviewer + devil-advocate + fact-checker | — |
code | deep-reviewer + fact-checker + structure-analyst | — |
security | deep-reviewer + fact-checker + structure-analyst | mmbridge security (via --external) |
academic | deep-reviewer + fact-checker + structure-analyst + devil-advocate | — |
quick | devil-advocate + fact-checker | — |
full | all 5 reviewers | — |
The security preset activates security-focused review with optional mmbridge security integration.
When --external is set and mmbridge is detected, mmbridge security runs in parallel with internal reviewers. Consistent with all other presets — --external is always opt-in.
mmbridge security --scope <scope> --json > /tmp/mmbridge-security-${RUN_ID}.json
Option passthrough:
--scope: /scc:review --preset security --scope auth → mmbridge security --scope auth (default: all)--compliance: /scc:review --preset security --compliance GDPR,SOC2 → mmbridge security --compliance GDPR,SOC2mmbridge security uses CWE classification. Map to internal severities per references/mmbridge-integration.md § Severity Mapping.
mmbridge security counts as 1 additional voter (same as --external for other presets):
The academic preset activates academic-focused review for research papers, theses, dissertations, and scholarly articles.
--citation-style: /scc:review --preset academic --citation-style APA (default: APA, accepts APA, MLA, Chicago)Uses 4 reviewers (same gate logic as other presets):
--external: 3/5 pass (4 internal + 1 external)Every reviewer MUST structure their output according to references/critic-schema.md. Each review must include:
APPROVED | MINOR FIXES | NEEDS IMPROVEMENT | MUST FIX0.0 to 1.0 per the scale in references/critic-schema.mdUnstructured prose output is not accepted. Each reviewer emits the ## Critic Output block defined in references/critic-schema.md.
Score-based consensus (primary gate):
>= 0.7 AND no Critical findings from any reviewerMUST FIX regardless of average score or threshold countVote-count gate (secondary gate, used when score-based gate passes):
content, strategy, code): pass with 2/3 approvalsacademic): pass with 3/4 approvalsquick): pass only with 2/2 unanimous approvalfull): pass with 3/5 approvalsFinal verdicts: APPROVED, MINOR FIXES, NEEDS IMPROVEMENT, MUST FIX
NEEDS IMPROVEMENT = threshold not met but no Critical findings (substantive rework needed)Score tracking: store per-reviewer scores in the review aggregation block for cycle comparison. See references/consensus-gate.md for the aggregation format.
Three levels: Critical (ship-blocking), Major (significant gap), Minor (polish). See references/consensus-gate.md for detailed criteria and examples.
See references/consensus-gate.md for the full deduplication protocol. Key rule: severity conflicts use the higher severity with a noted disagreement.
Each finding MUST include all four fields: location, severity, description, and fix suggestion.
# Review Report
## Verdict: {APPROVED | MINOR FIXES | NEEDS IMPROVEMENT | MUST FIX}
Consensus: {X}/{Y}
## Score Aggregation
| Reviewer | Score | Verdict |
|----------|-------|---------|
| {reviewer-name} | {0.00} | {APPROVED \| MINOR FIXES \| NEEDS IMPROVEMENT \| MUST FIX} |
| **Average** | **{0.00}** | — |
## Findings
### Critical
- **[reviewer(s)]** `{file:line | Section > Subsection | paragraph N}` — {description with evidence} → **Fix:** {specific actionable suggestion}
### Major
- **[reviewer(s)]** `{location}` — {description} → **Fix:** {specific suggestion}
### Minor
- **[reviewer(s)]** `{location}` — {description} → **Fix:** {specific suggestion}
Format rules:
file:line for code, Section > Subsection or paragraph N for prose.[reviewer(s)] tag.When mmbridge is detected (see references/mmbridge-integration.md) and the review has completed, offer the user an annotated diff view.
code and security presets (diff annotation is most useful for code)content, strategy, academic, or quick presetsmmbridge diff --base-ref <base> > /tmp/mmbridge-diff-${RUN_ID}.md
--base-ref: use the same base ref as the review (default: HEAD~1)--tool kimi: filter to show only findings from a specific tool (optional)Present the annotated diff to the user as supplementary output after the Review Report. The diff shows exactly which lines each finding maps to, making it easier to act on review feedback.
This is a display enhancement only — it does not affect the consensus gate or verdict.
| Flag | Values | Default | Description |
|---|---|---|---|
--preset | content|strategy|code|security|academic|quick|full | content | |
--threshold | number | 0.67 | |
--strict | flag | off | |
--external | flag | off | |
--team-review | flag | off | |
--scope | auth|api|infra|all | all | Security audit scope (security preset only) |
--compliance | GDPR,SOC2,HIPAA,PCI-DSS | — | Compliance frameworks (security preset only) |
--citation-style | APA|MLA|Chicago | APA | Citation style guide (academic preset only) |
When --team-review is set, the standard parallel dispatch is replaced by an Agent Team with deliberation:
average score >= 0.7, no Critical findings).When --external is set, dispatch a cross-model review in parallel with internal reviewers. The external review counts as 1 additional voter in the consensus gate.
For mmbridge detection, invocation, error handling, and timeout rules, see references/mmbridge-integration.md.
When mmbridge is detected:
mmbridge review --tool kimi --mode review --stream --export /tmp/mmbridge-review-${RUN_ID}.md
Use --tool kimi (most reliable). Avoid --tool all (known race condition in concurrent writes).
When mmbridge is not found, check for standalone CLIs (kimi, codex, gemini). If found, delegate to the corresponding agent definition (e.g., kimi-reviewer). If none found, silently skip --external.
references/mmbridge-integration.md § Severity Mapping.--external.references/consensus-gate.md.fact-checker cannot claim verification without source URLs.--depth deep PDCA cycles or final-pass full preset reviews. Standard review is the default for all other cases.deep-reviewer: { model: opus, constraint: "cite exact sections or lines" }
devil-advocate: { model: sonnet, constraint: "attack exactly 3 weak points when applicable" }
fact-checker: { model: sonnet, tools: [WebSearch, WebFetch], constraint: "include URLs for verified claims" }
tone-guardian: { model: haiku, constraint: "check voice against guide and audience; if .data/soul/SOUL.md exists, include its ## Tone Rules and ## Anti-Patterns sections as primary voice criteria" }
structure-analyst: { model: haiku, constraint: "check flow, hierarchy, and redundancy" }