/moskills:council-loop runs instead · from moskills
Iterative multi-model review loop across different AI providers that convenes a council of delegate models, collects structured findings, fixes issues minimally, and loops until all reviewers agree on correctness.
This skill never runs in Claude Code
It ships in moskills at templates/, but /moskills:council-loop (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Primary goal: A code change leaves the loop with every reviewer approving, or with the open disagreement escalated to the user.
Scope & Baseline -> Convene Council (Parallel Dispatch) -> Triage Findings & Run Checks -> Loop Delta Until Agreement -> Consensus Report
VERDICT: APPROVE (or score 9+/10 with zero open blockers/shoulds). A round returning only nits or stylistic comments ends the loop without a new round.git status --short. Verify working directory state. Do not include unrelated or unstaged files from other work.gh pr view <pr> --json baseRefName,headRefOid. Confirm HEAD matches or is cleanly ahead. Base: git merge-base HEAD origin/<baseRefName>.git merge-base HEAD origin/<default-branch>. If no remote exists, use default branch or HEAD for uncommitted changes.run-state wrap or project test command). Ensure existing tests pass before convening the council; never ask delegates to review code broken by syntax or failing pre-checks.Bring in three reviewer delegates from three distinct AI model providers at high reasoning effort (unless the user names the council models). Pick each provider's strongest reasoning model from what the platform reports at run time; never hard-code model names.
orchestrator_capabilities once to discover available providers and models.delegate_task (role: "review", mode: "async"). Keep the taskId and assign a unique clientRequestId per delegate per round. Wait for completion events instead of polling task_status or sleeping.command -v <cli>, and find the read-only or sandbox flag in its --help. Keep each delegate's ID or session for follow-up rounds.Providers: <N> of 3 in the report. Never count two delegates on the same provider as different providers.Provide each council delegate with this explicit brief:
Review only. Do not edit files, commit, push, comment on PRs, or start subagents.
Repo: <absolute_path>
Base commit: <base_sha>
Diff command: git diff <base_sha> [-- <scoped_paths>]
Intent: <intent_summary>
Out of scope: <out_of_scope_summary>
Pre-check status: <checks_output_summary>
Instructions:
1. Inspect git diff <base_sha> and git status --short for untracked files.
2. Read surrounding code to understand context, callers, and invariants.
3. Identify real bugs, logic errors, regressions, broken callers, and mismatches with intent.
4. Ignore style, formatting, or cosmetic naming unless it conceals a defect.
5. Flag unnecessary complexity, unused helpers, or guards not required by intent.
6. Severity definitions:
- blocker: Intended behavior broken, regression, security or data loss vulnerability.
- should: Real bug or edge case callers will hit in production within intent scope.
- nit: Style preference, speculative future-proofing, or low-impact polish outside core intent.
Reply format:
VERDICT: APPROVE or CHANGES
SCORE: <N>/10
FINDINGS:
- [D<index>-<id>] [blocker|should|nit] <file>:<line>: <claim>. Fix: <recommendation>
(If no findings, state: "FINDINGS: None")
When delegate responses arrive, the driving agent acts as the Council Chair:
Start a subsequent round only if:
CHANGES with an open blocker or should, or fixes modified behavioral logic.For Round 2+:
git diff <previous_head> HEAD).[D<index>-<id>] RESOLVED: <brief explanation of fix>[D<index>-<id>] DISAGREED: <evidence/reason>[D<index>-<id>] DECLINED (NIT/OUT OF SCOPE): <reason>Record the council review outcome. If a PR is open, put this table in the PR description, above the model/harness signature. Otherwise, record it under Validation History in .claude/STATE.md and in the final summary:
## Council review
Rounds: 2
Providers: 3 of 3
Status: Consensus Reached
| Delegate | Provider | Model | Round 1 | Round 2 | Final Verdict |
| --- | --- | --- | --- | --- | --- |
| Delegate 1 | Anthropic | <model id as reported> | 7/10 (CHANGES) | 9/10 (APPROVE) | Approved |
| Delegate 2 | OpenAI | <model id as reported> | 8/10 (CHANGES) | 10/10 (APPROVE) | Approved |
| Delegate 3 | Google | <model id as reported> | 7/10 (CHANGES) | 9/10 (APPROVE) | Approved |
### Findings Ledger
- [D1-1] [blocker] auth.ts:42 Session expiry unhandled -> Resolved: added expiry check.
- [D2-1] [should] cache.ts:15 Key collision on null -> Resolved: sanitized key generation.
- [D3-1] [nit] utils.ts:88 Suggests extra helper -> Declined: out of scope, inline code is clear.
no score. Never invent scores.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mouad1/moskills --plugin moskills18 skills in this plugin
/align-intentUse when: requirements, scope, inputs, outputs, success criteria, or non-goals are unclear before coding or starting a new feature./checkpointUse when: recording progress, Git deltas, evidence, blockers, and next actions after meaningful work or before a context change./compress-inputUse when: user asks for compressed communication, lite/full/ultra/wenyan brevity, short answers, low-noise updates, terse commits, terse PR review comments, or direct technical communication./design-systemUse when: a product with a UI needs consistent look and feel: choosing colors, type, spacing, the app shell (navigation, layout), a component list, or the layout and states of a screen; or when UI code drifts from agreed design values.Other plugins' skills for the same job