Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cryndoc/polisade-orchestrator --skill doctorgit clone --depth 1 https://github.com/cryndoc/polisade-orchestratorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cryndoc/polisade-orchestrator/doctor)<a href="https://agentmods.dev/skills/cryndoc/polisade-orchestrator/doctor"><img src="https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/doctor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cryndoc/polisade-orchestrator/doctor"><img src="https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.02808 |
| Opus 5 | $0.00005 | $0.01404 |
| Sonnet 5 | $0.00002 | $0.00562 |
| Haiku 4.5 | $0.00001 | $0.00281 |
Grade A, and why
doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/polisade:doctor — Project Health Diagnostics
Read-only диагностика здоровья Polisade Orchestrator-проекта. Проверяет структуру, файлы состояния, инструменты и консистентность.
Status vocabulary check (artifact_statuses, issue #151): статус артефакта
вне закрытого словаря (scripts/_polisade_state_model.py) — почти всегда опечатка,
и она молча выкидывает артефакт из ВСЕХ производных списков PROJECT_STATE.json
(в artifactIndex он при этом остаётся). Проверка даёт WARN и перечисляет
нарушителей; переходы статусов нигде не enforce'ятся — это тонкий stdlib-клиент.
Pre-push hook check (prepush_hook, issue #159): установлен ли git-хук
/polisade:init, запрещающий push в main/master без
POLISADE_ALLOW_MAIN_PUSH=1 и push ветки, отличной от POLISADE_EXPECTED_BRANCH
(когда та задана). Каталог хуков резолвится через git rev-parse --git-path hooks
— core.hooksPath и worktree учитываются. WARN, а не FAIL: хуки не клонируются,
не версионируются и обходятся --no-verify, так что это ремень безопасности перед
серверной защитой веток, а не она сама. В сообщении WARN — готовая команда
установки; чужой существующий pre-push doctor не трогает и не предлагает
перезаписать.
Vendored scripts check (scripts_vendor, issue #127): в сборках, где
Python-скрипты плагина исполняются из копии в проекте (.polisade/bin, потому
что каталог установки закрыт Filesystem Guard'ом), сверяет копию с
.polisade/bin/MANIFEST.sha256 — версия плагина плюс sha256 каждого файла.
Отсутствие копии под такой сборкой — FAIL с командой установки; нехватка файлов
или несовпавший хэш — FAIL «копия устарела или искажена»; версия манифеста
старше версии проекта — WARN. Отличие ТОЛЬКО в переводе строки (CRLF) —
отдельный WARN с причиной (git core.autocrlf), а не «искажена»: содержимое то
же. Права на файлы не проверяются — хэш считается по байтам. Если .polisade/bin
нет и сборка не вендорит скрипты, проверка PASS'ит как неприменимая. Сборка
определяется тремя ИЛИ-сигналами, ни один из которых не читает каталог
установки: POLISADE_PLUGIN_ROOT с .gigacode/, заголовок # target: gigacode
в манифесте, либо GIGACODE.md как ЕДИНСТВЕННЫЙ контекстный файл проекта.
VCS provider check (встроенный в дефолтный отчёт + отдельный режим --vcs):
под сборкой GigaCode vcsProvider: github даёт WARN (issue #120): GitHub
недоступен по сети этой инсталляции, дефолт там — bitbucket-server. Если settings.vcsProvider == "bitbucket-server" — проверяет наличие .env, что хотя бы один BITBUCKET_DOMAIN{1,2}_URL и _TOKEN заполнены (не stub-значения), что хост git remote origin совпадает с одним из заполненных доменов, и что whoami через polisade_vcs.py к матчнувшемуся инстансу возвращает 200 (через аутентифицированный endpoint — невалидный токен даст 401).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed · +48 lines da0d04d3cb96
- 9d ago First seen · 132 lines · 11 tokens per session scan A 0b351e78a593
doctor is a skill published in the GitHub repository cryndoc/polisade-orchestrator (7 stars, last pushed today), licensed Apache-2.0. It adds 11 tokens to every session and 2,808 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
config-validator
Validate AIWG configuration files and project setup for correctness and completeness.
aiwg-doctor
Run a comprehensive health check on the AIWG installation and workspace with pass/fail diagnostics and remediation steps.
debug-memory
Query and manage the executable feedback debug memory.
incident-management
Manage ServiceNow incidents — creation with impact/urgency priority calc, auto-assignment by category, reassignment tracking, major incident declaration with bridge calls, time-based escalation, MTTR metrics.
problem-management
Manage ServiceNow problems — create from linked incidents, proactive pattern detection, RCA with 5-Whys, knownerror workarounds (KEDB), KEDB search by CI/category/keywords, and permanent-fix linkage to changes.
decision-table
Use when the user wants a code-grounded decision table for current behavior, wants to compare current behavior against a plan or work item, or needs a control-flow artifact for recovery, retry, finalization, validation, state-machine, or review-heavy edge cases.