consilium-principis
Summary: This server is the backend for an AI advisory board that convenes persona-based advisors on a decision, verifies every quote word-for-word against the advisor's own corpus, and can compute quantitative decisions.
Quote verification (the main safeguard):
fidelity_check,cite+gate_verdict(store quotes verbatim as 🔵, per-author),atomic_grounding(split claims, find inflation),proof_card(shareable verified-quote card),quote_of_day— quotes are verified by CODE and, when not found, the server fails closed (a 🟡 no-quote) instead of making one up.Corpus & advisor building:
add_source(url/text/path, public-domain only),catalog_list/search/preview/add/verify(ship public-domain sages),build_lens(grounded lens from any source),build_advisor+validate_manifest(tier gate before build),seed_council(starter board),ingest_telegram(your own channel → P1),job_statusfor background builds.Environment setup:
doctor(health check, self-test of the quote-check),ollama_status/ensure/pull+setup_full(optional semantic FULL tier with bge-m3),config_get/config_set.Council sessions:
board_status(onboarding + next step),diversity_check(echo-chamber detector),council_verdict(deterministic scorecard → GO / GO WITH CONDITIONS / RETHINK / DON'T / WAIT, with ruin-risk & irreversibility caps),render_session(mandatory widget render),export_session(shareable proof, incl. abstentions),decision_record(minutes),list_recipes(what-can-you-do menu),explain_self.Quantitative decisions (📐):
validate_decision_map(honesty gates),run_calculation(deterministic Monte Carlo, seeded, tornado + P(best)),save_decision_map,save_decision_card/close_decision_card,prediction_calibration(Brier/MAE on your forecasts),premortem.Strategy & self-reflection:
capture_situation+situation_analyze+situation_stress_test(move-tree, adversarial robustness),mirror_report(stated vs. chosen drift),calibrate,stability,advisor_weights,pending_outcomes/loop_status(outcome loop).Anti-overreliance consults:
calibrated_consult_open/close/resolve/journal— record your position & confidence before and after the council, measure confidence inflation.Multi-model federation:
federation_open/poll/assemble/claim/submit/heartbeat,subscriptions_status,federation_run_subscriptions/cancel(run each seat on Claude Code/Codex/Kimi subscriptions, no API key; server alone certifies 🔵).Integrity:
governance_verify(hash-chain tamper check on the corpus),retrieve(grounded passages for reasoning).
Allows connecting a local Ollama model as an independent judge backend, used to score candidate relevance in the two-phase quote-verification gate instead of relying on the host agent as an interested party.
English · Русский

Consilium Principis
Several perspectives. One decision. Quotes checked against the source.
An AI advisory board for Claude Code and MCP hosts. Ask about a difficult choice: advisors examine it through different lenses, challenge one another and give you one next step. A line marked 🔵 is checked by code against the source text word for word. If the line is absent, the advisor does not present it as a quote.
Example: “What would Marcus Aurelius say about this?” Consilium can label a model's interpretation 🟡, show a source-checked passage 🔵, or decline to quote when the corpus does not support one. Watch the live refusal and verification →
Quick start in Claude Code
/plugin marketplace add ilyautov/consilium-principis
/plugin install consilium-principis@consilium-marketplaceThen ask: “Help me decide what to focus on.” For Claude Desktop, other MCP hosts and local setup, see Installation. The plugin uses your existing agent; model/provider charges, if any, follow your host setup.
Explore: See a session · How quote verification works · Installation · Limits
What this is
Consilium Principis is a skill and MCP server for AI agents. You connect it to your agent, ask a question you need to decide on, and it gathers a board around the table: Sun Tzu, Marcus Aurelius, Machiavelli, Epictetus, and whoever else you add. Each looks at it through their own lens, leans on their own texts, and argues — with you and with the others. At the end you get one synthesis and one next step. And if the question is quantifiable ("which is more worthwhile, X or Y"), the board doesn't eyeball it — it breaks the decision into numbers and runs them through a Monte Carlo.
This project doesn't ask an AI to roleplay a sage — we tried to build a tool, not a roleplay game or an aphorism generator. Why you can trust its quotes comes next.
One honest thing about who's at the table: these aren't the thinkers themselves but their AI versions — a prism of their views over the corpus of their public texts. Nobody is "speaking from beyond the grave." An advisor holds the author's lens and leans on their words, but it stays a model — and we say so plainly.
Consilium needs no separate API key. It runs on the agent you already have, whose model or provider may have its own charges. Checking quotes needs no internet; a full offline setup requires local models.
Related MCP server: dsh-codebase-chat-mcp
How it differs from other councils
The "several AIs deliberate" mechanic is already common. What sets Consilium apart isn't the number of voices. It's that a claim can be re-verified, and where it can't, the council honestly stays silent:
"Roleplay a sage" (one AI) | LLM-Council-style board | Persona board with a quote check (e.g. roast-room) | Consilium | |
Different lenses, disagreement as a feature | ± | ✅ | ✅ | ✅ |
Quote checked word-for-word against the corpus of the advisor it is attributed to | ✗ | ✗ | ± pooled corpus, after the session | ✅ per advisor, before output |
Honestly silent outside the corpus (fail-closed) | ✗ | ✗ | ✗ | ✅ |
Verdict computed by code, with caps for ruin risk and irreversible bets | ✗ | ✗ | ✅ | ✅ |
Quantifiable question → Monte Carlo (📐) | ✗ | ✗ | ✗ | ✅ |
Different models in the seats, on subscriptions you already have | ✗ | ± API key | ✗ | ✅ Claude Code / Codex / Kimi |
No separate key required by the project | ± | ± | ✅ | ✅ |
A "personal board of directors" is a mainstream practice (an HBR concept); the bet on grounding and citation transparency has been validated by both the market (Delphi, $16M from Sequoia) and academia (multi-persona debate, the ALCE benchmark). Our angle is rigor: a verifiable quote and an honest refusal.
How it looks
Live run: an invented Aurelius quote is refused; a real passage is checked against its source. More scenarios — wrong attribution, Monte Carlo, cross-lingual: demo gallery →
You ask in plain words:
"I'm juggling four directions at once. What should I focus on?"
And instead of one smooth, hedge-everything answer, you get a session where each advisor looks from their own vantage point, and they disagree:
Sun Tzu (the "Strategist" lens) 🟡 "Whoever is strong everywhere is strong nowhere. Of the four fronts, pick the one where you have the advantage, throw your weight there; hold the rest at a minimum."
Machiavelli 🟡 "Spread thin, you're weak on every front and vulnerable on all of them. The question isn't 'what to grow' but 'what you're willing to give up'. That is the decision."
Marcus Aurelius 🔵 "Every moment think steadily as a Roman and a man to do what thou hast in hand with perfect and simple dignity" (Meditations, trans. Long). Do the thing in front of you wholly; four things at once is scattering. ↳ and ask him something that isn't in his texts, and he'll honestly stay silent instead of inventing a quote.
Next comes the synthesis (where they actually agree) and one concrete next step. Disagreement here is a feature: you see the decision from angles you'd have missed on your own. And if the question is quantifiable ("which is more worthwhile, X or Y"), the board will offer not to argue by eye but to calculate (see 📐 below).
The example is illustrative, and the advisors are AI representations built from texts, not the authors themselves. 🟡 = a thought in the author's spirit (the model reasons through their lens), 🔵 = a verbatim line with a source in the corpus. All examples are public-domain figures (Sun Tzu, Aurelius, Machiavelli, Epictetus); who sits at YOUR table is your call. Your real sessions are written to council/ locally, and never go into git (see technical design).
What you can ask
No need to learn commands. Say "what can you do?" and the board will show a menu. For example:
"What could go wrong with my launch?" a premortem: where it'll break, what to shore up in advance
"What would Aurelius say about burnout?" a single advisor, strictly from his texts
"Have Sun Tzu and Machiavelli argue about X" pit two viewpoints against each other
"Which is more worthwhile, going back to a salaried job or sticking with my own thing?" 📐 a decision map: break it into numbers and calculate (rather than argue by eye)
"Help me win this argument" a position breakdown like a chess engine: your moves, counters, an honest verdict
"Am I contradicting myself?" a mirror: what you say vs. what you actually choose
Why you can trust this
This isn't "a chatbot playing sage." Every word is tagged by a protective contour.
The real proof isn't in the tone but in verifiability: a verbatim quote (🔵) is checked against the author's genuine corpus by code, word-for-word, and carries a source. If the exact line isn't found, the advisor honestly stays silent (fail-closed) instead of making it up. That's what separates a decision tool from "roleplay a sage": every claim can be re-checked.
Marker | What it means |
🔵 | verbatim quote from the author's genuine corpus, verified word-for-word, with a source |
🟢 | verbatim, but from commentary/interpretation (not in the author's own voice), with the commentator named |
🟡 | in the spirit of the author, but not their exact words, honestly marked |
📐 | calculation: your own numbers, run through Monte Carlo; not truth, not a quote, just your own model run N times |
abstention | question outside the corpus → the advisor stays silent instead of making things up |
Plus different lenses, not a chorus: each advisor keeps their own angle, and their disagreement is a working part, not a bug. You see the decision from sides you'd otherwise collapse into one.
The honesty contour itself is code, not a model: it checks every quote against its source on any machine, no keys, no cost. Without semantics only search precision gets weaker — honesty never does. Candidate relevance is scored by a two-phase gate: a model judges, code applies the threshold, so topically-close-but-not-actually-answering material won't slip through as 🔵. By default the host does that scoring — an interested party, which doctor labels honestly; want an independent judge, connect a local (ollama) or API backend, an explicit choice. The API backend is OpenRouter (openrouter.ai) with your own OPENROUTER_API_KEY: the query and candidate passages are sent there for scoring. Nothing leaves your machine unless you turn it on. The verbatim 🔵 gate never depends on the judge: code holds it.
Calculate, not just discuss: the 📐 decision map
The board has two modes. The first is a session (discuss, challenge, synthesize). The second kicks in on a quantifiable decision question ("which is more worthwhile", "is it worth it", "X or Y"): instead of an eyeballed answer, the board breaks the choice down into a decision map, that is options, quantities (your own numbers, elicited as three-point "worst / typical / best" estimates, to avoid anchoring), and formulas. Then comes deterministic Monte Carlo (code does the math, zero LLM in the calculation, same seed gives the same result): P(best option), a tornado sensitivity chart, what actually drives the outcome. A "do nothing" option is mandatory. Breaking it down with a premortem ("a year passed, it failed, why?") and a 2×2 on the key uncertainties is also something the board does. Everything sits under the 📐 label, next to 🔵/🟢/🟡 but never blended in: this isn't wisdom, it's your own model, run numerically. And if you log the decision, later the board will check the forecast against what actually happened (the outcome loop: calibrating your model, not "right or wrong guess").
By default, plainly human: the board answers in your language and gives a clean bottom line without extra numbers. A 🔵 quote stays in the original (so it can be verified), with a translation alongside it. Need the full breakdown (probabilities, robustness of the position, source-by-source markup), just say "show me the details."
Installation
Via Claude Code plugin (recommended)
In Claude Code:
/plugin marketplace add ilyautov/consilium-principis/plugin install consilium-principis@consilium-marketplace
Claude Code will spin up the MCP server and register the skill. Then say "where do I start", and the concierge will check readiness and assemble a starter board (Marcus Aurelius and Epictetus, public-domain).
Via skills.sh (CLI)
From the skills.sh registry, one command installs the thin onboarding funnel:
npx skills add ilyautov/consilium-principis/skills/consilium-connect
This installs only the consilium-connect guide skill: it explains that a local MCP server is
required and walks you to connecting it (see the paths above or CONNECT-MCP.md).
The council and all the tools live in the server, not in this markdown — a discovery channel, not a
working install.
Or a plain install
The simplest way, let Claude install it for you. Open Claude Code and give it the link:
"Install this skill for me:
https://github.com/ilyautov/consilium-principis"
Claude will clone the repository, run python3 install.py (a copy lands in ~/.claude/skills/,
self-check included) and report back. No keys, no terminal. Then say "where do I start", and it'll
assemble a starter board (Marcus Aurelius and Epictetus, public-domain) in a couple of minutes.
Didn't work on the first try? Give Claude this verbatim:
git clone https://github.com/ilyautov/consilium-principis ~/consilium-principis
cd ~/consilium-principis && python3 install.pyPrefer buttons or a terminal? See QUICKSTART.en.md: a click-to-install (install.command / .bat) and the manual path.
Or the Claude Desktop bundle
The release ships a single-file
.mcpb bundle — a Claude Desktop extension. Download it, then in Claude Desktop open Settings →
Extensions → install from file. Claude Code users don't need it; the paths above are enough. Wiring
details for other MCP hosts are in CONNECT-MCP.en.md.
To update, re-run the install (it merges, preserving your advisors/ board). To uninstall:
if you installed as a plugin, run /plugin uninstall consilium-principis in Claude Code; if you
installed via script, delete ~/.claude/skills/consilium-principis.
Claude Desktop or another MCP host: the server exposes its cycle (build, sessions, widgets) as
tools. Host compatibility varies; see the tested-status table in
docs/CONNECT-HOSTS.en.md, then generate the portable configuration from the checkout with
python3 scripts/board.py mcp-config --json.
All you need: Python 3.10+. For smart cross-language search, optionally
ollama with bge-m3 (the board will walk you through setting it up). The contour works without it too.
Windows
Windows is not yet an end-to-end tested support target. install.bat and the mcpb bundle contain a
Windows launcher path, but please treat it as experimental and report the result through
Support. Two Windows-specific things worth knowing:
In a terminal, use
py install.py(notpython3 install.py). The python.org installer shipspy.exeandpython.exe, but nopython3.exe; thepython3.exeyou may see under the Microsoft Store is an App Execution Alias stub that just opens the Store instead of running.Plugin can't find Python? Set
CONSILIUM_PYTHON=pyin your environment before launching Claude Code. The plugin's server command defaults topython3and honors this override. (The Claude Desktop path needs nothing —board.py mcp-configwrites the exact interpreter for you.)MCP configuration: run
py -3 scripts/board.py mcp-config --json(orpy -3 scripts/board.py mcp-installfor Claude Desktop). Ifpyis absent, usepythononly after confirming it is Python 3.10+; do not use the Storepython3alias. SeeCONNECT-MCP.en.mdfor the exact fallback.
Codex CLI and Kimi Code CLI (experimental)
python3 install.py --host codex # or: kimi, all; add --dry-run to see the plan firstThe installer puts the skill where each CLI looks for it and registers the MCP server (codex mcp add for Codex, a backed-up merge into ~/.kimi-code/mcp.json for Kimi). A stale Codex entry that
points to a missing path is replaced, and its per-tool approval settings are kept. Details:
docs/CONNECT-HOSTS.en.md.
A council of different models, on your subscriptions
One model wearing several hats makes correlated mistakes. If you have Claude Code, Codex or Kimi Code installed and logged in, the council can seat a different model in each chair without any API key: ask your agent to "run the council on my subscriptions", or from a terminal:
python3 scripts/federation/sub_worker.py --open --session s1 \
--question "Should I quit my job to start a business?" \
--advisors advisors/marcus-aurelius,advisors/machiavelli --backends claude,codexEvery subscription plays every advisor; quotes still go through the corpus check, and only the server can mark one 🔵. Your question goes to those providers under your account and spends your quota (privacy, limitations §7–8).
Your board, your call
An empty board out of the box is normal. Who sits at the table is your call; the board is personal. Public-domain sages (the Stoics, Sun Tzu) are assembled with one phrase. Modern thinkers come from materials you bring yourself.
⚖️ Boundary. Consilium is a fidelity engine, not a content distributor: it ships the machinery, you bring the sources. The skill does not download copyrighted books. Public domain is taken freely; copyright means only your own legal copies, which stay on your machine. The sages we ship pre-assembled are public-domain figures long deceased; anyone modern you build yourself. Your board (
advisors/) and your profile are personal data; they never go into the repository.
How it's built
Search has two support tiers: SIMPLE is the standard-library lexical floor; FULL adds
Ollama with bge-m3 for semantic cross-language search. Hybrid retrieval is opt-in, not a
third support tier. The protective contour is separate: it checks every quote against its source
regardless of the selected tier. Details in SKILL.md (in Russian) and the generated docs/MANUAL.md (in Russian).
Technical design
The full technical manual (what this is, architecture, tool/rule reference, how to extend it) lives
in docs/MANUAL.md. It's generated from code (scripts/gen_selfdoc.py →
scripts/build_manual.py); at runtime the same information is available via the MCP tool explain_self.
FAQ
What is Consilium Principis? Consilium Principis is an open-source AI advisory board — a skill for Claude Code and an MCP server — that convenes a panel of AI personas of real thinkers (Sun Tzu, Marcus Aurelius, Machiavelli, Epictetus, and any you add) to reason through a decision. Its distinguishing feature is a fidelity contour: every verbatim quote is verified against the author's genuine text, or the advisor abstains.
How does it verify quotes? Each 🔵 quote is checked by code against the author's public-domain corpus, word-for-word. If a claim isn't found in the source text, the advisor does not present it as a quote — it stays silent (fail-closed) rather than inventing one. You re-verify it, not take it on faith.
How is this different from asking an AI to roleplay a sage? A roleplay chatbot will happily fabricate a plausible-sounding quote. Consilium either proves the quote against the real text or declines to attribute it. Disagreement between advisors is a feature, not a bug: each speaks through a different lens.
Does it need an API key or extra payment? Consilium itself needs no separate key or subscription. It uses your existing agent, whose model or provider may have its own charges. Quote verification needs no network; full offline operation requires local models.
Which thinkers are included, and can I add my own? Public-domain figures (the Stoics, Sun Tzu, Machiavelli) are assembled from their own texts with one phrase. You can add any advisor yourself from public-domain or your own legal materials, which stay on your machine — the repository ships only the machinery, never copyrighted sources.
Is it free and open-source?
Yes. It is MIT-licensed and open-source. Install with /plugin marketplace add ilyautov/consilium-principis.
Contributing and security
PRs are welcome, but two rules are non-negotiable: only public-domain texts (no copyrighted
material, not even excerpts) and never weaken the fail-closed contour (🔵 only via code
verification). How to set up, run the offline suite, and open a PR is in CONTRIBUTING.en.md.
Found a way to bypass the fidelity contour or a data leak? That's a first-class vulnerability,
report it privately via SECURITY.en.md. Support and project governance are in
SUPPORT.md and GOVERNANCE.md; change history is in
CHANGELOG.md.
Who built this
Ilya Utov, the AI Frontier lab. I write about how these tools work inside on Telegram and LinkedIn.
Nearby:
humanizer-ru: strips the AI fingerprint out of Russian text
marketplaces-mcp-ru: Wildberries, Ozon, Yandex Market and Avito straight from the agent
small-business-ru: 34 skills for Russian small business, the numbers computed in code
hefest: chemical safety for an industrial plant, kept inside the plant's own network
cordon: a deterministic layer between untrusted content and agent actions
Everything in one list, grouped by what it does: ilyautov.github.io. Source: github.com/ilyautov. Useful? Star it, that is how other people find it.
Available Tools
65 toolsadd_sourceA
Затянуть источник в sources/ советника БЕЗ шелла: url (фетч + авто-strip Gutenberg) | text (вставка) | path (локальный текст-файл). Проставляет тир (P1=🔵 первоисточник). Скачивание — ПОДТВЕРДИ у юзера; не-PD хост требует license=public-domain. Потом build_advisor для сборки корпуса.
Inputs: advisor_dir (required), url, mode, path, +6 more.
advisor_weightsA
Калибровка совета по ИСХОДУ (петля U1): кто был прав ДЛЯ ТЕБЯ → вес голоса. records=[{advisor,outcome,endorsed}]. Laplace: без данных вес нейтрален.
Inputs: records (required).
atomic_groundingC
Атомарная верность: разбить заявление на атомы, сверить каждый гейтом, дать inflation gap (насколько единый score завышает обоснованность).
Inputs: text (required), advisor_dir (required).
board_statusA
Шасси-онбординг: что на доске готово (Принцепс/советники/линзы) + ОДИН приоритетный следующий шаг сборки. Зови в начале, чтобы вести юзера за руку. Может вернуть pending_outcomes (решения без исхода) + loop_nudge — следуй ему.
Inputs: no named parameters.
build_advisorA
Собрать советника под ключ ИЗ АГЕНТА: манифест-гейт → corpus → kernels → индекс. advisor_dir = advisors/{имя}. ФОНОВЫЙ ДЖОБ (долго): вернёт {job_id} сразу — опрашивай job_status(job_id), не жди здесь. Сначала validate_manifest.
Inputs: advisor_dir (required), author, run_index, run_kernels.
build_lensB
Собрать grounded-ЛИНЗУ из любого источника (линзы > личности). Основа → P1 (🔵 дословные слова), reading_notes → U1 (🟡 твоё прочтение, не выдаётся за слова автора). Основа: ground_text (вставка) | ground_url (фетч PD-тома + Gutenberg-strip) | ground_path (файл в репо). kind: personality («автор как читаю Я») | method | self. Пишет в advisors/ (личная, не шипится); сразу зови в cite/retrieve. Сбор ИНТЕРАКТИВНЫЙ (правило #8): спроси источник + «как ТЫ читаешь».
Inputs: name (required), axis, dest, kind, +8 more.
calibrateD
Рекомендация подачи (светлый/тёмный) по журналу решений + guardrail захвата. Метрика — одобрено-задним-числом, не послушался-ли.
Inputs: log_text (required).
calibrated_consult_closeA
Зафиксировать ТВОЮ позицию ПОСЛЕ ответа совета + получить ЗЕРКАЛО (сдвиг позиции, инфляция уверенности, подавлено ли «не знаю»). followed_council: принял ли ты позицию совета. prediction (опц.): resolvable-прогноз (контракт decision_card) для калибровки по исходу. Идёт после calibrated_consult_open; закрой исход позже через calibrated_consult_resolve.
Inputs: consult_id (required), posterior_call (required), followed_council (required), posterior_confidence (required), +2 more.
calibrated_consult_journalB
Сводка ОСИ ОВЕРРЕЛАЙАНСА по твоим консультам: инфляция уверенности, сколько раз «не знаю» подавлено, калибровка followed-совета против самостоятельных. Малое N → trustworthy=false (мало данных).
Inputs: no named parameters.
calibrated_consult_openB
Анти-оверрелайанс ИНСТРУМЕНТ (не совет): зафиксировать ТВОЮ позицию + уверенность (0..1) ДО ответа совета, чтобы потом увидеть свой сдвиг. Зови в режиме calibrated-consult ПЕРЕД тем как спросить совет. Пишет запись (Rule 0). Затем calibrated_consult_close после ответа совета.
Inputs: question (required), prior_call (required), prior_confidence (required), prior_abstain.
calibrated_consult_resolveA
Проставить ИСХОД консульту (когда факт лёг): outcome={resolved_on, occurred|actual, endorsed?}. Кормит калибровку оси оверрелайанса. Fail-closed: нужен прогноз в консульте и верный тип исхода. Сводку оси смотри в calibrated_consult_journal.
Inputs: outcome (required), consult_id (required).
capture_situationB
Захват контекста: сырой дамп (чат-лог конфликта/описание решения) → структура (акторы, реплики, явные вопросы). Вход для карты и рейм-чека.
Inputs: text (required).
catalog_addA
Собрать PD-советника ЛОКАЛЬНО из каталога/url. ПОДТВЕРДИ у юзера (Rule 0) — покажи catalog_preview первым. Fetch→сверка подписи (fail-closed на дрейфе)→сборка в advisors/. Не-PD хост требует license=public-domain.
Inputs: ref (required), license.
catalog_listA
Список PD-фигур каталога (общественное достояние) — id/имя/место/издание/PD-basis. Без фетча. Чужой выбирает, кого собрать в совет.
Inputs: no named parameters.
catalog_previewA
Превью PD-издания перед сборкой: сэмпл текста + подпись + PD-host + warnings. НЕ собирает. Это consent-карточка — покажи юзеру ПЕРЕД catalog_add. ref = id каталога ИЛИ прямой url.
Inputs: ref (required).
catalog_searchB
Поиск PD-издания фигуры ВНЕ каталога (Gutenberg через gutendex). Возвращает кандидатов с PD-basis. Оффлайн → честная ошибка.
Inputs: author (required).
catalog_verifyB
Ритуал целостности каталога (как moat-check): обойти записи, сверить подпись/PD-basis, репортить дрейф. Без сборки.
Inputs: no named parameters.
citeA
ГОТОВЫЕ 🔵-цитаты под довод (вместо ручной сборки — так цитата не станет пересказом). Возвращает {quotes:[{text,source,marker}…], best} — вставь любой как есть в opinion.quote, marker подтверждён. Recall: query можно СПИСКОМ формулировок, давай их в ЯЗЫКЕ КОРПУСА (English) — находок больше; ретрив якорится по кернелам советника. Нет дословного → quotes:[], 🟡. НЕ переписывай text. Может вернуть phase=judgment_request (host-режим судьи): тогда цитат ещё нет — честно оцени кандидатов по рубрике 0-3 и вызови gate_verdict.
Inputs: query (required), advisor_dir (required), limit, top_k, +1 more.
close_decision_cardA
Закрыть Decision Card фактом исхода (МУТИРУЮЩИЙ, Rule 0): числа (occurred для event / actual в ТЕХ ЖЕ единицах для metric) идут в Card, глиф ✅/❌ остаётся человеку в markdown. Ищет карту по card_id (скан decisions/) или path. outcome={resolved_on, occurred|actual, endorsed?, note?}. Fail-closed: чужие единицы / дата раньше created → отказ. Потом зови prediction_calibration.
Inputs: outcome (required), path, card_id.
config_getA
Прочитать board_config.json (тюнинг без правки файла): весь конфиг или один ключ (retrieval_mode, abstain_threshold, hybrid_alpha…).
Inputs: key.
config_setA
Записать ключ в board_config.json (тюнинг из хоста, persistent). ПОДТВЕРДИ у юзера перед вызовом. Напр. retrieval_mode=auto|hybrid, abstain_threshold=0.5.
Inputs: key (required), value (required).
council_verdictA
Вердикт совета по scorecard (read-only, ноль LLM, считает код): после форума по вопросу-решению каждый советник сдаёт оценки вариантов 0..10, вес линзы 1..3, уверенность 1..5, ruin_risk, door, change_my_mind, question_for_user. → метка ИДТИ / ИДТИ С УСЛОВИЯМИ / ПЕРЕДЕЛАТЬ / НЕ ДЕЛАТЬ / ЖДАТЬ, баллы с математикой, разброс, уверенность совета, overrides (потолок разорения, необратимость при расколе, тревога единодушия, ЖДАТЬ), missing. track_weights — выход advisor_weights как есть (множитель зажат 0.5..1.5). Ошибки (errors) доноси ВОПРОСАМИ совета.
Inputs: scorecard (required), lang, track_weights.
decision_recordA
Протокол заседания (decision-record / минуты) — по ЯВНОМУ запросу юзера («протокол», «минуты», «оформи решение»). Собирает канонический ВЫХОД совета: позиции советников с допущениями, диссент (из disagreement), решение+статус, триггеры пересмотра, provenance-счётчики маркеров. МОАТ: тиры (🔵/🟢/🟡) копируются as-is из session.advisors[].opinions[].marker (гейт проставил их раньше) — тул НИКОГДА не поднимает и не изобретает 🔵. Ноль LLM, чистая агрегация переданного объекта.
Inputs: session (required), surface.
diversity_checkA
Ортогональность состава совета (read-only, эхо-камера-детектор): diversity 0..1, дубли-голоса (similarity >= 0.5 → flag=dup), непокрытые оси мышления. ОБЯЗАТЕЛЬНО перед созывом совета (правило 18в): diversity < 0.5 = эхо-камера — предупреди юзера, предложи контр-голос.
Inputs: advisor_dirs (required).
doctorA
Health-check машины БЕЗ выхода из агента: Python, скилл установлен, какой тир (ollama?), самотест рва (P1→🔵, фейк→None). Read-only. Зови, чтобы понять, готова ли эта машина собирать.
Inputs: no named parameters.
explain_selfA
Объяснить устройство самого проекта: что это, как работает конкретный тул/правило/концепт (моат/firewall/архитектура), термин глоссария. Возвращает ФАКТЫ с source_ref — проговори их юзеру. topic: пусто|overview | tool:<имя> | rule: | recipe: | concept:moat|firewall|architecture|extend | term:<слово> | свободный текст.
Inputs: topic.
export_sessionA
Шеримый пруф заседания (по ЯВНОМУ запросу юзера — правило 0). Отдаёт самодостаточный md (дефолт) | html артефакт: вопрос → советники → 🔵-цитаты с источником → синтез + панель «что совет НЕ стал выдумывать» (session.abstentions) + атрибуция. Приватность: только текущее заседание (переданный объект), файлов не пишет — верни content юзеру, сохраняет он.
Inputs: session (required), surface, include_abstentions.
federation_assembleB
Собрать совет: сгруппировать кандидатов по роли, СЕРВЕР сверяет верность цитат централизованно (воркер не сертифицирует 🔵), сохранить дивергенцию (не best-of-N) + идентичность моделей. Пустая роль → host_single_brain (diversity reduced). verdict PASS/FIX/ESCALATE.
Inputs: session_id (required).
federation_cancel_subscriptionsA
Остановить фоновых подписочных воркеров сессии (запущенных federation_run_subscriptions): гасит их процессы вместе с CLI-детьми и чистит реестр. МУТИРУЮЩИЙ — по просьбе юзера (передумал, квота горит).
Inputs: session_id (required).
federation_claimB
Исполнитель забирает роль-таск (блокирующе до timeout) → структурный бриф {task_id, claim_token, role, advisor_dir, question} или {empty}. Сыграй advisor_dir на СВОЕЙ модели, цитаты через cite, затем federation_submit.
Inputs: worker_id (required), roles, timeout.
federation_heartbeatB
Исполнитель продлевает lease роль-таска (task_id, worker_id, claim_token), пока играет роль. stale → задача уже переназначена.
Inputs: task_id (required), worker_id (required), claim_token (required).
federation_openB
Координатор совета-федерации: разложить план ролей в очередь по N реплик (многомозговый совет — исполнители играют роли на СВОИХ моделях). plan = [{role, advisor_dir, question, replicas?}]. Стейт локально в .consilium/. Personal/attended (опциональный многомозговый режим).
Inputs: plan (required), session_id (required), replicas_default.
federation_pollA
Статус сессии-федерации: счётчики pending/claimed/done/dead. Опрашивай, пока роли набирают кандидатов, затем federation_assemble.
Inputs: session_id (required).
federation_run_subscriptionsA
Сыграть ОТКРЫТУЮ сессию федерации подписками юзера: фоновый воркер, каждая подписка (claude/codex/kimi) играет каждую роль своей моделью, цитаты — через наш retrieve, 🔵 ставит сервер на assemble. МУТИРУЮЩИЙ + EGRESS (вопрос уходит провайдерам подписок, тратится квота) → ТОЛЬКО с явного согласия юзера, назвав подписки. replicas в federation_open = числу подписок. Сразу отвечает; дальше federation_poll до pending=0/claimed=0 → federation_assemble.
Inputs: session_id (required), roles, models, backends.
federation_submitA
Исполнитель кладёт СЫРОГО кандидата {argument, quotes:[{text}]} + worker_model (своя модель). Валидация размер/типы/control-chars; маркеры НЕ ставь — сервер сверит на assemble. stale claim_token → отклонён.
Inputs: task_id (required), candidate (required), worker_id (required), claim_token (required), +1 more.
fidelity_checkB
Протокол-гейт контура: проверить, дословна ли цитата в корпусе советника → 🔵 (P1/P2) / 🟢 (S1/S2) / 🟡 (не найдено). Помечать 🔵 ТОЛЬКО при 🔵 отсюда.
Inputs: quote (required), advisor_dir (required).
gate_verdictA
Фаза 2 судейства cite (host-режим): передай nonce из judgment_request и свои ЧЕСТНЫЕ оценки релевантности ratings={id: 0-3} по приложенной рубрике — для КАЖДОГО кандидата. Порог и маркеры применяет СЕРВЕР (решение в коде), оценки логируются. Оценки гейтят ТОЛЬКО релевантность; завышение ради цитат ломает контур. Кривой/истёкший/повторный nonce или пропущенные оценки → fail-closed (🟡/0).
Inputs: nonce (required), ratings (required), advisor_dir (required).
governance_verifyB
Целостность корпуса (Барсик hash-chain): подмена рвёт цепь. Даёт отпечаток-хеш + гистограмму тиров. path = каталог советника/линзы или путь к .jsonl.
Inputs: path (required).
ingest_telegramA
Публичный Telegram-канал → корпус Принцепса (твои слова = P1). ФОНОВЫЙ ДЖОБ (сеть): вернёт {job_id}, опрашивай job_status. handle = @name или name. 0 постов = приватный/неверный/sandbox-блок сети.
Inputs: handle (required), out_path.
job_statusA
Статус фонового джоба по job_id (от build_advisor/seed_council/ingest_telegram): status = running | done (с result) | error (с error). Опрашивай, пока не done.
Inputs: job_id (required).
list_recipesA
Меню «что умеет совет» простыми фразами — покажи юзеру, когда он не знает, что спросить, или просит «что ты умеешь / с чего начать». surface: data (сырые рецепты, дефолт) | widget (кликабельный HTML для show_widget в Cowork) | html (самодостаточный фолбэк).
Inputs: surface.
loop_statusA
Петля исхода. БЕЗ аргументов (старт новой сессии): сам читает журналы (principis.md + relationship.md) и отдаёт висящие ⏳-решения + hint, как мягко предложить их закрыть; ноль висящих → тихий {count:0}. С ledger [{decision_id,predicted,actual,endorsed}] — сводка: открыто/закрыто + точность прогнозов + доля одобренных.
Inputs: ledger.
mirror_reportC
Зеркало дрейфа: заявленные векторы (во времени) vs одобренные выборы → разрыв «говоришь X, выбираешь Y» + дрейф вектора. Не советует, отражает.
Inputs: stated (required), decisions (required).
ollama_ensureA
Поднять FULL-тир из тула: стартует ollama serve, если бинарь есть. Единственный ручной шаг — первая установка бинаря (вернётся в manual). Потом ollama_pull.
Inputs: no named parameters.
ollama_pullB
Скачать модель эмбеддингов в запущенный ollama (идемпотентно). default bge-m3.
Inputs: model.
ollama_statusB
Состояние FULL-тира: запущен ли ollama и скачан ли bge-m3. Без падений.
Inputs: no named parameters.
pending_outcomesC
Сёрфейсер петли U1: незакрытые решения (⏳) из журнала — «вернись и закрой». Без этого исходы висят вечно и петля не накапливается.
Inputs: journal_text (required).
prediction_calibrationA
Числовая калибровка ПРОГНОЗОВ (не подачи): по закрытым Decision Card считает Brier/log score (события) и MAE/покрытие интервала (величины), журнал по группам kind+unit. Показывай юзеру ТОЛЬКО группы trustworthy=true (малый N шумен). Расхождение прогноза и факта — калибровка модели юзера, не провал.
Inputs: no named parameters.
premortemB
Пре-мортем исхода: сценарии [{label,value,prob}] → ожидаемый исход + крайние случаи. trustworthy=False без истории попаданий (анти-театр).
Inputs: scenarios (required), ledger.
proof_cardA
Виирал-ассет «show your work»: самодостаточная html-карточка ОДНОЙ цитаты с источником + бейдж «🔵 дословно, с первоисточником». Fail-closed: если цитата НЕ дословна в P1/P2-корпусе советника → {verified:false, content:null} (карточки нет — суть рва). advisor_dir = advisors/{имя} или lenses/{имя}.
Inputs: quote (required), advisor_dir (required).
quote_of_dayA
Ретеншн-крючок (PULL-ONLY, по запросу): одна 🔵-verbatim-цитата дня из P1/P2-корпуса собранного советника + источник. Детерминирована по дате (в течение дня стабильна). advisor_dir опционален (нет → первый собранный). Нет P1/P2-цитат → {note} (не выдумывает generic-мудрость).
Inputs: date, advisor_dir.
render_sessionA
ОБЯЗАТЕЛЬНЫЙ финал заседания совета в Cowork: отрисовать canon-объект заседания виджетом. Зови этот тул ПОСЛЕДНИМ действием, потом скорми вернувшийся content в mcp__visualize__show_widget — вердикт прозой НЕ пиши. surface: widget (Cowork, дефолт-выбор, кликабельный sendPrompt) | md (только если show_widget недоступен) | html (фолбэк). Контур/гейт 🔵 пройдены ризонингом ДО рендера. Рендер ДОПОЛНИТЕЛЬНО валидирует атрибуцию: 🔵/🟢-цитата, не верифицируемая корпусом СВОЕГО советника, понижается до нарушения (не переставляй цитаты между советниками); «blue» на цитате из комментария (S-тир) понижается до green. Клади advisor_dir в каждый advisors[]-блок — надёжный канал атрибуции (имя — exact-match фолбэк). depth=plain по умолчанию. См. session_render.py.
Inputs: session (required), kind, depth, surface.
retrieveC
Grounded-пассажи из корпуса советника под запрос (чистый контекст для ризонинга).
Inputs: query (required), advisor_dir (required), top_k.
run_calculationA
Детерминированный Монте-Карло по ВАЛИДНОЙ карте решения (ноль LLM в счёте: считает код, сид фиксирован, тот же сид → тот же результат). Невалидная карта → отказ с errors (fail-closed, доноси их вопросами совета). Возвращает на вариант mean/median/p10/p90, P(лучший), expected_regret, торнадо, top_uncertainties + label_text — готовую «📐 рамку»: показывай расчёт ТОЛЬКО с ней, лейбл «📐» — рядом с 🔵/🟢/🟡, НИКОГДА не смешивая.
Inputs: map (required), n, seed.
save_decision_cardA
Записать Decision Card артефактом decisions/<дата>-.card.json — момент РЕШЕНИЯ (я выбрал вариант X): UUID (dc_…), prediction contract (числа из mc_run хранятся ЧИСЛАМИ: event probability ИЛИ metric p10/p50/p90+единицы), допущения, критерий успеха, дата ревью. МУТИРУЮЩИЙ тул: зови ТОЛЬКО с согласия юзера (Rule 0), ОДИН РАЗ после того как юзер выбрал вариант. chosen_option — id из map.options или null (defer). Нужна дата возврата: review_date или review_horizon_days. Возвращает card_id + journal_line с якорем. Закрытие исхода — close_decision_card, точность — prediction_calibration.
Inputs: map (required), chosen_option (required), n, form, +12 more.
save_decision_mapA
Сохранить карту решения артефактом decisions/<дата>-.json в корне доски (внутри — карта + МК-сводка с predicted). МУТИРУЮЩИЙ тул: зови ТОЛЬКО с явного согласия юзера (правило 0) — предложи ОДИН РАЗ после расчёта. Возвращает path + journal_line («Прогноз: 📐 …») — готовую строку прогноза для записи в журнал решений (§4.3). slug — латиница/цифры/дефисы.
Inputs: map (required), n, seed, slug.
scaffold_principisB
Собрать principis.md из ответов юзера (who/vector/interface_mode/temperament/not_known). Вектор не дан → пробел держим живым. Возвращает markdown — запиши его.
Inputs: answers (required).
seed_councilA
Собрать стартовый совет PD-мудрецов (Аврелий+Эпиктет) с нуля — холодный старт без шелла. ФОНОВЫЙ ДЖОБ (долго + сеть Gutenberg): вернёт {job_id} сразу, опрашивай job_status. Идемпотентно по уже собранным.
Inputs: no named parameters.
setup_fullA
Поднять FULL-тир (семантика) ИЗ АГЕНТА: системный ollama НЕ ставим молча (вернём инструкцию под ОС), модель bge-m3 — авто-pull при consent. Возвращает шаги + финальный статус. consent=false → только план, без выполнения.
Inputs: consent.
situation_analyzeB
Ситуационная карта: оценить дерево ходов (ты+оппонент). Возвращает оценку, главную линию, ЧЕСТНЫЙ вердикт. opponent∈{self,person,world}, stance∈{competitive,cooperative}. Фабрикацией (grounded:false) не выигрывают.
Inputs: tree (required), stance, opponent.
situation_stress_testB
Adversarial-стресс-тест карты: держится ли линия под возмущениями мира (invalidate/weaken/inject_counter). Даёт robustness и fragile_under. Возмущает мир/позицию, НЕ уста советников.
Inputs: tree (required), perturbations (required), stance.
stabilityC
Доверие через стабильность: вердикты N прогонов → robust/leaning/coin-flip. Отличает устойчивый вывод от монетки в обёртке мудрости.
Inputs: verdicts (required).
subscriptions_statusA
Какие подписочные CLI установлены (Claude Code / Codex / Kimi Code) — кандидаты в мозги многомодельного совета без API-ключа. probe=true — живой пинг каждой подписки (тратит крошку квоты, ловит исчерпанный лимит/разлогин). Read-only.
Inputs: probe.
validate_decision_mapA
Гейты честности карты решения («Principis-расчёт», fail-closed): каждая величина подтверждена юзером (confirmed_by_user), тройки min<=mode<=max / prob в [0,1], статус-кво вариант есть, формулы парсятся, у каждой — словесная версия. → {valid, errors[]}. Ошибки доноси до юзера ВОПРОСАМИ совета, не техдампом. Зови после допроса карты, ПЕРЕД run_calculation.
Inputs: map (required).
validate_manifestA
МОАТ-гейт сборки: проверить тир-манифест советника — region-маркеры реально есть в источнике (иначе тиры съедут, 🔵 не на тех словах), тиры валидны, файлы на месте. Зови ПЕРЕД build-advisor. advisor_dir = advisors/{имя}.
Inputs: advisor_dir (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 65 tools
Despite very detailed descriptions, several families blur together: render_session/export_session/decision_record all output a session, save_decision_map/save_decision_card both persist decision artifacts, and the calibration cluster (calibrate, prediction_calibration, calibrated_consult_journal, advisor_weights, mirror_report) is hard to tell apart. loop_status/pending_outcomes/board_status all surface pending outcomes, adding further overlap. An agent must read carefully to avoid misselection.
Names are consistently snake_case and grouped by prefix families (federation_*, catalog_*, ollama_*, calibrated_consult_*), which aids readability. However the verb/noun convention is mixed: some are noun_status (board_status, job_status), some verb_noun (build_advisor, seed_council), and many are bare nouns/verbs (cite, retrieve, calibrate, premortem, doctor, stability). No single predictable pattern across the set.
65 tools is far beyond a manageable surface and well past the 25+ threshold for 'too many'. The domain (multi-brain federation, PD catalog, decision science, calibration, sessions) is genuinely broad, which explains some sprawl, but many tools could be consolidated into submodes. The count alone makes discovery and correct selection difficult.
Coverage is extensive: onboarding/scaffolding, corpus building, catalog fetch/verify, federation orchestration, decision mapping/calculation, prediction and overreliance calibration, and session rendering/export are all present. Minor gaps exist (e.g. no delete/invalidate operations for advisors or saved decision artifacts), but core lifecycle paths appear well covered.
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Quotes MCP — citation-grade quote API for public-domain authors.
Illumora Craft — evidence-augmented prompt compile for agents via remote MCP (OAuth) or local stdio.
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Related MCP Servers
- AlicenseBqualityCmaintenanceA lightweight MCP server that enables querying a project's corpus (docs, decisions, issues, skills) with cited answers and typed refusals via stdio JSON-RPC 2.0.9MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI IDEs to chat with, search, explain, refactor, and audit a local codebase without uploading source code, returning answers backed by file-and-line source citations, confidence scores, and severity labels, plus audit and board-ready strategic reports. Runs locally and standalone as an MCP server compatible with Claude, Cursor, Windsurf, and DeepSeek Harness.629 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to run structured multi-persona debates over high-stakes decisions and merge their positions into an explainable consensus, complete with logged dissenting minority opinions. It runs as a zero-dependency Python MCP server or importable module, compatible with Claude Desktop, Cursor, and custom agent frameworks.7MIT
- AlicenseNot gradedqualityBmaintenanceA local stdio MCP server that exposes tools for running evidence-first research with source-linked, replayable reports, plus replay, citation-audit, and Agent Reach health checks. It preserves fetched page text, exact quote offsets, hashes, and run traces so a client can verify that quotes match retrieved sources, while withholding arbitrary shell or local-file access.1MIT