A hardened OpenClaw skill for multi-model council reviews.
It dispatches independent reviewers, collects structured JSON, and applies a
mechanical synthesis protocol so the final verdict is driven by votes and
critical findings — not orchestrator vibes.
Primary entrypoint: bash skills/council-v2/scripts/council.sh review
Use when a single model reviewing its own work is not enough:
Do not use for:
Two tiers are supported:
Use Standard when: routine code changes, internal plans, reversible decisions,
low blast radius. Use Full when: security-critical, production-facing architecture,
irreversible commitments, high cost of being wrong, or when you want maximum coverage.
When in doubt, start Standard. Escalate to Full if the Standard result is split or
if critical findings surface that need more perspectives.
Full Council runs 5 model calls instead of 3. That is ~1.7x the token cost of Standard.
Use Full when the cost of a bad decision exceeds the cost of the extra API calls —
which for security, architecture, and irreversible choices, it almost always does.
Detailed role composition and synthesis rules live in:
references/review-types.mdreferences/role-prompts.mdreferences/synthesis-rules.md| Type | Typical use |
|---|---|
| ------ | ------------- |
code | Source files, scripts, patches, PR diffs |
plan | Proposals, project plans, rollout plans |
architecture | Systems design, infra decisions, workflows |
decision | A/B/C choices with tradeoffs |
Definitions: references/review-types.md
# Standard code review
bash skills/council-v2/scripts/council.sh review code src/auth.py
# Force full plan review
bash skills/council-v2/scripts/council.sh review plan proposal.md --tier full
# Architecture review from stdin
cat design.md | bash skills/council-v2/scripts/council.sh review architecture --tier full
# Decision review with options
bash skills/council-v2/scripts/council.sh review decision options.md --options "SQLite,Postgres,Cloud SQL"
# Emit orchestration plan as JSON
bash skills/council-v2/scripts/council.sh review code src/auth.py --format json
references/role-prompts.mdsessions_spawnpython3 scripts/synthesize.py ...The synthesizer returns structured JSON and a meaningful exit code:
| Exit code | Meaning | What to do |
|---|---|---|
| ----------- | --------- | ------------ |
0 | Approve — clear majority, no criticals | Ship it |
1 | Reject or Blocked — majority rejected or a critical finding blocked | Address the critical findings or rethink the approach |
2 | Approve with conditions — mixed or conditional majority | Fix the flagged conditions, then re-review or proceed with documented risk |
3 | Error — invalid input or synthesis failure | Check reviewer JSON for malformed output; see error handling below |
synthesize.py validates every reviewer output against required fields. If a reviewer
returns malformed JSON, synthesis exits with code 3 and prints an error message.
What to do:
If a provider fails to respond, the review set will be incomplete. Run synthesis on
whatever outputs you have — a 2-of-3 Standard review is still useful. Note the missing
reviewer in your assessment.
Override any model at the command line:
bash skills/council-v2/scripts/council.sh review code src/auth.py \
--opus claude-sonnet-4 \
--gpt gpt-4.1 \
--grok grok-3
Available flags: --opus, --gpt, --grok, --deepseek, --gemini
The council's value comes from **different providers with different training data and
different biases** reviewing the same decision. The specific model versions (Opus,
GPT-5.4, Grok 4, etc.) matter less than the diversity. Swap in whatever top-tier
models you have access to — what matters is that they are not all from the same
provider.
scripts/retro.sh generates a structured retrospective template for reviewing past
council decisions against actual outcomes.
# Review the 5 most recent decisions in a directory
bash skills/council-v2/scripts/retro.sh ./council-outputs/ 5
Run monthly, or after any decision where the outcome surprised you. The retro surfaces:
Feed retro findings back into references/role-prompts.md to calibrate the council.
bash, python3, and OpenClaw reviewer dispatch capabilityreferences/synthesis-rules.mdreferences/review-types.md — review type definitions and tier recommendationsreferences/role-prompts.md — reviewer role prompts and shared output instructionsreferences/schema.md — JSON schemas for reviewer output and synthesis outputreferences/synthesis-rules.md — mechanical synthesis protocol and edge cases共 1 个版本