# 0xnyk/council-of-high-intelligence — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `skills`
- Overall score: `4.0/5`
- Implementation check: `partial`
- Maturity: `active`
- Audited commit: `10a18035c86f` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T05:51:29Z
- Repository: https://github.com/0xnyk/council-of-high-intelligence
- Radar entry: https://radar.alplab.co/#repo/0xnyk/council-of-high-intelligence
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `llm-council`, `deliberation`, `prompt-engineering`, `multi-agent`, `claude-skills`, `decision-making`

## Summary

A prompt-protocol skill package (no runtime code) that convenes 18 persona agents in a structured multi-round deliberation — blind analysis, anonymized cross-examination, confidence-weighted stance tally, and a non-panel Chairman synthesis — across Claude Code, Codex, Gemini CLI, and OpenCode, with multi-provider model routing, a shell installer, and CI drift guards.

## Implementation Check

Core claims are genuinely implemented (SKILL.md Coordinator Execution Sequence STEPs 0-8 with STEP 6 weighted tally, install.sh four-host installer, scripts/detect-providers.sh JSON detection, .claude-plugin/plugin.json v1.2.0), but the fourth advertised host mirror SKILL.opencode.md is self-documented pre-v1.2.0 drift (see the NOTE in scripts/council-simulation-checklist.sh): its 'classic' profile says 'All 11 members' against the 18-member roster and it still inlines prompts and API keys into shell argv, the exact injection/ps-exposure pattern SKILL.md fixed with quoted heredocs and process substitution.

## When to Use

Use inside Claude Code, Codex, or Gemini CLI for high-stakes, genuinely contested decisions (material downside, competing values, irreversibility) where you want adversarial multi-perspective deliberation with an auditable tally and preserved dissent. Not for factual lookups, cheap reversible choices, single-answer questions, or the OpenCode host until its mirror reaches parity — and expect token cost to scale with panel size (up to 18 seats x 3+ rounds).

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.5/5 |
| usability | 4.0/5 |
| reliability | 3.0/5 |
| security | 4.0/5 |
| integration | 4.5/5 |

## Code Evidence

SKILL.md defines the full protocol as an executable sequence for the coordinator LLM: STEP 0 panel selection with a locked 1.5x domain-weight seat, STEP 1 provider routing (polarity-pair separation as hard constraint, provider spread, council.provider_affinity frontmatter), STEP 1.5 restate gate, STEP 3 Round-2 identity anonymization with stable Member A/B labels, STEP 4 enforcement scans (dissent_quota, novelty_gate, agreement_check, anti_recursion) with dispatch counting, STEP 5 structured 'STANCE: ... | CONFIDENCE: ... | DEALBREAKER: ...' lines, STEP 6 confidence-weighted tally (high=1.0/med=0.75/low=0.5, consensus iff W_option >= (2/3) x W_total on base weights), STEP 1.7/7 Chairman synthesis with fallback annotation, STEP 8 session metadata (schema_version: 1); external dispatch routes prompts through quoted heredocs (mktemp + cat <<'COUNCIL_PROMPT_EOF') and passes the NIM key via '-H @<(printf ...)' so it never appears in ps. agents/council-socrates.md (reasoning_method: elenchic-questioning, hemlock rule, 3-level depth limit) and agents/council-torvalds.md (reasoning_method: empirical-reduction-to-practice, provider_affinity: [openai, anthropic]) show the 18 personas each carry polarity_pairs, triads, profiles, grounding protocols, blind spots, and dual output formats. scripts/detect-providers.sh (json_provider, run_with_timeout perl fork/waitpid, NIM detection via NVIDIA_API_KEY =~ ^nvapi-) emits {providers, provider_count, multi_provider} JSON. scripts/validate-roster.py (load_agents, norm, main) runs ~166 structural checks reconciling SKILL.md prose against agents/*.md frontmatter (profile sizes vs profiles tags, polarity reciprocation, reasoning_method uniqueness, roster-table parity). scripts/council-simulation-checklist.sh gates CHANGELOG/plugin.json/marketplace.json version agreement, per-issue feature parity greps across SKILL files, and full install.sh --dry-run suites per host. install.sh (set -euo pipefail, run_cmd dry-run, nullglob loops, per-host destinations, gemini-extension.json version derived from CHANGELOG) writes files only, no network. .github/workflows/lint.yml runs shellcheck, markdownlint, validate-roster.py, and the checklist in CI; release.yml builds the tarball with awk-extracted notes (deliberately avoiding ${{ }} interpolation after a backtick incident); actions are SHA-pinned. configs/auto-route-defaults.yaml carries provider_models and chairman_defaults consumed by STEP 1.7.

## Issues Found

SKILL.opencode.md retains the pre-1.2.0 dispatch surface that SKILL.md fixed (CHANGELOG 1.2.0 'Shell-injection surface in external dispatch templates'): codex_exec/gemini_cli/ollama_run/cursor_cli templates inline '{full prompt}' directly into double-quoted argv (e.g. 'codex exec -c auto_approve=true "{full prompt}"'), so problem text containing ", $(), or backticks is shell-interpreted on the OpenCode host, and the NIM curl inlines '-H "Authorization: Bearer ${!api_key_env}"' exposing the key in ps-visible argv; the same file's 'classic' profile reads 'All 11 members' against the 18-member roster and cites gemini-2.5-pro where configs/auto-route-defaults.yaml and SKILL.md use gemini-3-pro — the repo self-documents this drift in scripts/council-simulation-checklist.sh (NOTE: 'authored from a pre-v1.2.0 base... lacks E3, E9, E7, Asset Resolution'). Minor: the --chairman row in both SKILL.md and SKILL.opencode.md flag tables cross-references 'STEP 1.6' but the section is titled 'STEP 1.7'.

## Key Risks

The deliverable is prompts, not code: every enforcement mechanism (anonymization, tally math, dissent quotas) is delegated to the host coordinator model, so runtime compliance is non-deterministic and cannot be statically verified — the maturity 'tests: false' signal is consistent with this; CI covers artifact drift (roster parity, feature greps, install dry-runs) but nothing automated exercises an actual deliberation. Nothing was executed in this audit. Multi-provider routing requires locally installed CLIs (codex, gemini, ollama, cursor-agent) or NVIDIA_API_KEY; single-provider setups silently collapse to Claude defaults, reducing the diversity the design sells. All 18 personas grant Bash/WebSearch/WebFetch (agents/council-*.md frontmatter 'tools:'), so a problem statement pasted from an untrusted source runs 18 parallel tool-enabled agents — inherent prompt-injection amplification. Personas include living figures (Karpathy, Sutskever, Kahneman, Taleb, Torvalds, Munger, Rams) framed as 'analytical instruments, not impersonation claims'. Full council mode is expensive (18 seats x 3+ rounds). Only 2 of 18 persona files were read individually; structural consistency across all 18 is asserted by CI checks I read but did not run.

## Reviewed Files

- `README.md`
- `SKILL.md`
- `SKILL.codex.md`
- `SKILL.gemini.md`
- `SKILL.opencode.md`
- `install.sh`
- `scripts/detect-providers.sh`
- `scripts/validate-roster.py`
- `scripts/council-simulation-checklist.sh`
- `scripts/convert-agents-opencode.py`
- `agents/council-torvalds.md`
- `agents/council-socrates.md`
- `configs/auto-route-defaults.yaml`
- `configs/provider-model-slots.example.yaml`
- `.github/workflows/lint.yml`
- `.github/workflows/release.yml`
- `.claude-plugin/plugin.json`
- `.claude-plugin/marketplace.json`
- `CHANGELOG.md`
- `CONTRIBUTING.md`
- `CLAUDE.md`
- `SECURITY.md`
- `.gitignore`
- `.gitattributes`
- `demos/session-pack.md`
- `skills/council/SKILL.md`
