doctor

doctor is a skill for Claude Code from cryndoc/polisade-orchestrator. It costs 11 tokens per session (2,808 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: shipped in a Claude Code plugin. 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 2,808 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.02808
Opus 5 $0.00005 $0.01404
Sonnet 5 $0.00002 $0.00562
Haiku 4.5 $0.00001 $0.00281

Measured yesterday against content hash da0d04d3cb96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 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.

skills/doctor/SKILL.md · 180 lines

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.jsonartifactIndex он при этом остаётся). Проверка даёт 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 hookscore.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).

Read the full file on GitHub · 180 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. yesterday Changed · +48 lines da0d04d3cb96
  2. 9d 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 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.