Convene a council on one read-only question about the repository — the same prompt put to several independent agents on different models in parallel (by default Opus, Fable, and Codex on gpt-6-astra), each blind to the others, then merged in this session into one answer with every claim's agreement counted and every contradiction settled against the code. The argument is a question, passed to the seats verbatim, or an instruction that points the council at this conversation ("validate what we...
$npx -y skills add miguelbacalhau/orca --skill council --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Council?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/miguelbacalhau-council)
---
description: Convene a council on one read-only question about the repository — the same prompt put to several independent agents on different models in parallel (by default Opus, Fable, and Codex on gpt-6-astra), each blind to the others, then merged in this session into one answer with every claim's agreement counted and every contradiction settled against the code. The argument is a question, passed to the seats verbatim, or an instruction that points the council at this conversation ("validate what we just worked out"), from which the session composes the question and a labelled context brief for the user's approval. Use for questions, investigations, and design critiques where a second and third opinion from a different model is worth the cost — "why does X happen", "what breaks if we change Y", "is this design sound". Never edits anything, never persists the result. The roster comes from the `council` key in `.orca/config` (orca:config); not part of a run.
args: <a question, or an instruction drawing on this conversation>
user-invocable: true
disable-model-invocation: true
---
# Orca: council
One question, several minds. Every seat gets the identical prompt in a fresh context and never sees another seat's answer; the council's diversity is its models, not its instructions. Then you — this session — merge what came back. The seats answer in evidence-anchored claims precisely so the merge is a matching and adjudication job, not a reading-of-three-essays job.
Read-only end to end: the seats can't write, Codex runs sandboxed read-only, and you write nothing to `.orca/` or the repository. The answer lives in this conversation; if the user wants it saved, they will say so.
## Step 1: The question
`<args>` is addressed to you, and it is one of two things. Decide which from the args alone — never from whether the conversation happens to be relevant:
- **A self-contained question** — it stands on its own without this conversation ("why does the retry loop skip item 3?"). It goes to the seats **verbatim** as `prompt`, with no brief: never paraphrase, expand, or "improve" it; a rewritten question gives the seats your framing instead of theirs. Continue to Step 2 without asking.
- **An instruction that draws on this conversation** — it refers back to it or asks for its context ("validate what we just worked out", "put the open question from earlier to the council, without our conclusions"). You compose the council's input from the conversation; see *Composing* below.
Empty `<args>` → ask for the question and stop. When the args read either way, treat them as a self-contained question — framing a cold question by accident is the failure this split exists to prevent.
A question that asks for changes ("implement…", "fix…", "refactor…") is outside the council's reach: the seats are read-only. Say so in one line and offer to put the read-only half to the council instead ("how should X be fixed?"); never strip the ask silently.
### Composing
You write two things, and the user's approval stands between them and the seats:
- **`prompt`** — the question the council answers. Carry the user's own words wherever the conversation has them; a question you phrase yourself is plain and neutral, never leading toward the answer the session reached.
- **`brief`** — the context the seats would otherwise lack, in three labelled parts:
- **The user's premises** — decisions and constraints the user stated, quoted where possible. The seats take these as given, so put nothing here the user did not say.
- **The session's conclusions** — one assertion per line, each with its `path:line` anchor, stated as claims under test, not as findings. Include them only when the instruction asks for validation; when it asks for the question alone ("without our conclusions"), leave this part out, so the seats answer blind.
- **Considered and rejected** — paths the discussion dropped, each with the reason, so a seat can reopen one the code supports.
It is a briefing, not a transcript: only what bears on the question, and never instructions to the seats about where to look or what to conclude. A brief with nothing in any part is omitted, not sent empty.
Show the user the composed `prompt` and `brief` together, then stop and wait. Convene only on their approval; when they correct either, apply the correction and show it again. The brief is the session framing its own work — the user's read is the check on it.
## Step 2: Seat the council
```bash
bash ${CLAUDE_PLUGIN_ROOT}/scripts/orca.sh council resolve
```
TAB-separated lines: `ROOT:` (the checkout the seats explore), `SOURCE:` (`pinned` from the config or `default`), one `MEMBER: <seat> <name> <kind> <model>` per sitting seat, a `DROPPED: <seat> <name> <reason>` per vacated astra seat, and — when a Codex seat sits — `SCRATCH:` (the astra courier's staging directory).
A typed `FAIL:` stops the council — translate it, never work around it:
- `NO_CODEX` — the pinned roster seats `astra` and Codex is missing or too old. Point at `/orca:doctor` to install it, or `/orca:config council=…` to drop the seat.
- `CODEX_UNUSABLE` — Codex is installed but unauthenticated or speaks the wrong `codex exec` interface; the detail names which. Point at `/orca:doctor`.
- Config errors (`PARSE_ERROR`, `BAD_COUNCIL`, …) — the config file is mangled; point at `/orca:config`.
- `NOT_GIT` — the council answers questions about a repository; there isn't one here.
## Step 3: Deliberate
Invoke the Workflow tool with `scriptPath: "${CLAUDE_PLUGIN_ROOT}/scripts/council.workflow.js"` — the substituted value is already absolute; never pass `~` or an unsubstituted variable — and:
```
args: { prompt, brief, root, members: [{ seat, name, kind, model }], pluginRoot, scratch }
```
`prompt` is the question from Step 1, `brief` the approved brief — omitted for a self-contained question, `root` the `ROOT:` value, `members` one object per `MEMBER:` line (seat as an integer, the rest verbatim), `pluginRoot` the substituted `${CLAUDE_PLUGIN_ROOT}`, and `scratch` the `SCRATCH:` value — omitted when there is none. Tell the user in one line who is sitting (and who was dropped, with the reason) while it runs. The workflow runs in the background: wait for its task notification, and never fabricate a seat's answer. The runId is throwaway — never persist or resume it.
It returns `{ members: [...] }` in seat order. Each has `status`:
- `ok` — a Claude seat's answer is inline as `result`; a Codex seat's is on disk at `artifact`. `Read` that file: it is Codex's own bytes, and you are the first to read them.
- `died` / `failed` (with `reason`) — the seat did not answer.
Fewer than two answers is not a council: say which seats failed and why, show the one answer that landed as that single seat's view (labelled as such), and offer to reconvene. Never relaunch on your own.
## Step 4: Merge
This is the judgment, and it is yours. Work only from what the seats returned plus the code you open to settle disputes.
- **Group** claims that assert the same thing, however differently worded. Similar is not same: two claims about the same function that reach different conclusions are a contradiction, not a group.
- **Count** each group's support as `n/N` over the seats that answered, naming them (`3/3 — opus, fable, astra`).
- **Settle contradictions against the code.** Open the cited evidence on both sides and say which holds, with the `path:line` that decides it. Unsettleable from the code → present both sides and what would decide it.
- **Weigh evidence, not votes.** An anchored `1/3` claim that checks out outranks an unanchored `3/3`. Never drop a single-seat claim for being outvoted; mark it unconfirmed, and check it when it matters to the answer.
- **Favor no seat** — including whichever model this session runs on. Seats are names in a count, not authorities.
- **Favor no brief.** With a brief, every one of the session's conclusions is your own position under test. Score each against the seats' claims — upheld, refuted, or unaddressed, with its count — and let a refutation that checks out in the code stand at `1/N`. Never settle a contradiction in the brief's favor without opening the evidence.
- **Spot-check** the claims the answer rests on before stating them as established; an anchor that does not say what the claim says is a finding about that seat's claim.
## Step 5: The answer
In this order, compact:
1. **Who sat** — one line: the seats that answered, any dropped or failed and why.
2. **The answer** — the direct answer to the question, synthesized from the merge; where the seats' summaries disagree, say so here, not only below.
3. **The brief, scored** — only when there was one with conclusions: each conclusion with upheld / refuted / unaddressed, its count and seats, and for a refutation the anchor that carries it. Say plainly when the council overturned what this conversation concluded.
4. **Claims** — grouped, strongest support and most consequential first, each with its count, seats, and the anchor that carries it. Unconfirmed single-seat claims marked as such.
5. **Contradictions** — each with how it was settled (or why it couldn't be).
6. **Open questions** — merged and deduplicated across the seats.
Then remove the scratch directory, if there was one: `rm -rf <SCRATCH>` — only the exact `SCRATCH:` path the resolve printed, never anything derived from it.
## Guidelines
- Never edit anything, and never write the result to a file unasked.
- The roster is configuration: `/orca:config council=opus,fable,astra` (2 to 5 seats from haiku, sonnet, opus, fable, astra; repeats allowed). Never reshuffle the seats yourself.
- A council costs every seat a full-depth exploration. It is worth it for questions where a wrong answer is expensive; say so briefly if the question is a one-line lookup, and convene anyway if the user wants it.