council
Skill485 starsChanged 3 months agoMITView on GitHub
Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.
- Reads credentials
66 other projects use a version of this.
Adopted by
Most recently taken up by
- abxn4r/archon-skillstheir own version, first seen Oct 4, 2026
- nuttakulsv/think-liketheir own version, first seen Oct 3, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- ManceRayder42/jarvis-ostheir own version, first seen Oct 1, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
- Kohulan/orthonym-skillstheir own version, first seen Sep 29, 2026
Used with
Projects with it also use agent-sort, lead-intelligence and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JamkrisSkillagent-sort
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
Also in 4 projects that use this
JamkrisSkilllead-intelligence
AI-native lead intelligence and outreach pipeline. Replaces Apollo, Clay, and ZoomInfo with agent-powered signal scoring, mutual ranking, warm path discovery, source-derived voice modeling, and channel-specific outreach across email, LinkedIn, and X. Use when the user wants to find, qualify, and reach high-value contacts.
Also in 4 projects that use this
JunMysterySkillecc-guide
Guide users through ECC's current agents, skills, commands, hooks, rules, install profiles, and project onboarding by reading the live repository surface before answering.
Also in 3 projects that use this
JunMysterySkillrecsys-pipeline-architect
Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect framework popularized by xAI's open-sourced For You algorithm. Use this skill whenever the user is building any system that picks "the top K items for a (user, context)" — social feeds, content CMSs, RAG rerankers, task prioritizers, notification triage, search reranking, ad ranking.
Also in 3 projects that use this
mryeastcodeSkillsanta-method
Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.
Also in 4 projects that use this
InfopibeSkillagent-harness-construction
Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates.
Also in 5 projects that use this
- +4 more from Jamkris
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- 0xNyk/council-of-high-intelligence★ 4.5ksame name
- warpdotdev/common-skills★ 604same name
- boshu2/agentops★ 447same name
- automagik-dev/genie★ 345same name
- kitze/council★ 199same name
- Riley-Coyote/polyclaude★ 179same name
- templetongroup/radiant★ 113same name
- sherifkozman/the-llm-council★ 91same name
- yogirk/agent-council★ 91same name
- phaseddd/PhasedddSkill★ 88same name
56 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository66 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- ci-fix-monitorSkill
- codebase-review-swarmSkill
- commit-prSkill
- contributingSkill
- engineering-conventionsSkill
- fork-pr-operationsSkill
- guardrail-patternsSkill
- issue-tracerSkill
- mock-to-internals-migrationSkill
- pr-review-fixSkill
- qa-sweepSkill
- research-firstSkill
- running-testsSkill
- subprocess-safetySkill
- swarm-ci-monitorSkill
- swarm-implementSkill
- swarm-pr-feedbackSkill
- swarm-pr-reviewSkill
- swarm-pr-subscribeSkill
- swarmSkill
- tech-debt-ci-reviewSkill
- test-file-splitSkill
- unswarmSkill
- writing-testsSkill
- brainstormSkill
- clarifySkill
- clarify-specSkill
- codebase-review-swarmSkill
- commit-prSkill
- consultSkill
- critic-gateSkill
- deep-diveSkill
- deep-researchSkill
- design-docsSkill
- discoverSkill
- durable-session-stateSkill
- editing-skillsSkill
- engineering-conventionsSkill
- executeSkill
- fork-pr-operationsSkill
- graphifySkill
- issue-ingestSkill
- issue-tracerSkill
- orchestrating-subagentsSkill
- phase-wrapSkill
- pre-phase-briefingSkill
- qa-sweepSkill
- research-firstSkill
- rust-crate-ciSkill
- specifySkill
- swarm-ci-monitorSkill
- swarm-implementSkill
- swarm-planSkill
- swarm-pr-feedbackSkill
- swarm-pr-reviewSkill
- swarm-pr-subscribeSkill
- swarm-resumeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Read council.general from the resolved opencode-swarm config.
- Distinctive: line 55
Do not append a model training-cutoff year to searches.
- Very specific: line 56
Use web_search with its default freshness: "auto" behavior for current queries unless the user explicitly asked for a historical window.
- Very specific: line 65
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 …
- Distinctive: line 89
When citing source code, API behavior, CLI flags, file paths, or line ranges, the synthesizing agent MUST read the actual file or tool …
- Very specific: line 108
Do not call convene_general_council or present conclusions from running lanes.
- Distinctive: line 122
Do NOT share other agents' responses at this stage.
- Very specific: line 131
If dispatch_lanes_async is unavailable, use blocking dispatch_lanes as the first fallback and record that async advisory lanes were …
- Very specific: line 149
Call convene_general_council with mode set from the command (general or spec_review), question, and the collected round1Responses only …
- Distinctive: line 188
NOT present raw per-member JSON.
“Common” is measured: kept by at least 6 in 10 of the 61 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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)
- Read
council.generalfrom 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. Ifcouncil.general.enabledis not true OR no search API key is configured (neithercouncil.general.searchApiKeynor the corresponding env varTAVILY_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)
Formulate 1-3 targeted
web_searchqueries 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_searchwith its defaultfreshness: "auto"behavior for current queries unless the user explicitly asked for a historical window. - Preserve each
web_searchresult's normalizedquery,temporalIntent,freshness, andremovedStaleYearsmetadata 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_searchreturns 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_searchreturns 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:
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.spawnSyncbehavior 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
- Dispatch
the active swarm's council_generalist agent,the active swarm's council_skeptic agent, andthe active swarm's council_domain_expert agentwithdispatch_lanes_asyncwhen 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 returnedbatch_id, then continue only non-dependent architect work: prepare the synthesis outline, normalize the RESEARCH CONTEXT citations, and draft disagreement categories. Do not callconvene_general_councilor 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 lanepromptcompact: send shared context ONCE via thecommon_promptfield, 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-DDform - 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.
- While council lanes are running, poll with
collect_lane_results(withoutwaitorwait: false) to check progress and process any settled member responses as they complete — extract the JSON, verifyoutput_ref, and pre-validate structure — while continuing independent architect work (synthesis outline, citation normalization, disagreement categories). Only usewait: trueif lanes are still pending and no more independent work remains. All three lanes must be settled before proceeding to synthesis. Ifdispatch_lanes_asyncis unavailable, use blockingdispatch_lanesas 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. Theround1Responsesarray will contain entries withmemberIdofcouncil_generalist,council_skeptic, andcouncil_domain_expertandroleofgeneralist,skeptic, anddomain_expertrespectively. If any lane result hasoutput_ref, callretrieve_lane_outputand 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)
- Call
convene_general_councilwith mode set from the command (generalorspec_review),question, and the collectedround1Responsesonly (omitround2Responses). Inspect the returneddisagreementsCount. - 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, orcouncil_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. Callconvene_general_councilAGAIN with bothround1ResponsesANDround2Responsespopulated.
Output
- Present the final answer to the user from the
synthesisreturned byconvene_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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

