ai-blueprint: Skill for Claude Code

.agents/skills/blueprint-doctor/SKILL.md

blueprint-doctor is a skill for Claude Code, Codex from aiblueprinthq/ai-blueprint. It costs 69 tokens per session (4,253 once invoked), scanned A, original, MIT.

A read-only health check for a Blueprint project and its build workflow. It examines setup, plans, configuration, generated state, visibility, and Git information, and can offer an approved reset of one malformed state file.

In plain words
What is it for?
Use it to verify that Blueprint is ready to use, understand setup problems, and get an ordered list of warnings and repairs.
Why use it?
It helps find incomplete setup, stale project information, missing files, and workflow drift before they cause confusing results. It does not edit, install, build, commit, or change branches during its checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is aiblueprinthq/ai-blueprint's own configuration. It tells Claude Code and Codex how to work on ai-blueprint itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-blueprint configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aiblueprinthq/ai-blueprint. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aiblueprinthq/ai-blueprint/main/.agents/skills/blueprint-doctor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aiblueprinthq/ai-blueprint

Made for: Claude Code, Codex.

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 blueprint-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiblueprinthq/ai-blueprint/blueprint-doctor/github.svg)](https://agentmods.dev/skills/aiblueprinthq/ai-blueprint/blueprint-doctor)
Your own site
<a href="https://agentmods.dev/skills/aiblueprinthq/ai-blueprint/blueprint-doctor"><img src="https://agentmods.dev/badge/skills/aiblueprinthq/ai-blueprint/blueprint-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 blueprint-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiblueprinthq/ai-blueprint/blueprint-doctor"><img src="https://agentmods.dev/badge/skills/aiblueprinthq/ai-blueprint/blueprint-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,253 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.00069 $0.04253
Opus 5.5 $0.00028 $0.01701
Sonnet 5.5 $0.00014 $0.00851
Haiku 4.5 $0.00007 $0.00425

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run-state.mjs), 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.

.agents/skills/blueprint-doctor/SKILL.md · 316 lines

How it starts

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

blueprint-doctor - Blueprint health check

Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.

Where this sits in the workflow:

any time  ->  [blueprint-doctor]  ->  reads setup + plans + workflow state + git
              (diagnostic)            prints health, warnings, and repair order

This skill answers one question: is this Blueprint project ready to use? It is the diagnostic pass for setup drift, incomplete onboarding, missing files, placeholder plans, stale generated context, Blueprint visibility, and confusing workflow state. It never changes anything: no edits, no commits, no installs, no builds, no branch changes. Its only repair is an approved reset of a malformed generated blueprint/.state/run.json file.

Use /blueprint-status when the user mainly wants progress and the next build action. Use /blueprint-doctor when the user wants to know whether the workflow itself is healthy.

Input

None. /blueprint-doctor takes no argument.

What it checks

Gather these, then summarize. Do not dump file contents.

  1. Required Blueprint files
    • Confirm AGENTS.md, blueprint/, blueprint/project-plan.md, blueprint/build-plan.md, and blueprint/context/ exist.
    • Confirm blueprint/context/coding-standards.md, blueprint/context/ai-interaction.md, blueprint/context/current-feature.md, and blueprint/context/project-overview.md exist.
    • Check blueprint/workflow.md, the managed workflow reference. Missing on a legacy installation is a warning, not a blocker; a Blueprint update adds it.
    • Confirm blueprint/history/features/ and blueprint/history/fixes/ exist. When the rollback skill is installed, also check blueprint/history/rollbacks/. A missing rollback folder on a legacy installation is a warning, not a blocker; /complete creates it on the first rollback.
    • Check blueprint/context/findings.md. Missing on a legacy installation is a warning, not a blocker; /audit and /complete create it on first use. When present, confirm its entry headers still match ### <id> [<severity>] <status> - <title> and warn on a malformed ledger. Report any P0 or P1 finding still open or fixed by ID, since it will block /complete. Never block on the ledger yourself.
    • Check blueprint/context/review.md. Missing on a legacy installation is a warning, not a blocker; /audit independent current and /complete create it on first use. When present, validate the required request or receipt fields and report pending, changes-requested, malformed, or stale state.
    • If .gitignore marks Blueprint workflow files as local-only, still require the files to exist on disk. Ignored but present is healthy; ignored and missing means the local workflow needs to be restored.
    • Read blueprint/config.json when present. Missing is healthy and means built-in defaults. When present, require a regular non-symbolic-link JSON file with schemaVersion: 1. Reject unknown keys and unsupported values. Report the effective workflow, git, verification, review execution, regular quality-gate, Continuous quality-gate, and Continuous Mode settings. Confirm each audit, independent-review, check, and try-guide gate uses its supported values. Independent review defaults to when-sensitive for both workflows; audit and check default to manual, while try guide defaults to when-testable. Confirm review.independentExecution is manual or automatic and defaults to automatic. Do not claim automatic capability is available from installed project files alone. An invalid config is a setup blocker for mutating workflow skills because they must not guess which policy to follow.
  2. Tool adapters
    • Read blueprint/.state/manifest.json when present and report its exact logical adapters. Supported values include Codex, Claude Code, and GitHub Copilot. Google Antigravity and OpenCode are supported too.
    • Confirm at least one compatible skill tree exists. Codex, GitHub Copilot, and Google Antigravity use .agents/skills/. Claude Code uses .claude/skills/. OpenCode can use either tree.
    • If both skill trees are present, say that is healthy when the selected tools require both. Compare their skill folder names and warn about missing skills on either side.
    • If OpenCode is selected, do not require .opencode/skills/. If it contains duplicate Blueprint skills alongside .agents/skills/ or .claude/skills/, warn that OpenCode discovers all of those locations and the duplicate tree should be reviewed.
    • If git shows changes under .agents/skills/ or .claude/skills/, check the matching adapter file too. Warn when workflow behavior was updated in one adapter but not the other.
    • Confirm each installed adapter tree contains doctor/scripts/run-state.mjs. This managed helper validates and atomically writes dashboard activity. A missing helper needs a Blueprint update before tracked commands can record activity safely.
    • If only one tool is used, mention the unused adapter can be deleted. Do not treat extra adapters as an error.
    • If CLAUDE.md exists and still starts with # Project Name, flag that /onboard probably has not finished.
    • When Claude Code is installed, report its startup-context shape. Confirm CLAUDE.md imports AGENTS.md and lets skills load the overview, active spec, coding standards, and interaction guide on demand. If it directly imports any of those four context files, warn that this is the legacy always-loaded layout and give the exact direct import lines to remove. Count the imported files and their total byte size, plus the total byte size of project skill descriptions. Label these as file-size diagnostics, not token counts. Recommend Claude Code's /context all for the live token breakdown.
  3. Commands and project setup
    • Read existing AGENTS.md for substantive proportional-engineering guidance, under ## Proportional engineering or equivalent customized wording. Accept equivalent guidance anywhere in the file; do not require exact prose. Look for current requirements over hypothetical scale, reuse before new machinery, smaller reversible defaults, questions for material unknowns, and trust boundaries grounded in actual reachability. Simplicity must preserve real validation, data-loss prevention, accessibility, security, configured tests, and project rules; stack-specific standards apply only to the project's stack. A heading or a single slogan is not sufficient. If guidance is missing or incomplete, identify the missing substance as a warning, not a setup blocker. The updater preserves existing AGENTS.md, so updating Blueprint alone does not repair this warning.
    • Check whether AGENTS.md still carries the workflow reference that now lives in blueprint/workflow.md: ## Project configuration, ## Dashboard activity, ## Automatic verification, or the Core skills: catalogue. If it does, recommend trimming those sections so every session loads less startup context. This is a recommendation, not a warning. The updater preserves AGENTS.md, so the trim is a manual edit.
    • Check whether root README.md is still the copied Blueprint workflow doc by looking for # AI Coding Blueprint or opening text that describes the Blueprint workflow instead of the app. If so, warn that /onboard should replace it with a project README before publishing.
    • If blueprint/README.md clearly contains copied Blueprint workflow docs, report it as an obsolete installer artifact. Its absence is healthy. An unchanged managed copy can be removed by the updater; a modified copy needs user review.
    • Check whether AGENTS.md has a ## Commands section with dev and build commands.
    • Report missing lint or test commands as informational unless the project has real lint or test scripts elsewhere that are not reflected in AGENTS.md.
    • If package.json exists, compare its scripts against AGENTS.md at a high level. Do not require every script to be documented.
    • If AGENTS.md declares a Verify command, confirm it resolves to real project commands in the expected order: typecheck, tests when configured, then build. Do not require checks the project does not have.
    • If .github/workflows/verify.yml exists, confirm it runs the exact documented Verify command for pull requests and pushes to the default branch, uses the detected runtime and package manager, and starts with read-only contents permission. Preserve other workflows and report overlap for review.
    • A missing Verify command or GitHub workflow is informational. It means the optional automatic-check setup was not selected, not that the Blueprint is unhealthy.
  4. Ignore rules
    • Check obvious ignore patterns for the detected stack. For Node or Astro, look for node_modules, .env, dist, and framework cache folders such as .astro or .next when relevant.
    • Detect local-only Blueprint mode if .gitignore ignores .agents/, .claude/, blueprint/, or CLAUDE.md. Report it as a visibility choice, not a failure, when the local files exist.
    • In local-only mode, check whether tracked AGENTS.md still describes the Blueprint workflow, lists hidden adapter paths, or exposes the core skill list. If so, warn that /onboard should make AGENTS.md public-safe.
    • If local-only mode is active but those paths are already tracked by git, warn that .gitignore does not hide tracked files and the user must approve any git rm --cached cleanup separately.
    • Keep this conservative. If uncertain, report "review" instead of failure.
  5. Planning readiness
    • Check whether blueprint/project-plan.md and blueprint/build-plan.md look filled in or still template-like. Treat obvious TODO, TBD, example-only text, or empty required sections as not ready.
    • Follow the proportional-engineering contract in AGENTS.md: treat a blank or template-only optional Usage model and constraints section as healthy unknown context, not an incomplete requirement.
    • Check whether blueprint/build-plan.md is a numbered checkbox list. Raw bullets are allowed as a first draft, but they should be normalized by /overview before the build loop starts.
    • Count checked and unchecked leaf items in blueprint/build-plan.md.
  6. Overview freshness
    • Check whether blueprint/context/project-overview.md exists and looks generated from the current plans.
    • Report its byte size. At or above 20,000 bytes, call it oversized and say /feature should stop until /overview regenerates a compact consolidation.
    • If either planning file appears newer than the overview by filesystem time, call the overview possibly stale and suggest /overview before feature work.
  7. Current workflow state
    • Inspect blueprint/.state/run.json when it exists. Missing means no recorded activity and is healthy. Require a regular non-symbolic-link JSON file that matches dashboard schema version 1 from blueprint/workflow.md.
    • If the path is a symbolic link or not a regular file, do not read, replace, or remove it. Report the exact path for manual review.
    • If the regular file is invalid JSON or does not match the schema, report it as malformed generated state. Explain that resetting it removes only the dashboard's last-command record, not project work, and that the next tracked Blueprint command recreates it.
    • Offer this exact repair question: Reset the malformed dashboard state now? On approval, use the installed dashboard activity helper's reset action. It confirms the exact path is a regular non-symbolic-link file and removes only blueprint/.state/run.json. Verify the file is absent and report the dashboard state as reset. Never remove blueprint/.state/, its manifest, backups, or any project file. Without approval, leave it unchanged and include the reset in Repair order:.
    • Check whether blueprint/context/current-feature.md is the reset stub or an active feature, fix, or rollback spec.
    • If a spec is active, report checked and unchecked implementation steps.
    • If current-feature.md is the reset stub but git has source or workflow changes, warn that work is happening without an active spec.
    • Flag active spec on main, all spec steps checked but no completion, or a branch that does not match the configured feature, fix, or rollback prefix for the spec type. For a feature using git.landing: "local-merge", also flag a mismatch with the next unchecked build-plan item. Pull-request landing permits another unchecked feature because parallel branches can be active. For a rollback, confirm its target is a checked item and do not compare it to the next unchecked item.
  8. Git
    • Report current branch, clean vs dirty working tree, rough changed-file count, last commit subject, and whether the branch is ahead of upstream.
    • If the directory is not a git repo, report that as a setup issue and keep going.
    • When git.landing is pull-request, report the configured remote, resolved remote default branch, and whether an authenticated hosting CLI or API is available. Missing pull-request prerequisites need attention but do not make the local Blueprint workflow unhealthy.

Read the full file on GitHub · 316 lines

Files

What ships with it

1 file 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. 7d ago First seen · 316 lines · 69 tokens per session scan A 1ebf17c2e440

Subscribe to this mod's changes

blueprint-doctor is a skill published in the GitHub repository aiblueprinthq/ai-blueprint (493 stars, last pushed 7d ago), licensed MIT. It adds 69 tokens to every session and 4,253 once invoked, about $0.0003 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-10-31.

Related

blueprint-doctor compared with skills from other repositories

blueprint-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blueprint-doctoraiblueprinthq/ai-blueprintSkill4937d agoMITA69Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6kyesterdayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code