doctor

A read-only diagnostic workflow that checks whether a software project has the environment, configuration, continuous-integration checks, merge rules, and documentation needed for delivery.

In plain words
What is it for?
Use it to inspect the project setup, DevStride connection, plugin configuration, CI, merge gates, or delivery documentation.
Why use it?
It shows what is preventing the delivery process from running and gives specific repairs without changing anything during the initial check.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/devstride/claude-plugin/doctor
Any agent
npx skills add devstride/claude-plugin --skill doctor
Clone the repo
git clone --depth 1 https://github.com/devstride/claude-plugin

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,826 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.05826
Opus 5 $0.00016 $0.02913
Sonnet 5 $0.00007 $0.01165
Haiku 4.5 $0.00003 $0.00583

Measured 2d ago against content hash d3b4a154983c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/statusline-override.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 326 lines

How it starts

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

Human output. Read ${CLAUDE_PLUGIN_ROOT}/skills/build-item/references/plain-language-output.md once per top-level run; composed skills reuse it. Apply it to every message.

Diagnose whether this checkout can run the delivery loop and give exact repairs. Optional section: env, plugin, devstride, config, ci, gates, or docs: $ARGUMENTS With a repo root, run §4's status-line check on every invocation regardless of section; otherwise N/A.

Two-phase contract:

  • Phase 1 is READ-ONLY. Inspect and report every requested check before fixing anything. Do not commit, checkout, write-fetch, push, create branches, change config, install/update, edit workflows, or call a DevStride write tool. Every "Fix:" below is text to print.
  • Phase 2 starts only after the complete report and an explicit yes. First read ${CLAUDE_PLUGIN_ROOT}/skills/doctor/references/repairs.md; its eligibility tiers are fixed. Write only under this repo's .claude/, except the separately confirmed personal-status-line cleanup in repairs.md; never repair workflows, git state, DevStride records, or stages.

How to report

Human recap. Walk every requested section after failures. For each result say PASS, FAIL, or N/A, then Found: in plain words. A failure adds Why it matters: and Fix: with the exact command or edit. After any repair add Changed: and Result:. Never pass an unrun check. End ready, ready-with-warnings (name them), or not-ready (name blockers), plus one next action. For each failure symptom, read ${CLAUDE_PLUGIN_ROOT}/skills/doctor/references/silent-failures.md (also the rationale for §4–§6).

1. Environment (env)

  • gitgit --version; confirm you are inside a repo (git rev-parse --is-inside-work-tree). Not a repo → the rest is N/A; say so and stop the section.
  • An origin remotegit remote get-url origin, checked by name because delivery skills hardcode it. Other remotes but no origin → say which.
  • gh presentgh --version. Missing → the whole delivery half is unavailable: no pull requests, no review threads, no ready-flip. Fix: install GitHub CLI (brew install gh, or cli.github.com).
  • gh authenticatedgh auth status. Fix: gh auth login.
  • gh scopes, for the ACTIVE account — read the account marked active (gh auth status can list several). Minimum repo + read:org, plus workflow if the loop edits workflow files. Fix: gh auth refresh -s repo,read:orgincluding workflow in the SAME list when that is the missing scope. Auth from GH_TOKEN/GITHUB_TOKEN → say so: refresh cannot touch an environment token; unset it or reissue with the scopes.
  • Forge — non-GitHub origin: delivery assumes GitHub/Actions; planning still works.

Read the full file on GitHub · 326 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 326 lines · 33 tokens per session scan A d3b4a154983c

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository devstride/claude-plugin (2 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 5,826 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

dsh-ci-test-reliability

Design, review, and diagnose DeepSeek Harness tests and fixtures that can fail nondeterministically under CI concurrency, shared host resources, clocks, process-global state, subprocesses, network listeners, or asynchronous teardown. Use when adding or changing tests with those risks, investigating flaky CI, or…

deepseek-ai/deepseek-harness · 83 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

multi-agent-release-manager

Cleans up the workspace, formats code, runs presubmit checks, and uploads CLs to Gerrit.

chromium/chromium · 27 tokens

dsh-web-pre-push-checks

Use before pushing, opening or updating a pull request, or claiming dsh-web checks pass. Selects the required repository gates and diff-specific generation, build, and GUI evidence.

zhu1090093659/dsh-web · 45 tokens

babysit

Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…

kirodotdev/KiroCrew · 137 tokens

azsdk-common-pipeline-analysis

Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format. Load this skill before calling azsdkanalyzepipeline, which returns raw failure data that this skill interprets and formats. USE FOR: "pipeline failed", "build failure", "CI check failing", "tests failing in…

Azure/azure-sdk-for-net · 192 tokens