Skip to content
cccskills
FreePublished on GitHub

multi-model-verification

Parallel code verification using multiple models with severity classification

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Multi-Model Verification

Parallel code verification using multiple AI models for comprehensive quality assurance. Each model focuses on a different aspect, and results are aggregated with severity classification.

Background

Inspired by Pi Coding Agent Workflow Extension's multi-model verification pattern. Instead of a single reviewer, multiple models verify code simultaneously, each with specialized focus areas.

Verification Roles

ModelRoleFocus Areas
opusArchitecture ReviewerDesign patterns, separation of concerns, extensibility, security architecture
sonnetCode Quality ReviewerLogic correctness, error handling, edge cases, performance patterns
haikuStyle & Convention ReviewerNaming conventions, formatting, documentation, code organization

Severity Classification

SeverityDescriptionAction Required
CRITICALBugs, security vulnerabilities, data loss risksMust fix before merge
WARNINGCode smells, suboptimal patterns, missing error handlingShould fix, justify if skipped
INFOStyle suggestions, minor improvements, alternative approachesOptional improvement

Workflow

Prerequisites

  • Agent Teams enabled (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) for full parallel execution
  • Falls back to sequential Agent tool execution if Agent Teams unavailable

Execution Flow

  1. Input: File path(s) or diff to verify
  2. Spawn Parallel Reviewers:
    • Agent(opus) → Architecture & design review
    • Agent(sonnet) → Code quality & correctness review
    • Agent(haiku) → Style & convention review
  3. Collect Results: Each reviewer returns findings with severity
  4. Aggregate: Merge and deduplicate findings
  5. Report: Unified report sorted by severity

Agent Teams Mode

When Agent Teams is available, create a verification team:

TeamCreate("verification-team")
├── architect-reviewer (opus) → Architecture review
├── quality-reviewer (sonnet) → Code quality review
└── style-reviewer (haiku) → Style review

Members communicate findings via SendMessage for cross-cutting concerns.

Agent Tool Fallback

When Agent Teams is unavailable, spawn parallel agents:

[1] Agent(general-purpose):opus → Architecture review
[2] Agent(general-purpose):sonnet → Code quality review
[3] Agent(general-purpose):haiku → Style & convention review

Output Format

## Multi-Model Verification Report

### Summary
- Files reviewed: {count}
- Findings: {critical} CRITICAL, {warning} WARNING, {info} INFO
- Reviewers: opus (architecture), sonnet (quality), haiku (style)

### CRITICAL
[opus] {file}:{line} — {description}
[sonnet] {file}:{line} — {description}

### WARNING
[sonnet] {file}:{line} — {description}
[haiku] {file}:{line} — {description}

### INFO
[haiku] {file}:{line} — {description}

### Consensus
Issues flagged by 2+ reviewers:
- {file}:{line} — {description} (flagged by: opus, sonnet)

Integration

  • Works with dev-review skill as an enhanced verification mode
  • Integrates with structured-dev-cycle skill at the "Verify Implementation" stage
  • Compatible with R009 (parallel execution) and R018 (Agent Teams) rules

Configuration

ParameterDefaultDescription
models[opus, sonnet, haiku]Models to use for verification
severity_filterallMinimum severity to report (critical, warning, all)
consensus_threshold2Number of reviewers needed for consensus flag
include_suggestionstrueInclude INFO-level suggestions

When to Use

ScenarioRecommended
Pre-merge review of critical codeYes
Architecture changesYes
Security-sensitive codeYes
Simple formatting changesNo (use single reviewer)
Rapid prototypingNo (overhead too high)

Cost Awareness

Multi-model verification uses 3x the tokens of a single review. Reserve for:

  • Critical path code changes
  • Security-sensitive modifications
  • Architecture decisions
  • Pre-release verification

When spawning agents via the Agent tool during this skill's execution, always pass mode: "bypassPermissions". The Agent tool default (acceptEdits) overrides agent frontmatter permissionMode, causing permission prompts during unattended execution.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Apache Airflow best practices for DAG authoring, testing, and production deployment

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

See all skills by baekenough

Report a problem with this skill