council

council is a command for Claude Code from sairam0424/MindForge. It costs 44 tokens per session (725 once invoked), scanned A, original, MIT.

A four-perspective review for difficult architecture decisions. An architect, skeptic, pragmatist, and critic each give a recommendation before a shared verdict is produced.

In plain words
What is it for?
Use it to ask a structured architecture question, compare the four positions, and review the consensus, verdict, and dissent.
Why use it?
It exposes competing concerns and makes ambiguous technical choices easier to evaluate.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sairam0424/mindforge/council
Clone the repo
git clone --depth 1 https://github.com/sairam0424/MindForge

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for council

README.md
[![agentmods](https://agentmods.dev/badge/commands/sairam0424/mindforge/council.svg)](https://agentmods.dev/commands/sairam0424/mindforge/council)
Your own site
<a href="https://agentmods.dev/commands/sairam0424/mindforge/council"><img src="https://agentmods.dev/badge/commands/sairam0424/mindforge/council.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.00725
Opus 5 $0.00022 $0.00362
Sonnet 5 $0.00009 $0.00145
Haiku 4.5 $0.00004 $0.00072

Measured yesterday against content hash 269db963ed79, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

council scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/mindforge/council.md · 84 lines

What it actually says

<execution_context> @bin/engine/council-runtime.js @bin/council-cli.js @.mindforge/engine/council/council-protocol.md @.mindforge/engine/council/council-templates.md </execution_context>

  1. Execute the council runtime by running:

    node bin/council-cli.js --id "<decision-id>" "<the full question>"
    
    • If no --id is provided, omit it (the runtime defaults to "council-latest").
    • The CLI outputs structured JSON to stdout and a human-readable summary to stderr.
    • Capture the JSON output for formatting.
  2. Parse the JSON result which has this shape:

    {
      "question": "...",
      "positions": [
        { "voice": "architect", "recommendation": "PROCEED|REVISE", "confidence": 0.0-1.0, "rationale": "..." },
        ...
      ],
      "consensus": 0.0-1.0,
      "verdict": "PROCEED|REVISE|NO_CONSENSUS",
      "dissent": [...]
    }
    
  3. Present the structured result to the user in this format:

    Council Verdict

    Question:

    Positions

    For each position:

    • [VOICE] — (confidence: <N.NN>)
    Consensus: <X.X%>
    Verdict: <PROCEED / REVISE / NO_CONSENSUS>

    If NO_CONSENSUS — show the full dissent split (all voices with their stances). If PROCEED or REVISE — show only the dissenting voices.

  4. Decision record — The runtime automatically writes the decision to .planning/decisions/council-<id>.json. Confirm the file path to the user.

  5. Log council invocation in AUDIT with: decision, voices, consensus, verdict.

  6. Remind user: "Council is advisory — you have final say."

Exit codes from the CLI:

  • 0 = PROCEED
  • 1 = REVISE
  • 2 = NO_CONSENSUS
  • 3 = Error (show the error message)

If the CLI fails (exit code 3 or missing API keys), fall back to the prose-based council protocol: run the debate manually using the 4 voice personas and synthesize a verdict using the consensus algorithm (mean approval signal where PROCEED contributes confidence and REVISE contributes 1-confidence; threshold 0.75).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 84 lines · 44 tokens per session scan A 269db963ed79

Subscribe to this mod's changes

council is a command published in the GitHub repository sairam0424/MindForge (0 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 725 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.