code-quorum
code-quorum
Независимые рецензии стали важной частью того, как я использую агентные инструменты. Вдохновлённый похожими работами, я создал Code Quorum для собственного использования и делюсь им на случай, если он окажется полезен другим.
Code Quorum — это macOS-совет из нескольких агентов для Claude Code и Codex. Активный хост пишет собственный обзор, оценку или план, пока внешние места работают параллельно. Структурный барьер против предвзятости сохраняет каждую точку зрения независимой до финального синтеза.
Он может использовать существующие подписки Claude Code, ChatGPT/Codex и Gemini/Antigravity. Место OpenCode использует OpenRouter, с DeepSeek V4 Flash в качестве модели по умолчанию. Поддерживаются оба CLI-хоста, а также Codex в настольном приложении ChatGPT и поверхность Code в настольном приложении Claude.
Хост | Внешний совет по умолчанию |
Claude Code | Codex + Gemini + OpenCode |
Codex | Подписка Claude + Gemini + OpenCode |
Хост никогда не является также местом подпроцесса. Разделение start/await требует, чтобы
хост сформировал собственный ответ до того, как q_await откроет вывод коллег, и каждый
навык совета вызывает блокирующее уведомление о завершении в том же ходе, что и его
запуск.
Внешние места доступны только для чтения, но «только для чтения» не означает «данные локальны». Изучите Безопасность и границы данных перед использованием Code Quorum для частных материалов.
Каждый запуск совета MCP, читающего репозиторий, требует явного абсолютного cwd проекта.
Инструменты MCP отклоняют пропущенное или пустое значение, а не возвращаются к каталогу
плагинов или времени выполнения сервера. Навыки хоста предоставляют это значение при обычном
использовании /q-* и $code-quorum:q-*. Файлы планов и областей также должны разрешаться
внутри этого каталога; абсолютные пути, обход .. и побеги через симлинки отклоняются до
чтения их содержимого.
Рабочие процессы
Хост может выбрать рабочий процесс из соответствующего запроса на простом языке. Используйте формы ниже, чтобы выбрать его явно:
Рабочий процесс | Claude Code | Codex | Shell |
План |
|
|
|
Мозговой штурм |
|
|
|
Skystorm |
|
| навык только для хоста |
Проверка |
|
|
|
Обзор |
|
|
|
Исследование |
|
|
|
Справка |
|
| навык только для хоста |
uv run quorum --help перечисляет точную поверхность оболочки. Основные модификаторы:
Опция | Эффект |
| Добавляет ещё один раунд расхождений для мозгового штурма хоста или расширяет проверку/обзор до 4 раундов с ротацией позиций. |
| Заставляет более поздние раунды проверки/обзора атаковать позиции коллег вместо пересмотра в сторону согласия. |
| Объявляет области в границах, вне границ и принятого риска для обзора всей кодовой базы. |
| Заставляет исследование хоста искать междисциплинарные аналогии вместо прямого предшествующего искусства. |
| Запускает мозговой штурм или skystorm только на основе модельных априорных знаний. |
Источники исследований и учётные данные
q-research по умолчанию запрашивает все шесть источников. Повторите --source <name>, чтобы
ограничить запуск.
Источник | Цель | Политика учётных данных |
arXiv ( | Научные статьи и препринты из поиска arXiv. | Нет. |
OpenAlex ( | Недавние работы и аннотации; исследовательский режим также создаёт карту подполей. |
|
Europe PMC ( | Препринты по биологическим наукам из bioRxiv, medRxiv, Research Square и подобных источников; записи arXiv исключены. | Нет. |
Context7 ( | Совпадения библиотек с высоким доверием и фрагменты документации. |
|
GitHub ( | Публичные репозитории, сопоставленные по имени, описанию и темам, затем ранжированные по звёздам. |
|
Hugging Face ( | Публичные идентификаторы моделей и метаданные, ранжированные по загрузкам. Результаты с запасным термином содержат |
|
Code Quorum читает учётные данные из окружения процесса и отправляет токены только в заголовках авторизации. Сгенерированный адаптер Codex пересылает указанные переменные, но не сохраняет их значения в артефакте плагина. OpenAlex — единственный источник, требующий ключ для обычного использования; остальные улучшают надёжность или лимиты скорости.
Проверьте поиск Hugging Face из клона с помощью:
uv run quorum research "sentence embedding" --source huggingface --limit 5
uv run pytest tests/test_research_live.py -m live -k huggingface -qПроверка CLI должна вернуть ссылки на модели и ненулевой счётчик источника HuggingFace.
Живые тесты покрывают прямой поиск, аутентификацию с настроенным токеном,
объединение по отличительным терминам и полный путь research_topic. Без токена
тест аутентификации пропускается, а анонимные проверки всё равно выполняются.
Related MCP server: Moderator MCP Server
Требования
Code Quorum в настоящее время поддерживает macOS и требует Python 3.13+,
менеджер пакетов uv и двоичные файлы для
мест, которые вы собираетесь использовать. Каждое место полагается на собственный вход или ключ;
Code Quorum не записывает значения учётных данных в артефакты плагинов. CLI мест сохраняют
собственную аутентификацию и состояние выполнения, как описано в SECURITY.md.
Место | Двоичный файл | Аутентификация | Стоимость |
codex | собственный вход CLI ( | подписка ChatGPT или оплачиваемый API-ключ | |
gemini | Google OAuth через | подписка Google AI; оплачиваемый | |
opencode |
| оплата через OpenRouter | |
claude (только хост Codex) | собственный вход claude.ai в CLI | только подписка Claude; маршрутизация через API-ключ удалена |
Место Gemini зависит от песочницы Seatbelt macOS; Claude использует вместо этого список разрешённых инструментов чтения. Хост Codex также нуждается в узко ограниченном помощнике LaunchAgent для своих мест Claude и Gemini. Codex и OpenCode не зависят от Seatbelt, но не тестировались на других платформах.
Установка
Клонируйте стабильный снимок и настройте места:
git clone https://github.com/sdewell/code-quorum.git
cd code-quorum
uv sync
agy # complete Google OAuth login, then exit
uv run quorum setup-agy # one-time Gemini seat config
uv run quorum setup-models --host claude # use --host codex for Codex
uv run quorum doctor --host claude # or codex / both
uv run quorum auth-check --seat gemini --host claudedoctor проверяет двоичные файлы, форму конфигурации и готовность песочницы. Он не
тестирует живые учётные данные. auth-check запускает agy models внутри той же
песочницы, что и место, и требует как минимум одну допустимую строку модели без
отправки запроса модели. Отсутствующий или отозванный вход направляет пользователя обратно
к интерактивному agy; Code Quorum никогда молча не переключается на оплачиваемый маршрут API.
На хосте Codex установите и проверьте помощника из реального терминала перед проверкой аутентификации Codex:
uv run quorum install-seat-helper-launchagent # --allowed-root <dir> to widen
uv run quorum seat-helper-status
uv run quorum auth-check --seat gemini --host codexКаждый рабочий процесс MCP по умолчанию разрешает cwd в ~/Code и ~/src;
помощник Codex применяет те же корни перед принятием запросов Claude или Gemini.
Установите CODE_QUORUM_HELPER_ALLOWED_ROOTS или установите помощника с повторяющимися
опциями --allowed-root, чтобы использовать другие корни проектов. Переустановите его
из обновлённого стабильного снимка после каждого обновления Code Quorum. Несовместимые
протоколы помощника закрываются с ошибкой, а установка из заменяемого кэша плагинов Codex
отклоняется.
Границы только для чтения
Каждое внешнее место доступно только для чтения и отказывается запускаться, если его граница не может быть применена. Принуждение различается по месту: Codex использует собственную песочницу только для чтения, Claude предоставляет только инструменты чтения, Gemini использует macOS Seatbelt, а OpenCode использует изолированный HOME с ограниченными разрешениями.
Профиль Seatbelt для Gemini запрещает чтение других домашних каталогов, с явными
исключениями для аутентификации agy и состояния выполнения. Он не запрещает читаемые пути
за пределами $HOME. Code Quorum не предоставляет универсального ограничения путей для Claude,
Codex или OpenCode. Материалы совета могут покинуть машину через настроенные учётные записи
провайдера пользователя. Полная таблица границ, карта утечки данных, рекомендации по строгой
изоляции и обработка учётных данных находятся в SECURITY.md.
Данные и одобрения в Codex
Codex рассматривает одобрение инструментов, ограничение файловой системы и авторизацию
отправки материала за пределы машины как отдельные решения. Цель, такая как main...HEAD,
ограничивает подготовленный дифф обзора; она не ограничивает доступ внешнего места
только для чтения к рабочему каталогу.
Когда включено approvals_reviewer = "auto_review", запуск совета может потребовать
явной авторизации с указанием полезной нагрузки и получателей. Пользователи, желающие
неавтоматизированного доступа, могут выбрать это для каждого инструмента, но Code Quorum
никогда не записывает такие записи одобрений самостоятельно.
SECURITY.md содержит пример разовой авторизации, все шесть блоков одобрения Codex (включая общий инструмент q_await), руководство по проекту AGENTS.md, ограничения по изоляции путей и процедуру обновления с сохранением одобрений. Изучите его перед включением автоматических рабочих процессов.
Конфигурация
Каждое место разрешает свою модель по одной лестнице, побеждает первое совпадение: флаг запуска -> переменная окружения -> выбор, записанный quorum setup-models -> поставляемая привязка. Записанные выборы никогда не меняются молча; место, которое не может их выполнить, громко завершается с ошибкой, а остальной совет продолжает работу.
uv run quorum setup-models --host claude
uv run quorum setup-models --seat codex --model gpt-5.6-terra --effort mediumПеременная | Эффект |
| профиль хоста по умолчанию ( |
| модель места Gemini (идентификатор из |
|
|
| модель места OpenCode |
|
|
| модель и уровень усилий места Claude |
| модель и уровень рассуждений места Codex |
Конфигурация OpenCode
Место OpenCode требует OPENROUTER_API_KEY и не загружает вашу личную конфигурацию OpenCode. Оно использует изолированный HOME и пересобирает эту сгенерированную конфигурацию перед каждым запуском. Поставляемая модель — openrouter/deepseek/deepseek-v4-flash; её OpenRouter chunkTimeout составляет 90000 миллисекунд.
Code Quorum устанавливает OPENCODE_DISABLE_PROJECT_CONFIG=1 и OPENCODE_PURE=1. Сгенерированный совет-агент разрешает только Read, glob и list, запрещает shell и инструменты мутации, блокирует .env и .env.*, и разрешает .env.example. Неудачные или пустые запуски записывают сырые захваты stdout/stderr в ~/.cache/code-quorum/opencode-debug, если не установлен CODE_QUORUM_OPENCODE_DEBUG=0. Каталог имеет права 0700, файлы захвата — 0600, текст подсказки опускается в метаданных команд, и сохраняются только последние 20 захватов. Сырые потоки всё ещё могут содержать проверенный материал. См. ARCHITECTURE.md и SECURITY.md для полного описания границ.
Отключение места
Если живой зонд не срабатывает из-за отсутствия места или выхода из системы, quorum setup-models может пометить его как disabled в models.toml. Отключённые места пропускаются стандартным списком и сообщаются doctor, но явный запрос --agent <seat> всё равно их запускает.
Установка в качестве плагина
Claude Code:
/plugin marketplace add sdewell/code-quorum
/plugin install code-quorum@code-quorumДля CLI Claude Code загрузите OPENROUTER_API_KEY и дополнительные ключи исследований перед запуском хоста. Например:
source ~/.zshrc.local
claudeДля настольного приложения Claude сделайте ключи доступными для текущей сессии входа macOS перед его открытием:
source ~/.zshrc.local
launchctl setenv OPENROUTER_API_KEY "$OPENROUTER_API_KEY"Значение launchctl наследуется каждым последующим запущенным приложением, пока оно не будет снято, не произойдёт выход из системы или перезагрузка машины. Запустите Claude Code, затем удалите копию из сессии входа; уже работающее приложение сохраняет свою копию для подпроцессов плагина:
launchctl unsetenv OPENROUTER_API_KEYПосле установки или обновления плагина, или после изменения ключа, полностью завершите Claude Code и начните новую сессию Claude Code. Перезагрузка плагина может подхватить изменения кода, но не может изменить окружение, унаследованное работающим хостом.
Плагин Claude запускает свой MCP-сервер с помощью uv run --directory ${CLAUDE_PLUGIN_ROOT} quorum-mcp, поэтому uv и Python 3.13+ должны быть в PATH.
Codex:
Зарегистрируйте публичный маркетплейс и установите плагин:
codex plugin marketplace add sdewell/code-quorum --ref main
codex plugin add code-quorum@code-quorum
codex plugin listДля настольного приложения ChatGPT полностью завершите и снова откройте приложение после регистрации маркетплейса. Откройте Плагины, выберите Личные, выберите Code Quorum и нажмите Установить.
После установки плагина на любой из поверхностей Codex подготовьте стабильный checkout из настоящего терминала:
uv sync
uv run quorum install-seat-helper-launchagent
uv run quorum seat-helper-statusЗапускатор Codex запускает подготовленный .venv этого checkout напрямую. Поэтому запуск MCP не зависит от записываемого кэша uv, загрузок из сети или окружения внутри заменяемого каталога плагина. Для последующих обновлений одна команда обновляет checkout, плагин, окружение, одобрения и помощник:
uv run quorum update-codexПолностью перезапустите Codex и после этого начните новый поток. Если в старом checkout ещё нет update-codex, используйте одноразовую устаревшую последовательность из SECURITY.md.
В CLI Codex откройте /hooks, чтобы просмотреть и довериться каждому хуку команд code-quorum. Codex пропускает хуки плагина, пока не будет доверено каждому текущему хэшу определения. Изменённое определение требует повторного просмотра и доверия для этого изменённого определения.
Сгенерированный запускатор восстанавливает стандартные пользовательские и Homebrew каталоги бинарников (~/.local/bin, ~/.opencode/bin, /opt/homebrew/bin и /usr/local/bin) для настольного приложения с минимальным PATH.
Для CLI Codex загрузите ключевое окружение перед запуском Codex. Для настольного приложения ChatGPT установите ключи в текущей сессии входа macOS:
source ~/.zshrc.local
launchctl setenv OPENROUTER_API_KEY "$OPENROUTER_API_KEY"Значение видно каждому последующему запущенному приложению, пока оно не будет удалено. Запустите Codex, затем удалите копию из сессии входа; работающее приложение сохраняет значение, которое оно уже унаследовало:
launchctl unsetenv OPENROUTER_API_KEYПосле обновления плагина или изменения ключа полностью завершите и снова откройте Codex и начните совершенно новый поток Codex. Не возобновляйте поток, созданный до перезапуска; его реестр инструментов может всё ещё ссылаться на предыдущий процесс плагина.
Для обновлений с сохранением одобрений никогда не используйте codex plugin remove как обычный путь. Следуйте проверенной последовательности в SECURITY.md.
Дизайн
ARCHITECTURE.md описывает общий CLI/MCP каркас, адаптеры мест, модель раундов, механизмы против предвзятости, упаковку и границы сбоев. Краткая версия: раунд 1 не содержит вывода коллег, последующие раунды анонимизируют коллег по позиции, и хост не получает матрицу совета до q_await.
Атрибуция
Эти проекты вдохновили форму рабочего процесса; никакой код, подсказки или документация не были скопированы:
SnakeO/claude-co-commands — независимая работа хоста до вывода коллег.
agentic-box/owlex — архитектура совета с несколькими агентами и когнитивные роли.
karpathy/llm-council — анонимизированное рецензирование коллег по содержанию, а не по идентичности модели.
Лицензия
MIT.
Available Tools
6 toolsq_awaitA
Block until the background council run identified by job_id
completes, then return its rounds markdown. One-shot — a job_id
can only be awaited once.
This is the blocking completion notification for every council start. The orchestrating host must not end its turn with a live job outstanding; it calls q_await after its independent work and remains blocked until this tool returns a result or error.
Errors:
job_id not found (expired, already retrieved, or invalid) → ValueError with the reason.
job cancelled by TTL or server shutdown → ValueError.
underlying council error → propagated.
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations to rely on, the description carries the full burden and does so thoroughly. It discloses that the tool blocks until completion or error, that it is one-shot (a job_id can only be awaited once), and enumerates all error scenarios (job not found, TTL cancellation, server shutdown, underlying council errors). It also conveys the operational expectation that the host must not end its turn with an outstanding job. This goes far beyond a minimal disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is highly structured: the first sentence delivers the core purpose, the second paragraph provides usage context, and a bulleted list covers errors. Every sentence earns its place; there is no fluff. The information is front-loaded with the most critical fact (blocking behavior) stated immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description fully covers what an agent needs to know to call this tool correctly: it explains the blocking nature, the one-shot constraint, the exact error outcomes, and the return value (rounds markdown). An output schema exists, so detailed return formatting is not required. There is no missing information that would prevent correct invocation or interpretation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter `job_id` has zero schema description, so the description must compensate. It does by explaining that the job_id identifies the background run, and the error section clarifies what happens if the id is invalid (expired, already retrieved, or invalid). It stops short of specifying a format (e.g., UUID), but since a valid id comes from a sibling start tool, this is sufficient for the agent to understand its role.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb ('Block'), a clear resource ('background council run identified by job_id'), and an outcome ('return its rounds markdown'). It distinguishes itself from the sibling start tools (q_plan_start, q_brainstorm_start, etc.) as the blocking completion counterpart, so an agent can immediately tell what this tool does and how it differs from its siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states that this is 'the blocking completion notification for every council start' and gives a clear directive: 'The orchestrating host must not end its turn with a live job outstanding; it calls q_await after its independent work.' It also warns that it is one-shot, leaving no ambiguity about when and how to use it. No alternative tools are mentioned, but the context of siblings being all start tools makes the usage obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
q_brainstorm_startA
Start a q-brainstorm run in the background. Returns {"job_id":
str} immediately. Each agent contributes 3-5 distinct ideas with
rationale, trade-offs, and the cheapest test that would give signal;
no synthesis. Retrieve results by calling q_await with the
returned job_id.
Between the start and the await, the caller is expected to list its own ideas — this is the structural anti-bias gate.
research, when supplied, seeds round 1 with a q_research digest as
EVIDENCE: agents are told to ground their ideas in it, recombine it, or
extend past it. Pass the raw digest markdown (verbatim from q_research) --
never your own summary of it, and never your own ideas; those stay behind
the anti-bias gate. Distinct from prior_ideas, whose do-not-repeat
framing marks content to diverge AWAY from.
prior_ideas, when supplied, seeds a divergence round: the agents are told
the listed ideas are already on the table and must not be repeated -- used
by the --extended flow to push past round 1. Composes with research
(evidence stays evidence; ideas stay do-not-repeat).
grounding, with prior_ideas, runs a validation-guide pass over the
listed ideas instead of diverging past them -- used by q-skystorm
Stage 2.
Optionally assign a cognitive stance per agent via roles, a list
of 'stance:agent' strings (stances: skeptic, architect, security,
maintainer, analyst, neutral, visionary, pioneer). Unassigned agents
use their default stance.
gemini_model, when supplied, runs the gemini seat on that agy model for
this invocation only (an id exactly as printed by agy models, e.g.
'claude-opus-4-6-thinking').
Expected wall-clock to completion: 30s-4min depending on the agents and topic complexity.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| host | No | ||
| roles | No | ||
| topic | Yes | ||
| agents | No | ||
| skip_gh | No | ||
| verbose | No | ||
| research | No | ||
| grounding | No | ||
| no_context | No | ||
| prior_ideas | No | ||
| gemini_model | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it delivers comprehensively. It discloses the async nature (runs in background, returns job_id immediately), the output format, the expected timing (30s-4min), and the behavioral constraints (agents contribute 3-5 ideas, no synthesis, anti-bias gate). It also explains the semantic difference between research and prior_ideas. No behavioral aspect is left opaque.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but well-organized into focused paragraphs. It front-loads the core behavior and return type, then explains each optional parameter and composition. Each paragraph earns its place, but the length is near the upper bound of acceptable. It is structured rather than rambling, so it scores a 4.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (12 params, no schema coverage, no annotations, and an output schema), the description covers the essential workflow and the most impactful parameters. It explains the anti-bias gate, the difference between research and prior_ideas, and the grounding pass. Missing: descriptions of verbose, skip_gh, no_context, host, and a few error-handling details, but those are minor. It is nearly complete for a working understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must explain parameters. It does explain the significant ones: research, prior_ideas, grounding, roles, gemini_model. However, it omits explanations for agents, skip_gh, verbose, no_context, host, and even cwd/topic are only implicit. For a tool with 12 parameters, the description adds value but leaves several parameters undocumented, forcing the agent to infer from names alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource ('Start a q-brainstorm run'), states the async behavior, and names the sibling tools it complements (q_await, q_research). It clearly distinguishes this from q_plan_start, q_validate_start, etc., and explains the composition with q_research and q_await. An agent can immediately understand what this tool does and how it fits.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance: 'Between the start and the await, the caller is expected to list its own ideas — this is the structural anti-bias gate.' It also names alternatives and conditions: 'Distinct from prior_ideas, whose do-not-repeat framing...' and mentions specific flows like '--extended' and 'q-skystorm Stage 2' that select the grounding mode. This is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
q_plan_startA
Start a q-plan run in the background. Returns {"job_id": str}
immediately. The current host's external seats run in parallel from a
structurally bias-free starting point. Retrieve results by
calling q_await with the returned job_id.
Between the start and the await, the caller is expected to form its own plan — this is the structural anti-bias gate.
Optionally assign a cognitive stance per agent via roles, a list
of 'stance:agent' strings (stances: skeptic, architect, security,
maintainer, analyst, neutral, visionary, pioneer). Unassigned agents
use their default stance.
gemini_model, when supplied, runs the gemini seat on that agy model for
this invocation only -- an id exactly as printed by agy models, e.g.
'claude-opus-4-6-thinking' to get a Claude answer from the same AI Pro
plan when Gemini quota is tight or a different perspective is wanted.
Expected wall-clock to completion: 30s-4min depending on the agents and codebase size.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| host | No | ||
| task | Yes | ||
| roles | No | ||
| agents | No | ||
| skip_gh | No | ||
| verbose | No | ||
| no_context | No | ||
| gemini_model | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It discloses background execution, immediate return, parallel seats, bias-free starting point, the anti-bias gate, optional role assignment, gemini_model substitution, and expected wall-clock time. It does not explicitly state side effects or permissions, but the behavior is largely transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a coherent paragraph with clear sections: execution model, the anti-bias gate, roles, gemini_model, and timing. It is somewhat verbose (e.g., 'structurally bias-free') but every sentence adds useful information and is appropriately front-loaded with the core behavior.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 9 parameters, no annotations, and an output schema, the description covers the high-level workflow and two parameters but omits critical invocation details like the meaning of 'cwd', 'task', 'host', 'agents', 'skip_gh', and 'no_context'. An agent would struggle to invoke it correctly without further documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description explains 'roles' (format and defaults) and 'gemini_model' (format and purpose), but ignores the other 7 parameters including required ones like 'task' and 'cwd'. With 0% schema description coverage, the description must compensate, but it covers only about 22% of parameters, leaving most ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool starts a q-plan run in the background, returns a job_id immediately, and explains the anti-bias gate. It is distinct from siblings like q_brainstorm_start or q_validate_start by its explicit focus on structural anti-bias and the background execution model.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives concrete workflow guidance: start the run, then call q_await with the job_id, and it emphasizes the anti-bias gate as a reason to use this tool. However, it does not explicitly say when not to use it or contrast with alternative start tools like q_brainstorm_start.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
q_researchA
Fetch prior art for a topic from arXiv + OpenAlex + Europe PMC (papers), Context7 (library docs), GitHub (repos), and HuggingFace (models), and return a markdown digest.
Europe PMC covers the life-sciences preprint tier arXiv does not carry -- bioRxiv, medRxiv, Research Square -- so it is the source that earns its slot on biology/medicine topics and returns 0 on pure-software ones. Its hits are labelled by preprint server ("bioRxiv") and are NOT peer-reviewed; weigh them accordingly.
Not subject to the council's anti-bias gate -- this is external prior art,
not peer output. Call it during the own-work window of a q_brainstorm
or q-skystorm run to ground the synthesis. sources defaults to all
six; pass a subset like ["arxiv", "openalex"] to restrict it.
Query shaping matters: pass a query that is SHORT and distinctive --
short is not the same as generic. Anchor it in 2+ domain-specific terms (the
field PLUS the specific method/concept), never a bare common word ('data',
'model', 'network') or a token that doubles as an author surname -- those
keyword-match unrelated work (author names, generic surveys, stray docs) and
return non-zero but OFF-TOPIC noise -- sanity-check that returned titles
belong to your domain, and if they are off-topic the query was too generic:
re-anchor with more domain context and call q_research again rather than
leaning on them. (This same-domain check assumes you want grounding in
your own field -- if you are deliberately hunting cross-domain structural
analogies instead, judge a hit by structural kinship to the problem, not
literal subject-matter overlap; an off-domain hit is then the find, not
noise.) Not a full paragraph either. Per source: arXiv parses
topic as a boolean field -- a long/diffuse query loose-matches to
famous-but-irrelevant papers, and boolean punctuation (parens, AND/OR,
quotes) triggers a 400; OpenAlex tolerates prose but length dilutes
relevance to generic surveys; Context7 wants a library/topic name and will
keyword-match off-topic repos; GitHub/HuggingFace are popularity-ranked
artifact searches that whiff on non-software/non-ML topics. The digest's
per-source count footer shows which sources whiffed -- rework and retry
those, unless the 0 is domain-legitimate (GitHub/HuggingFace on a
non-software topic, Europe PMC on a non-biology one, Context7 on a topic
with no matching library), which is a real answer, not a gap to close.
Treat every other digest result as provisional until it earns trust: a 0 that is NOT one of the domain-legitimate cases above is not automatically "no prior art" either (it may just be a bad query), and non-zero hits that read scattered or off-topic are not evidence -- both are a signal to reframe (sharper domain anchor, fewer/different terms) and retry, not something to build a conclusion on.
Failed sources are reported inline under 'Sources unavailable' rather than failing the call -- each with a retry hint, and the right move differs by error. An errored source is almost never a dead backend: an arXiv error (400) means YOUR query is too long or has boolean punctuation, so shorten it to a few keywords, strip operators, and call q_research again; a 401/403 or an OpenAlex 503 is a CONFIG case, not a flake -- the key was rejected, or OpenAlex is load-shedding anonymous search, so a bare retry just loops (set the source's key -- OPENALEX_API_KEY is free -- or lean on the other sources and say so); only a plain timeout/flake is transient and worth retrying as-is. Do NOT report a source unavailable, and do NOT fall back on your own knowledge, until a reworked retry has ALSO failed -- treating the first error as terminal is the failure to avoid. Bounded by per-request timeouts (~10-15s each); the GitHub and HuggingFace backends fan out one request per distinctive query term (up to 4), run sequentially, so those two sources' wall-clock can reach a few times that.
The digest OPENS with a deterministic Research status: line -- OK,
RETRY-RECOMMENDED (USUALLY with a server-suggested shorter query to resubmit
verbatim, shown as · try: "..."; when it is ABSENT the detail text says what
to do, and the two absent cases differ -- a backend/infrastructure failure
says RETRY THE SAME query, while an un-shortenable query says RE-ANCHOR with
different domain terms), CONFIG (a key/anonymous-access problem no retry
fixes), or (in exploratory mode) LOW-OVERLAP. Act on it before anything else:
on RETRY-RECOMMENDED, resubmit the suggested query if one is given, else
follow the detail (retry the same query on an infrastructure failure, or
re-anchor with different domain-specific terms if it cannot be shortened) --
before concluding "no prior art". Mechanically-fixable failures (arXiv 400, a
transient flake) are already retried inside the tool -- a repaired source
shows a ↻ note, so a first-attempt error you never see was handled, not
hidden.
mode is 'grounded' (default; brainstorm -- home-domain grounding, where a
low-overlap result is a defect the verdict flags RETRY-RECOMMENDED) or
'exploratory' (skystorm -- a deliberate cross-domain method pivot, where low
overlap is expected and reported as LOW-OVERLAP without forcing a retry).
Exploratory mode also adds a ### Field map section (the OpenAlex
subfield distribution for the query) showing which fields the method
actually spans -- the skystorm topology readout. Query discipline is
identical in both modes; only the low-overlap interpretation differs.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | grounded | |
| limit | No | ||
| topic | Yes | ||
| sources | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it excels. It discloses internal retries ('Mechanically-fixable failures ... are already retried inside the tool'), error handling ('Failed sources are reported inline under 'Sources unavailable' rather than failing the call'), response format (markdown digest with a 'Research status:' line), per-source behaviors, and the distinction between domain-legitimate zero results and gaps. This level of transparency exceeds typical tool descriptions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very long but well-organized, front-loading the core purpose and then progressing into usage, error handling, and modes. Each paragraph serves a distinct function, yet some sections (e.g., the extended discussion of same-domain vs cross-domain checks) are arguably more detailed than necessary for an agent to invoke the tool. It is concise relative to its complexity but could be tightened without losing value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers every aspect an agent needs: what it returns (markdown digest, status line), how to interpret results (RETRY-RECOMMENDED, CONFIG, LOW-OVERLAP), error handling with specific retry guidance, per-source whiffing logic, mode differences, and query-shaping best practices. Even with an output schema (not shown), this description is entirely self-sufficient given the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Despite 0% schema coverage, the description explains the `topic` (query shaping), `sources` (defaults, subset pass), and `mode` (grounded vs exploratory) parameters in depth. However, the `limit` parameter is never mentioned – its purpose and effect on output are not explained. Since the schema provides no help, this is a noticeable gap, though the description compensates well for the other three parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise verb and resource: 'Fetch prior art for a topic from arXiv + OpenAlex + Europe PMC (papers), Context7 (library docs), GitHub (repos), and HuggingFace (models), and return a markdown digest.' This clearly distinguishes the tool from its siblings (planning, brainstorming, validation, review, await) by focusing on external prior-art retrieval. No ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit when-to-use instructions: 'Call it during the own-work window of a `q_brainstorm` or `q-skystorm` run to ground the synthesis.' It also provides query-shaping rules, mode interpretation ('grounded' vs 'exploratory'), error-handling strategies, and when not to trust results. Since there are no sibling research tools, it doesn't contrast with alternatives, but it provides rich contextual guidance on exactly when and how to use the tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
q_review_startA
Start a q-review run in the background. Returns {"job_id": str}
immediately. Each agent independently reviews real code changes, then
converges across rounds. Round 1 is structurally bias-free; later rounds
embed each agent's own prior plus peers' priors so sustained agreement
becomes visible. Retrieve results by calling q_await with the returned
job_id.
Between the start and the await, the caller is expected to form its own code review of the diff — this is the structural anti-bias gate.
target selects what to review (default: branch vs main, committed +
uncommitted). 'working' = uncommitted tracked changes only; 'pr:N' or a
github PR URL = an open PR (title/body orient the review); 'A..B'/'A...B'
= an explicit range; 'all' = the whole codebase (agents read cwd — pair
with scope_path). An empty diff (other than 'all') short-circuits: the
job returns a 'nothing to review' message without running the council.
scope_path, when supplied, points at a scope doc declaring what is
in/out-of-scope and which risks are accepted; it is embedded verbatim so
the council does not converge on out-of-bounds findings.
extended runs 4 rounds with a stance rotation at round 3 (agents swap
stances and re-examine all priors); the default is 2 rounds with no
rotation. mode is 'revise' (agents soften/strengthen in light of peers)
or 'critique' (agents attack peer points).
verbose defaults to false: the council writes terse output (no padding,
path:line over pasted code, and later rounds collapse each still-held
finding to one HELD line while preserving the agreement count). Set true
only when you want the full unabridged deliberation — a much larger matrix.
Optionally assign stances per agent via roles, a list of 'stance:agent'
strings (stances: skeptic, architect, security, maintainer, analyst,
neutral, visionary, pioneer).
gemini_model, when supplied, runs the gemini seat on that agy model for
this invocation only (an id exactly as printed by agy models, e.g.
'claude-opus-4-6-thinking').
Expected wall-clock to completion: 1-8min default; 4-15min when extended=true. Pick extended deliberately.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| host | No | ||
| mode | No | revise | |
| roles | No | ||
| agents | No | ||
| target | No | ||
| skip_gh | No | ||
| verbose | No | ||
| extended | No | ||
| no_context | No | ||
| scope_path | No | ||
| gemini_model | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden and it delivers richly. It discloses that the call returns immediately instead of blocking (async job), gives expected wall-clock timing (1-8min default, 4-15min extended), spells out the empty-diff short-circuit that returns a 'nothing to review' message without running the council, details verbose output behavior (HELD lines, agreement counts), and explains the stance rotation at round 3 for extended mode. This far exceeds baseline behavioral disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long, but every paragraph earns its place for a 12-parameter async background tool. It is front-loaded with purpose and the return contract, then flows logically through the anti-bias gate, target values, scope, execution modes, output verbosity, and timing. The final timing note is a genuine value-add. It could be tightened slightly, but the length is justified by complexity rather than padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool of this complexity — 12 params, async behavior, background execution, no annotations, 0% schema coverage — the description is remarkably complete, covering the workflow, the caller's required participation (anti-bias gate), short-circuit behavior, per-parameter semantics, and timing expectations. The output schema exists so return values need no further explanation, and job_id is already surfaced. The only completeness gap is the five undocumented parameters (agents, skip_gh, no_context, host, cwd) that the description leaves to the schema, which is empty.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate — and it does for the majority. target gets a detailed breakdown of every value ('working', 'pr:N'/URL, 'A..B'/'A...B', 'all', default branch-vs-main), and scope_path, extended, mode, verbose, roles, and gemini_model are each explained. However, five of the twelve parameters (cwd, host, agents, skip_gh, no_context) are not touched in the description and, with zero schema descriptions, remain entirely undocumented — a real gap for a tool where agents and skip_gh likely matter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening line states a specific verb and resource — "Start a q-review run in the background. Returns {"job_id": str} immediately" — and explains the mechanism (independent agent review then convergence across rounds). This clearly distinguishes a review tool from its siblings q_plan_start, q_brainstorm_start, and q_validate_start, which by naming convention cover different activities. No ambiguity about what this tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives strong usage context: it is for reviewing real code changes, and it explicitly routes retrieval to a sibling — "Retrieve results by calling `q_await` with the returned job_id" — which orients the agent within the family of q_* tools. It also defines the structural anti-bias gate the caller must pass between start and await. However, it never explicitly states when NOT to use this tool versus q_validate_start or the other review siblings; exclusions are implied rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
q_validate_startA
Start a q-validate run in the background. Returns {"job_id":
str} immediately. Each agent independently reviews the plan file,
then deliberates across rounds. Round 1 is structurally bias-free;
later rounds embed each agent's own prior plus peers' priors.
Retrieve results by calling q_await with the returned job_id.
Between the start and the await, the caller is expected to form its own review — this is the structural anti-bias gate.
extended runs 4 rounds with a stance rotation at round 3 (agents
swap stances and re-examine all priors); the default is 2 rounds
with no rotation. mode is 'revise' (agents soften/strengthen in
light of peers) or 'critique' (agents attack peer points).
verbose defaults to false: the council writes terse output (no padding,
path:line over pasted code, later rounds omit restating unchanged points).
Set true only for the full unabridged deliberation — a much larger matrix.
Optionally assign stances per agent via roles, a list of
'stance:agent' strings (stances: skeptic, architect, security,
maintainer, analyst, neutral, visionary, pioneer).
gemini_model, when supplied, runs the gemini seat on that agy model for
this invocation only (an id exactly as printed by agy models, e.g.
'claude-opus-4-6-thinking').
Expected wall-clock to completion: 1-8min default; 4-15min when extended=true. Pick extended deliberately.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| host | No | ||
| mode | No | revise | |
| roles | No | ||
| agents | No | ||
| skip_gh | No | ||
| verbose | No | ||
| extended | No | ||
| plan_path | Yes | ||
| no_context | No | ||
| gemini_model | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It comprehensively explains the background execution, immediate return of job_id, the bias-free first round and later rounds embedding priors, the extended mode's 4 rounds and stance rotation, the verbose output toggle, and the gemini_model override for this invocation. It also discloses expected wall-clock times and the anti-bias gate expectation, making the tool's behavior highly transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is detailed but well-structured, front-loading the core behavior and return value before diving into options. It uses clear paragraphs and imperative sentences that earn their place. While somewhat long, the length is justified by the tool's complexity, and it could be slightly more concise without losing essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (11 parameters, no schema descriptions), the description covers the main workflow and several key parameters, and provides expected wall-clock times. However, it omits explanations for critical parameters like plan_path and cwd, and does not clarify the exact output format beyond job_id (though q_await likely handles results). The description is strong on purpose and behavior but incomplete in parameter coverage, so it is not fully complete for an agent to confidently invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for parameter documentation. It explains extended, mode, verbose, roles, and gemini_model in detail, but leaves essential parameters like plan_path, cwd, host, agents, skip_gh, and no_context unexplained. The required plan_path is only referred to generically as 'plan file', which is insufficient for an agent to know exactly what to provide. The description only partially covers the 11 parameters, making parameter semantics incomplete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it starts a q-validate run in the background and returns a job_id immediately. It describes the process of agents reviewing the plan file and deliberating, which distinguishes it from sibling tools like q_plan_start, q_brainstorm_start, and q_review_start. The tool's purpose is unambiguous and specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on retrieving results via q_await with the returned job_id and explains the structural anti-bias gate that the caller should form its own review between start and await. It also advises when to use extended mode ('Pick extended deliberately') and explains the default vs extended rounds. However, it does not explicitly contrast this tool with sibling start tools, relying on tool names for differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
6 tool updates
v0.0.63- First observed
q_await - First observed
q_brainstorm_start - First observed
q_plan_start - First observed
q_research - First observed
q_review_start - First observed
q_validate_start
TDQS
Each tool has a clearly distinct function: planning, brainstorming, validation, code review, research, and result retrieval. There is no overlap in purpose; descriptions reinforce the boundaries.
All tools follow a uniform 'q_' prefix with an action verb (plan_start, brainstorm_start, validate_start, review_start, research, await). The two non-start tools still share the prefix and verb style, making the pattern predictable.
Six tools is well-scoped for a code-quality council suite: four distinct run types plus research and a blocking retrieval. Each tool earns its place without redundancy or bloat.
The core lifecycle (start runs, retrieve results) is fully covered, and research supports the workflow. Minor gaps exist—no job-listing or cancellation tool—but agents can work around them by awaiting each job, so the surface remains practical.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- ParleyOAuthdev.weldra
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.
Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.
AI work orchestration for plans, tasks, teams, and coding-agent dispatch.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to read each other's conversation history read-only and sanitized, so you can continue work across different tools without re-explaining context.MIT
- FlicenseNot gradedqualityBmaintenanceAllows users to manage multiple remote AI coding agents from a single Claude Code session, with a controlled execution model where operations require moderator approval.-
- AlicenseNot gradedqualityAmaintenanceEnables multi-model LLM council reviews and parallel sidecar conversations within Claude, allowing Claude to orchestrate structured reviews from various AI models and fold their responses back into the session.1,7212MIT
- AlicenseNot gradedqualityAmaintenanceEnables coding agents to perform workspace-confined file operations, read-only Git inspection, and structured shell commands, while requiring out-of-band human approval for mutations and external executions and maintaining an audit trail.3MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdewell/code-quorum'
If you have feedback or need assistance with the MCP directory API, please join our Discord server