Sandbox
@0xNyk/council-of-high-intelligence

Multi-agent decision protocol for Claude Code and Codex

This repo gives you a council-style deliberation workflow for hard choices. It routes the same question through different personas, keeps their first positions independent, cross-examines the disagreement, and then produces a verdict with unresolved issues and the next action. The protocol is mirrored for Claude Code, Codex, Gemini CLI, and OpenCode.

4,223 stars399 forksShellUpdated 10d ago
Who it's for

Builders who want their Claude Code, Codex, or Gemini CLI sessions to handle tough decisions with structured disagreement.

What it delivers

You can turn one hard question into a disciplined debate that surfaces tradeoffs, dissent, and a concrete next step.

What it does

Full, quick, and duo council modes

Run a full council, a faster panel, or a two-person dialectic with `/council`, `--quick`, and `--duo`.

Named triads and custom member sets

Pick focused lens sets like strategy, risk, shipping, or product, or choose specific members with `--members`.

Grounded persona contracts

Each council member has its own contract under `agents/` with a lens, blind spots, and response rules.

Cross-host installation

Install the same `/council` command across Claude Code, Codex, Gemini CLI, and OpenCode with `install.sh`.

Provider routing

Detect available providers, split opposing seats across models when possible, and preview routing with `--dry-route`.

Verdict and outcome tracking

The protocol captures unresolved questions, dissent, kill criteria, and follow-up checkpoints so decisions can be reviewed later.

How to get it

  1. 1Claude Code users can install the plugin directly
    /plugin marketplace add 0xNyk/council-of-high-intelligence
    /plugin install council@council-of-high-intelligence
  2. 2Then convene the full council, a faster panel, or a two-member dialectic
    /council Should we open-source our agent framework?
    /council --quick Should we add caching here?
    /council --duo Should we use microservices or a monolith?
  3. 3For Codex, Gemini CLI, or OpenCode, clone once and use the matching installer flag
    git clone https://github.com/0xNyk/council-of-high-intelligence.git
    cd council-of-high-intelligence
    
    ./install.sh --codex-only
    ./install.sh --gemini-only
    ./install.sh --opencode-only
  4. 4Run
    /council --full What is the right pricing model?
    /council --quick --triad shipping Should we release today?
    /council --duo --members torvalds,ada Is this abstraction worth it?
  5. 5Named triads select three relevant lenses without assembling the whole council
    /council --triad strategy Where is our defensible advantage?
    /council --triad risk What could make this launch irreversible?
    /council --triad ai-product Which capability belongs in the product?
  6. 6Preview routing without running a council
    /council --dry-route --triad decision Should we accept this acquisition offer?

README

Council of High Intelligence

Council of High Intelligence

Structured multi-perspective deliberation for decisions that deserve more than one reasoning path.

Lint Release License

Claude Code · Codex · Gemini CLI · OpenCode

The council assigns a hard question to deliberately different analytical personas, keeps their first positions independent, forces direct disagreement, and returns a verdict that preserves unresolved questions, dissent, kill criteria, and the next concrete action.

Try a council

Claude Code users can install the plugin directly:

/plugin marketplace add 0xNyk/council-of-high-intelligence
/plugin install council@council-of-high-intelligence

Then convene the full council, a faster panel, or a two-member dialectic:

/council Should we open-source our agent framework?
/council --quick Should we add caching here?
/council --duo Should we use microservices or a monolith?

For Codex, Gemini CLI, or OpenCode, clone once and use the matching installer flag:

git clone https://github.com/0xNyk/council-of-high-intelligence.git
cd council-of-high-intelligence

./install.sh --codex-only
./install.sh --gemini-only
./install.sh --opencode-only

Restart the target client after installation. The command remains /council on every supported host.

Use it for the decision boundary

Good council questions have material downside, competing values, incomplete evidence, or an irreversible choice. Write down the decision, constraints, evidence, reversibility, and deadline before adding personas.

Decision field notes

The field notes distinguish facts from inference, assumptions, and unknowns. They also make it harder to use a long deliberation as decoration for a decision already made.

When to use something smaller

  • Use a direct answer or primary documentation for factual lookups.
  • Run an experiment when the choice is cheap and reversible.
  • Use --quick when cross-examination will not change the outcome.
  • Use --duo when one tension matters more than broad coverage.
  • Do not convene a council to manufacture support for a preferred answer.

Choose a mode

ModeShapeUse it when
FullIndependent analysis, cross-examination, final stance, synthesisStakes are high and competing frames need contact
QuickRestate, rapid analysis, final positionsThe decision needs breadth but not a full adversarial round
DuoOpening positions, direct response, final statementsOne polarity defines the decision

Council mode selector

/council --full What is the right pricing model?
/council --quick --triad shipping Should we release today?
/council --duo --members torvalds,ada Is this abstraction worth it?

Named triads select three relevant lenses without assembling the whole council:

/council --triad strategy Where is our defensible advantage?
/council --triad risk What could make this launch irreversible?
/council --triad ai-product Which capability belongs in the product?

Available domains include architecture, strategy, ethics, debugging, risk, shipping, product, founder, ai, ai-product, ai-safety, decision, systems, uncertainty, design, economics, and bias. The canonical routing table lives in SKILL.md.

What the protocol protects

The full protocol has a fixed round budget. Members first restate the problem, analyze blind, cross-examine other positions, declare a final stance, and then enter synthesis. Enforcement checks look for premature agreement, repeated claims, missing dissent, and unsupported confidence.

Verdict blueprint

Verdicts lead with what remains unresolved. A recommendation is paired with acceptable compromises, kill criteria, and one concrete next step. When the weighted tally remains split, the result returns that split to the user instead of turning it into prose consensus.

Evidence labels separate:

  • FACT: directly supported by supplied or retrieved evidence;
  • INFERENCE: follows from evidence but is not directly observed;
  • ASSUMPTION: required for the argument and still unverified;
  • UNKNOWN: missing information that could change the decision.

Track the outcome

A verdict is useful only if it can be checked later. Before acting, record the prediction, owner, review date, and evidence that would change the recommendation. At the checkpoint, mark the result confirmed, revised, reversed, or inconclusive instead of rewriting the original rationale.

Council outcome ledger

The 18 lenses

Members are analytical instruments, not impersonation claims. Each persona has a grounding protocol, a method, known blind spots, and a structured response contract.

Council panel composition

MemberPrimary lensUseful counterweight
AristotleCategories and structureLao Tzu on emergence and excess structure
SocratesAssumption destructionFeynman on reconstruction from first principles
Sun TzuTerrain and adversarial strategyAurelius on internal control and moral cost
Ada LovelaceFormal systems and abstractionMachiavelli on incentives and informal power
Marcus AureliusResilience and moral claritySun Tzu on external competition
MachiavelliPower and incentivesAda on formal consistency
Lao TzuNon-action and emergenceAristotle on explicit categories
Richard FeynmanExplanation and empirical debuggingSocrates on the premise itself
Linus TorvaldsShipping and maintainabilityMeadows on system-level consequences
Miyamoto MusashiTiming and decisive actionTorvalds on acting before the ideal moment
Alan WattsReframing and false problemsTorvalds on concrete implementation
Andrej KarpathyEmpirical ML behaviorSutskever on frontier risk
Ilya SutskeverScaling and AI safetyKarpathy on observation and iteration
Daniel KahnemanCognitive biasFeynman on explicit causal reasoning
Donella MeadowsFeedback loops and high-impact interventionsTorvalds on local fixes
Charlie MungerInversion and model latticesAristotle on single-system classification
Nassim TalebTail risk and fragilityKarpathy on smooth empirical trends
Dieter RamsUser clarity and restraintAda on what can be formalized

The repository stores each member contract under agents/. Custom panels can use --members, named triads, or the classic, exploration-orthogonal, and execution-lean profiles documented in SKILL.md.

Multi-provider routing

The detection script checks which supported providers are available, then the coordinator distributes seats across them. Polarity pairs are separated when possible so a single model family does not play both sides of a disagreement.

Council provider routing

Provider pathDetection
Native host subagentsAvailable through the active supported client
OpenAIcodex executable
Googlegemini executable
Ollamaollama executable
NVIDIA NIMNVIDIA_API_KEY
Cursorcursor-agent executable or configured login

Preview routing without running a council:

/council --dry-route --triad decision Should we accept this acquisition offer?

Use --no-auto-route to keep native-host defaults. Use --models <path> with a copy of configs/provider-model-slots.example.yaml for an explicit seat map. Provider failure is reported before the seat falls back to the native host.

Installation reference

./install.sh                         # Claude Code
./install.sh --codex                 # Claude Code + Codex
./install.sh --codex-only            # Codex only
./install.sh --gemini                # Claude Code + Gemini CLI
./install.sh --gemini-only           # Gemini CLI only
./install.sh --opencode              # Claude Code + OpenCode
./install.sh --opencode-only         # OpenCode only
./install.sh --copy-configs          # Include provider-routing templates
./install.sh --dry-run               # Preview writes

Custom target directories are supported through --claude-dir, --codex-dir, --gemini-dir, and --opencode-dir. Run ./install.sh --help for the current contract.

Verify the checkout

./scripts/council-simulation-checklist.sh
./install.sh --dry-run --codex
./install.sh --dry-run --gemini
./install.sh --dry-run --opencode

The checklist validates persona structure, host-protocol parity, routing configuration, execution checkpoints, verdict fields, and installer behavior. Use the demo session pack to exercise full, quick, and duo modes.

Repository map

SKILL.md                    canonical coordinator protocol
SKILL.codex.md              Codex host mirror
SKILL.gemini.md             Gemini CLI host mirror
SKILL.opencode.md           OpenCode host mirror
agents/                     18 grounded persona contracts
configs/                    provider and model-routing examples
demos/                      sample sessions and verdict template
scripts/                    detection, conversion, and validation tools
assets/                     brand system and README visuals
install.sh                  multi-host installer

Protocol changes start in SKILL.md and must remain behaviorally aligned with each host mirror. See CONTRIBUTING.md for the required checks and review contract. Security reports belong in SECURITY.md, not a public issue.

Project links

Council of High Intelligence star historyCouncil of High Intelligence star history

License

MIT © 2026 0xNyk

Files in the repo

Repository payload22 top-level entries
  • .claude-plugin
  • .github
  • agents
  • assets
  • configs
  • demos
  • scripts
  • skills
  • .gitattributes
  • .gitignore
  • .markdownlint.json
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • install.sh
  • LICENSE
  • README.md
  • SECURITY.md
  • SKILL.codex.md
  • SKILL.gemini.md
  • SKILL.md
  • SKILL.opencode.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More harnesses

affaan-m/
ECC
affaan-m/ECCHarnesses

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

258k

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

42k
ruvnet/rufloHarnesses

🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

72k

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

11k