doctor

doctor is a skill for Claude Code from cryndoc/polisade-orchestrator. It costs 11 tokens per session (5,235 once invoked), scanned A, original, Apache-2.0.

A read-only health check for Polisade Orchestrator projects, including their files, state, tools, and version-control settings.

In plain words
What is it for?
Checking project health, reviewing traceability links between project artifacts, listing open questions, or testing Bitbucket Server host and token settings.
Why use it?
It helps find missing, inconsistent, or incorrectly configured project parts before they cause problems. Version control means the system used to track code changes, such as Git.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Codex.

Part of the polisade plugin — 25 skills, 2 commands shipped together

Good fit Checking project health, reviewing traceability links between project artifacts, listing open questions, or testing Bitbucket Server host and token settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cryndoc/polisade-orchestrator/doctor
Install

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.

Any agent
npx skills add cryndoc/polisade-orchestrator --skill doctor
Clone the repo
git clone --depth 1 https://github.com/cryndoc/polisade-orchestrator

Made for: Claude Code.

Or install polisade, the plugin that ships this one along with the rest of its 25 skills, 2 commands.

Wrote 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.

agentmods badge for doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/doctor/github.svg)](https://agentmods.dev/skills/cryndoc/polisade-orchestrator/doctor)
Your own site
<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.

agentmods 80×15 button for doctor

Your own site · 80×15
<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>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.05235
Opus 5.5 $0.00004 $0.02094
Sonnet 5.5 $0.00002 $0.01047
Haiku 4.5 $0.00001 $0.00524

Measured 13d ago against content hash f0a3fe05456a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

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.

skills/doctor/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/polisade:doctor — Project Health Diagnostics

Первое действие при $ARGUMENTS с --help или -h: выполнить ровно эту команду, показать её stdout и завершить /polisade:doctor:

env ${POLISADE_PYTHON:-python3} {plugin_root}/scripts/polisade_doctor.py --help

⛔ Если вызов скрипта на этом шаге ты СДЕЛАЛ, и он отклонён или не запустился (Command references protected path / Install directory is read-protected / Filesystem Guard / the tool's default permission is 'deny', отказ песочницы, ненулевой exit без вывода) — STOP. Вызова не было — отказа нет: сначала выполни команду; этот блок описывает её вывод и сам ответом не служит. Процитируй отказ дословно. НЕ пересказывай по исходнику, что скрипт «сделал бы»; НЕ собирай dry-run вручную; НЕ переходи к apply/push/pr-create. НЕ транскрибируй скрипт (прочитать → записать копию в /tmp или в проект → запустить копию): копия не байт-идентична — уезжают классы символов в regex, форма возврата функций, пропадают целые функции — и молча меняется набор применённых изменений. Отказ инструмента — это отказ, а не результат. Доложи PM дословный текст отказа и назови следствие: без рабочего вызова скрипта этот шаг выполнить нечем. Причину не придумывай — её называет только сам текст отказа.

Справка не требует чтения проекта или запуска проверок. Используй указанный shell-путь к скрипту, не подменяя его путём исходного чекаута.

Read-only диагностика здоровья Polisade Orchestrator-проекта. Проверяет структуру, файлы состояния, инструменты и консистентность.

Status vocabulary check (artifact_statuses): статус артефакта вне закрытого словаря (scripts/_polisade_state_model.py) — почти всегда опечатка, и она молча выкидывает артефакт из ВСЕХ производных списков PROJECT_STATE.json (в artifactIndex он при этом остаётся). Проверка даёт WARN и перечисляет нарушителей; переходы статусов нигде не enforce'ятся — это тонкий stdlib-клиент. Также WARN для cancelled/not_actual/not_applicable без status_reason и для not_actual вне BUG. Зелёный artifact_statuses означает только корректную форму, а не доказанную причину или merge PR. adr_outcome_lists отдельно предупреждает, если ADR not_applicable по-прежнему числится в architecture.activeADRs или deprecatedADRs.

Pre-push hook check (prepush_hook): установлен ли 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): в сборках, где 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: 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).

Read the full file on GitHub · 289 lines

Changes

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.

  1. 13d ago Changed · +15 lines f0a3fe05456a
  2. 15d ago Changed · +1 lines 9f6320887bd7
  3. 16d ago Changed · +91 lines 5aef6f45b3b3
  4. 1mo ago Changed · +1 lines 80058a0109cc
  5. 1mo ago Changed · +1 lines ea9e6cce87ef
  6. 1mo ago Changed · +48 lines da0d04d3cb96
  7. 1mo ago First seen · 132 lines · 11 tokens per session scan A 0b351e78a593

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository cryndoc/polisade-orchestrator (7 stars, last pushed 8d ago), licensed Apache-2.0. It adds 11 tokens to every session and 5,235 once invoked, about $0.0000 per session on Opus 5.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.

Related

Other skills, from other repositories

autopilot-doctor-codex

A Codex skill for diagnosing an autopilot project’s engineering health and readiness for use with Codex.

strzhao/autopilot · 53 tokens

phoenicurus

Skill "phoenicurus" from markmhendrickson/ateles, covering phoenicurus — qa, identity, agents are the primary users, principals and job.

markmhendrickson/ateles · 0 tokens

fix-feature-bug

Fix bugs using structured workflow with error classification and regression tests. Use when user reports bugs, errors, broken features, test failures, or mentions "fix", "broken", "not working", "failing". Can be invoked via /fix-feature-bug.

markmhendrickson/ateles · 57 tokens

defect-hunting

Use when reviewing code, auditing an app, writing a guard rule or test, or certifying any threshold/constant/formula. Finds the defects a diff review structurally cannot see — the second write path, the mis-calibrated constant, the rule that cannot fail. Triggers from code-reviewer, /app-audit, qa-engineer…

vmobifystudio/app-dev-team · 96 tokens

mutation-testing

Use when adding or reviewing a gate, guard rule, CI grep, or test assertion in this plugin's own scripts — and whenever a suite is green and you need to know whether that means anything. Runs scripts/mutate.sh, which breaks the code on purpose and reports which assertions failed to notice. Triggers from code-reviewer…

vmobifystudio/app-dev-team · 83 tokens

performance-review

Use as a review dimension on any diff that could cost startup time, frames, memory, battery, bandwidth or bundle size — by code-reviewer during review and by web-developer and test-automation-engineer before claiming a UI or harness ticket done. The studio's position is that this is a dimension with existing auditors…

vmobifystudio/app-dev-team · 75 tokens