Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jacob-bd/the-ai-counsel --skill the-ai-counsel-apigit clone --depth 1 https://github.com/jacob-bd/the-ai-counselWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jacob-bd/the-ai-counsel/the-ai-counsel-api)<a href="https://agentmods.dev/skills/jacob-bd/the-ai-counsel/the-ai-counsel-api"><img src="https://agentmods.dev/badge/skills/jacob-bd/the-ai-counsel/the-ai-counsel-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jacob-bd/the-ai-counsel/the-ai-counsel-api"><img src="https://agentmods.dev/badge/skills/jacob-bd/the-ai-counsel/the-ai-counsel-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.17581 |
| Opus 5 | $0.00043 | $0.08790 |
| Sonnet 5 | $0.00017 | $0.03516 |
| Haiku 4.5 | $0.00009 | $0.01758 |
Grade D, and why
the-ai-counsel-api scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
CONV_ID=$(curl -s -X POST http://localhost:8001/api/conversations -H "Content-Type: application/json" -d '{}' | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])") Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
CONV_ID=$(curl -s -X POST http://localhost:8001/api/conversations -H "Content-Type: application/json" -d '{}' | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])") Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: The AI Counsel — MCP-first (10 action-based tools) when The AI Counsel MCP server is connected; REST/curl fallback when MCP is unavailable, for cron scripts, or raw SSE. Triggers on "ask the council", "run a How it starts
The opening of the file, as written. The whole thing — 1,532 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The AI Counsel — API & MCP Skill
Overview
The AI Counsel has two operating modes:
- Council mode — 3-stage multi-LLM deliberation: individual responses → anonymous peer ranking → chairman synthesis
- Advisor mode — Named personas debate a question across configurable rounds, reaching consensus or delivering a structured verdict
Use Council for direct answers, creative prompts, factual questions, and "give me the best response" synthesis. Use Advisor only when the user wants named personas to debate a decision, tradeoff, risk review, prioritization, strategy, ethics, or genuine disagreement. Simple prompts can drift off-topic in Advisor mode because advisor prompts intentionally force positions, rebuttals, consensus scoring, and verdicts.
Transport rule (read first): If The AI Counsel MCP tools are available in your session, call them — do not shell out to curl for the same operation. This skill’s REST sections are the fallback reference when MCP is missing, the SSE session is stale, or you need raw SSE/admin export.
MCP server (v0.13.0): Built-in SSE at http://localhost:8001/mcp/sse (stdio: python -m the_ai_counsel_mcp). Exposes 10 action-based tools (not 25). Verify via GET /api/health → "mcp": {"tools": 10, "sse_url": "..."}.
The server's connect message is minimal by design — it does not list the tools. Use the roster below.
Default base URL (REST fallback only): http://localhost:8001 (override with PORT_BACKEND / LLM_COUNCIL_BIND_PORT)
Remote server: replace with http://<server-ip>:8001
MCP-first routing
When to use MCP (preferred)
Use MCP when your tool list includes any of these 10 tools (server may appear as the-ai-counsel, ai-counsel, or user-the-ai-counsel):
| You want to… | MCP tool | Action(s) | Do not use curl |
|---|---|---|---|
| Check server / providers | providers |
health |
GET /api/health |
| Test an API key | providers |
test |
POST /api/settings/test-provider |
| List models | providers |
list_models |
GET /api/models… |
| Read council config (+ presets) | council_settings |
get |
GET /api/settings |
| Update council members/chairman/mode | council_settings |
update |
PUT /api/settings |
| Council preset CRUD | council_settings |
list_presets, save_preset, delete_preset, set_default_preset |
PUT /api/settings |
| Set search provider / API key | providers |
set_search, set_api_key |
PUT /api/settings |
| Backup / restore / reset config | config_backup |
export, import, reset |
|
| Full deliberation | council_deliberate |
full |
/api/ask or message stream |
| Stage 1 / 2 / 3 only | council_deliberate |
stage1, stage2, stage3 |
|
| One-shot model chat | model_chat |
quick |
POST /api/ask |
| Multi-turn chat with a model | model_chat |
multi_turn |
|
| List / read conversations | conversations |
list, get |
|
| Check active run progress | conversations |
progress |
GET /api/conversations/{id}/progress |
| List / read / edit personas | personas |
list, get, update, reset |
/api/personas |
| Create / delete custom personas | (no MCP action) | (Advisor Setup or REST) | POST /api/personas / DELETE /api/personas/{id} |
| Read advisor defaults (+ presets) | advisor_settings |
get |
GET /api/settings |
| Update advisor defaults | advisor_settings |
update |
PUT /api/settings |
| Advisor preset CRUD | advisor_settings |
list_presets, save_preset, delete_preset, set_default_preset |
PUT /api/settings |
| Run advisor debate | advisor_debate |
(direct params) | debate/stream |
| Run multi-round debate | run_iterative_debate |
(direct params) |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +2 lines 02106f3e88d4
- 7d ago Changed 5045084e017b
- 8d ago Changed · +27 lines 885fe6c3c28d
- 12d ago First seen · 1,503 lines · 85 tokens per session scan D 0a3b436d24f1
the-ai-counsel-api is a skill published in the GitHub repository jacob-bd/the-ai-counsel (113 stars, last pushed 3d ago), licensed MIT. It adds 85 tokens to every session and 17,581 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it D with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…