Agent skill

Council

by ZaxbyHub in ZaxbyHub/opencode-swarm

Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.

MITAuto-check passed

Install Council

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill council -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm council --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/council .claude/skills/council && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
council
GitHub stars
494
Token cost
~2.6k tokens
SKILL.md length
1,295 words
Files
1
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.

  • Works in 2 steps: Call convene_general_council with mode… → If disagreementsCount > 0
  • Needs TAVILY_API_KEY and BRAVE_SEARCH_API_KEY

What it does

Council is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

Example prompts

  • “/council”

Requirements

  • A credential in TAVILY_API_KEY
  • A credential in BRAVE_SEARCH_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Call convene_general_council with mode set from the command (general or
  2. If disagreementsCount > 0

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TAVILY_API_KEY
    • BRAVE_SEARCH_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Council loads about 2.6k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 1,295 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 1,295 words, ~2,580 tokens.

Download SKILL.mdSave it as .claude/skills/council/SKILL.md (or your agent's skills folder).
name
council
description
Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.
audience
swarm-plugin

Council Protocol

This protocol is loaded on demand by the architect runtime. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.

MODE: COUNCIL

Activates when: user invokes /swarm council <question> (optionally with --spec-review).

Purpose: convene a fixed three-agent multi-model General Council (generalist / skeptic / domain expert) for an advisory deliberation. The architect runs a curated web research pass upfront, dispatches the three agents in parallel with the gathered RESEARCH CONTEXT, routes any disagreements back for one targeted reconciliation round, and synthesizes the final user-facing answer directly.

This mode is ADVISORY. It does not block any other workflow and does not modify code, plans, or specs. The output is for the user (general mode) or for the spec being drafted (spec_review mode is available via /swarm council --spec-review for manual spec review). General Council advisory input is offered as an early workflow option in MODE: BRAINSTORM (Phase 1b) and MODE: PLAN before save_plan.

Pre-flight (always run first)
  1. Read council.general from the resolved opencode-swarm config. Resolution is global first (~/.config/opencode/opencode-swarm.json), then project override (.opencode/opencode-swarm.json). A global config is valid and must be used when no project override is present; do not fail after checking only the project file. If council.general.enabled is not true OR no search API key is configured (neither council.general.searchApiKey nor the corresponding env var TAVILY_API_KEY / BRAVE_SEARCH_API_KEY), surface to the user: "General Council is not enabled. Set council.general.enabled: true and configure a search API key in global ~/.config/opencode/opencode-swarm.json or project .opencode/opencode-swarm.json." Then STOP.
Research Phase (always run before dispatching council agents)
  1. Formulate 1-3 targeted web_search queries that best capture the information needed to answer the question. Prefer specific, keyword-focused queries over broad ones.

    Hard grounding rules:

    • Do not append a model training-cutoff year to searches.
    • Use web_search with its default freshness: "auto" behavior for current queries unless the user explicitly asked for a historical window.
    • Preserve each web_search result's normalized query, temporalIntent, freshness, and removedStaleYears metadata in RESEARCH CONTEXT audit notes.
    • For current, latest, today, now, state-of-the-art, pricing, release-status, legal/regulatory, financial, security, or otherwise time-sensitive questions, the Research Phase must produce usable current sources before council dispatch.
    • If web_search returns no results or an error for a time-sensitive question, stop and surface the failed search result to the user instead of dispatching ungrounded members.
    • For stable/non-current questions, if web_search returns no results or an error, note this in the dispatch message and proceed without a context block. In that degraded mode, members may use stable background knowledge only and must not make current-fact claims.

    Compile all successful results into a RESEARCH CONTEXT block in this format:

text
RESEARCH CONTEXT
================
[1] <title> - <url>
    <snippet>
    query: <normalized query>; temporalIntent: <current|historical|unspecified>; freshness: <day|week|month|year|none>; removedStaleYears: <comma-separated years or none>

[2] <title> - <url>
    <snippet>
...
Read-before-cite discipline

When citing source code, API behavior, CLI flags, file paths, or line ranges, the synthesizing agent MUST read the actual file or tool output first. Search snippets, file globs, conversation history, and prior-round memory are not sufficient evidence. Specific anti-patterns to refuse in synthesized output:

  • Quoting a line range (e.g. src/foo.ts:123-145) without reading those lines in the current revision.
  • Restating an API signature, error message, or option flag from prior context after the source has been edited.
  • Citing bunSpawnSync / child_process.spawnSync behavior from documentation that pre-dates the current version.

The synthesized answer's sources array should reference URLs and tool outputs the agent actually retrieved during the current session, not sources inherited from prior rounds. Mark confidence: LOW for any claim the agent could not verify against current source this round.

Round 1 - Parallel Independent Analysis
  1. Dispatch the active swarm's council_generalist agent, the active swarm's council_skeptic agent, and the active swarm's council_domain_expert agent with dispatch_lanes_async when available -- one lane per agent. Before the first dispatch, verify from the session's actual tool list whether the controller's lane tools are present; when they are absent, use the native parallel subagent path from the start rather than discovering the gap on first failure. Record the returned batch_id, then continue only non-dependent architect work: prepare the synthesis outline, normalize the RESEARCH CONTEXT citations, and draft disagreement categories. Do not call convene_general_council or present conclusions from running lanes. Dispatch promptly — do not accumulate extensive planning prose before the call, or output truncation may swallow the tool call itself. Keep each lane prompt compact: send shared context ONCE via the common_prompt field, or have lanes read it from a file by absolute path, instead of inlining the same large blob into every lane prompt. Each dispatch message must include:
    • The question
    • Round number: 1
    • The CURRENT DATE in ISO YYYY-MM-DD form
    • The full RESEARCH CONTEXT block from step 2
    • Instruction: "Cite from the RESEARCH CONTEXT for external evidence. Your memberId and role are hardcoded in your system prompt."

Do NOT share other agents' responses at this stage.

Show full SKILL.md (518 more words)Show less
  1. While council lanes are running, poll with collect_lane_results (without wait or wait: false) to check progress and process any settled member responses as they complete — extract the JSON, verify output_ref, and pre-validate structure — while continuing independent architect work (synthesis outline, citation normalization, disagreement categories). Only use wait: true if lanes are still pending and no more independent work remains. All three lanes must be settled before proceeding to synthesis. If dispatch_lanes_async is unavailable, use blocking dispatch_lanes as the first fallback and record that async advisory lanes were unavailable. This changes only when the architect waits, not whether all council lanes must settle. Do not substitute Task-tool dispatch unless lane tools are unavailable; when they are unavailable, Task is the final fallback and must be verified as equivalent by agent type, prompt, scope, and isolation. The round1Responses array will contain entries with memberId of council_generalist, council_skeptic, and council_domain_expert and role of generalist, skeptic, and domain_expert respectively. If any lane result has output_ref, call retrieve_lane_output and parse the full artifact rather than the preview. If a lane is degraded, incomplete, truncated without a usable ref, missing, stale, cancelled, or failed, treat the council round as blocked or incomplete; do not synthesize from partial member JSON. These come from the agents' JSON output; no manual construction is needed.
Synthesis and Deliberation (when council.general.deliberate is true; default true)
  1. Call convene_general_council with mode set from the command (general or spec_review), question, and the collected round1Responses only (omit round2Responses). Inspect the returned disagreementsCount.

  2. If disagreementsCount > 0: a. For each disagreement in the tool's response, identify the disputing agents (the agents listed in the disagreement's positions, identified by memberId: council_generalist, council_skeptic, or council_domain_expert). b. Re-delegate ONLY to the disputing agents -- one message per agent -- passing: their Round 1 response, the disagreement topic, the opposing position(s), round number 2, and the same RESEARCH CONTEXT block. c. Collect the Round 2 responses. d. Call convene_general_council AGAIN with both round1Responses AND round2Responses populated.

Output
  1. Present the final answer to the user from the synthesis returned by convene_general_council. Apply these output rules directly:
    • LEAD WITH CONSENSUS: open with the strongest consensus position. Confidence-weighted: higher-confidence claims from multiple agents rank first, but evidence quality outranks raw confidence. Never elevate a single confident voice over a well-evidenced contrary majority.
    • ACKNOWLEDGE DISAGREEMENT HONESTLY: for each persisting disagreement, write "experts disagree on X because..." and present the strongest version of each side. Do not pretend disagreements are resolved. Do not silently pick a winner.
    • CITE THE STRONGEST SOURCES: link key claims with [title](url) format from the source list in the synthesis. Pick the most reputable source per claim; do not cite duplicates.
    • BE CONCISE: a few short paragraphs plus a bulleted summary. Expand only when the question genuinely requires it.
    • HARD CONSTRAINTS: You MUST NOT invent claims not present in the council's responses. You MUST NOT add new web research. You MUST NOT favor a position based on confidence alone.

Preface the answer with one line listing the participating models (reviewer model as generalist, critic model as skeptic, SME model as domain expert). Do NOT present raw per-member JSON.

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/council of ZaxbyHub/opencode-swarm.

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Council next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Council compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Council this skillZaxbyHub/opencode-swarm494—~2.6kAutomated safety check: PassMIT
Councilaffaan-m/ECC277k2 repos~1.6kAutomated safety check: PassMIT
Councilaffaan-m/ECC276k—~963Automated safety check: PassMIT
Councilaffaan-m/ECC276k—~653Automated safety check: PassMIT
Council0xNyk/council-of-high-intelligence4.6k1 repos~14kAutomated safety check: PassMIT
Parallels Discord Roundtripopenclaw/openclaw392k—~788Automated safety check: PassMIT

Similar skills

  • Council

    affaan-m/ECC

    Convene a four-voice council for ambiguous decisions, tradeoffs, and go/no-go calls.

    277k GitHub starsUsed in 2 repos~1.6k tokens
    Product & Project ManagementAuto-check passed
  • Council

    affaan-m/ECC

    曖昧な決定、トレードオフ、ゴー/ノーゴーの判断のために4つの声のカウンシルを召集します。複数の有効なパスが存在し、選択前に構造化された異議が必要な場合に使用します。

    276k GitHub stars~963 tokensUpdated yesterday
    Auto-check passed
  • Council

    affaan-m/ECC

    召集四方会议处理模糊决策、权衡取舍及继续/停止决策。当存在多个有效路径且需要在选择前进行结构化异议时使用. An agent skill from affaan-m/ECC.

    276k GitHub stars~653 tokensUpdated yesterday
    Auto-check passed
  • Council

    0xNyk/council-of-high-intelligence

    Convene the Council of High Intelligence — multi-persona deliberation with historical thinkers for deeper analysis of complex problems.

    4.6k GitHub starsUsed in 1 repo~14k tokens
    Auto-check passed
  • Run macOS Parallels smoke with Discord send, host verification, host reply, and guest readback proof.

    392k GitHub stars~788 tokensUpdated today
    Auto-check passed
  • Openclaw Parallels Smoke

    openclaw/openclaw

    Prepare, snapshot, run, rerun, debug, or interpret OpenClaw Parallels guest install, onboarding, gateway smoke, and upgrade checks across macOS, Windows, and Linux.

    392k GitHub stars~8.4k tokensUpdated today
    Auto-check: notes

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Council

What does Council do?

Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis. Council is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.

How do I install Council in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill council -a claude-code`. Or copy the skill folder (.claude/skills/council in ZaxbyHub/opencode-swarm) into .claude/skills/council in your project. Claude Code loads it when a task matches its description.

How do I install Council in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill council -a codex`. Or copy the skill folder (.claude/skills/council in ZaxbyHub/opencode-swarm) into .agents/skills/council in your project. Codex loads it when a task matches its description.

Can I use Council in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill council -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/council, .gemini/skills/council, .github/skills/council and .opencode/skills/council in your project.

What does Council need to run?

Going by SKILL.md and its folder, Council needs credentials named TAVILY_API_KEY and BRAVE_SEARCH_API_KEY. Our summary lists: A credential in TAVILY_API_KEY; A credential in BRAVE_SEARCH_API_KEY.

Does Council access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Council safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Council use?

Council is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Council use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Council?

Skills that share tags, products or a category with Council: Council (affaan-m/ECC, 277k stars), Council (affaan-m/ECC, 276k stars), Council (affaan-m/ECC, 276k stars) and Council (0xNyk/council-of-high-intelligence, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Council?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.