Skip to content

Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.

feat: Claude Code plugin-marketplace support

0xnykfd02d30b4aed
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
new file mode 100644
index 0000000..b977860
--- /dev/null
+++ b/.claude-plugin/marketplace.json
@@ -0,0 +1,16 @@
+{
+ "name": "council-of-high-intelligence",
+ "description": "Official marketplace for the Council of High Intelligence — multi-persona, multi-provider deliberation for Claude Code.",
+ "owner": {
+ "name": "0xNyk",
+ "url": "https://github.com/0xNyk"
+ },
+ "plugins": [
+ {
+ "name": "council",
+ "source": "./",
+ "description": "18 AI personas deliberate your hardest decisions — structured multi-round deliberation with genuine model diversity. One command: /council",
+ "version": "1.1.0"
+ }
+ ]
+}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
new file mode 100644
index 0000000..8f08f75
--- /dev/null
+++ b/.claude-plugin/plugin.json
@@ -0,0 +1,21 @@
+{
+ "name": "council",
+ "displayName": "Council of High Intelligence",
+ "version": "1.1.0",
+ "description": "18 AI personas deliberate your hardest decisions — structured multi-round deliberation (blind analysis, anonymized cross-examination, weighted verdict) with genuine model diversity across providers.",
+ "author": {
+ "name": "0xNyk",
+ "url": "https://github.com/0xNyk"
+ },
+ "homepage": "https://github.com/0xNyk/council-of-high-intelligence",
+ "repository": "https://github.com/0xNyk/council-of-high-intelligence",
+ "license": "MIT",
+ "keywords": [
+ "deliberation",
+ "multi-agent",
+ "decision-making",
+ "debate",
+ "personas",
+ "multi-llm"
+ ]
+}
diff --git a/README.md b/README.md
index 543bd85..8106b5e 100644
--- a/README.md
+++ b/README.md
@@ -261,6 +261,17 @@ Full mode runs 7 steps: provider routing → problem restate gate → independen
## Installation
+### Option A — Claude Code plugin marketplace (recommended for Claude Code)
+
+```text
+/plugin marketplace add 0xNyk/council-of-high-intelligence
+/plugin install council@council-of-high-intelligence
+```
+
+Update later with `/plugin update council`. Plugin installs get automatic updates and namespaced agents (`council:council-socrates`, …). If you previously used `install.sh`, the plugin takes precedence — no cleanup needed.
+
+### Option B — install.sh (Claude Code, Codex, and/or Gemini CLI)
+
Installs 18 council agents plus skill files for Claude, Codex, and/or Gemini CLI.
```bash
diff --git a/SKILL.md b/SKILL.md
index f93b3b1..70fe12c 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -39,6 +39,15 @@ You are the Council Coordinator. Your job is to convene the right council member
Flag priority: `--quick` / `--duo` set the mode. `--full` / `--triad` / `--members` / `--profile` set the panel. `--models` overrides auto-routing. `--no-auto-route`, `--dry-route`, and `--chairman` are additive.
+## Asset Resolution
+
+This skill is distributed two ways, so council assets live in one of two roots. Resolve each asset by trying these locations in order and use the first that exists:
+
+1. **install.sh layout**: agents at `~/.claude/agents/council-{name}.md`, scripts at `~/.claude/skills/council/scripts/`, configs at `~/.claude/skills/council/configs/`
+2. **Plugin layout** (marketplace install): agents at `${CLAUDE_PLUGIN_ROOT}/agents/council-{name}.md`, scripts at `${CLAUDE_PLUGIN_ROOT}/scripts/`, configs at `${CLAUDE_PLUGIN_ROOT}/configs/`. Plugin-provided agents are also directly addressable as namespaced subagents (`council:council-{name}`).
+
+Every later reference to a `~/.claude/...` council path means "the resolved asset root" — substitute the plugin paths when running from a marketplace install.
+
---
## The 18 Council Members
diff --git a/scripts/council-simulation-checklist.sh b/scripts/council-simulation-checklist.sh
index 5b48d0e..490dbe9 100755
--- a/scripts/council-simulation-checklist.sh
+++ b/scripts/council-simulation-checklist.sh
@@ -30,6 +30,21 @@ fi
[[ -f "configs/provider-model-slots.example.yaml" ]] || fail "configs/provider-model-slots.example.yaml is missing"
pass "Provider/model slot template exists"
+# --- Plugin manifest checks ---
+
+[[ -f ".claude-plugin/plugin.json" ]] || fail ".claude-plugin/plugin.json is missing"
+[[ -f ".claude-plugin/marketplace.json" ]] || fail ".claude-plugin/marketplace.json is missing"
+[[ -e "skills/council/SKILL.md" ]] || fail "skills/council/SKILL.md (plugin skill path) is missing or a broken symlink"
+pass "Plugin manifests and skill path present"
+
+changelog_version=$(sed -nE 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/p' CHANGELOG.md | head -1)
+plugin_version=$(sed -nE 's/.*"version": "([0-9]+\.[0-9]+\.[0-9]+)".*/\1/p' .claude-plugin/plugin.json | head -1)
+marketplace_version=$(sed -nE 's/.*"version": "([0-9]+\.[0-9]+\.[0-9]+)".*/\1/p' .claude-plugin/marketplace.json | head -1)
+if [[ "$plugin_version" != "$changelog_version" ]] || [[ "$marketplace_version" != "$changelog_version" ]]; then
+ fail "Version drift: CHANGELOG=${changelog_version} plugin.json=${plugin_version} marketplace.json=${marketplace_version} — bump the manifests when releasing"
+fi
+pass "Plugin manifest versions match CHANGELOG (${changelog_version})"
+
[[ -f "CLAUDE.md" ]] || warn "CLAUDE.md is missing (recommended for project conventions)"
# --- SKILL.md content checks ---
diff --git a/skills/council/SKILL.md b/skills/council/SKILL.md
new file mode 120000
index 0000000..4215fae
--- /dev/null
+++ b/skills/council/SKILL.md
@@ -0,0 +1 @@
+../../SKILL.md
\ No newline at end of file