add-doctor-runbook

add-doctor-runbook is a skill for Claude Code from michellemayes/meta-doctor. It costs 48 tokens per session (1,346 once invoked), scanned A, original, MIT.

A skill for adding one health check to an existing doctor. Here, a doctor is an automated audit that examines signals and reports problems.

In plain words
What is it for?
Use it to define a runbook, register it in the index, place it in the daily or weekly schedule, and validate the result.
Why use it?
It avoids rebuilding the doctor while ensuring the new check is added to its files and scheduled run modes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the meta-doctor plugin — 2 skills shipped together

Good fit Use it to define a runbook, register it in the index, place it in the daily or weekly schedule, and validate the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michellemayes/meta-doctor/add-doctor-runbook
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 michellemayes/meta-doctor --skill add-doctor-runbook
Clone the repo
git clone --depth 1 https://github.com/michellemayes/meta-doctor

Made for: Claude Code.

Or install meta-doctor, the plugin that ships this one along with the rest of its 2 skills.

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 add-doctor-runbook

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/michellemayes/meta-doctor/add-doctor-runbook"><img src="https://agentmods.dev/badge/skills/michellemayes/meta-doctor/add-doctor-runbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,346 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.00048 $0.01346
Opus 5 $0.00024 $0.00673
Sonnet 5 $0.00010 $0.00269
Haiku 4.5 $0.00005 $0.00135

Measured 12d ago against content hash e38607c20733, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

add-doctor-runbook 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 12d 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.

plugins/meta-doctor/skills/add-doctor-runbook/SKILL.md · 148 lines

How it starts

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

Add Doctor Runbook

Extends an existing doctor (scaffolded by scaffold-doctor) with one new runbook — the internal markdown audit definition that drives a single health check in the doctor's agentic loop.


What you need before starting

  • The doctor's project root (where scaffold-doctor deposited its output).
  • A clear sense of what the new runbook should audit, what signals it reads, and what a violation looks like versus expected noise.

Flow

1. Locate the doctor's runbook directory and registration files

Inside the scaffolded doctor, runbooks live in skills/. The two registration files are:

File Purpose
skills/index.ts Runbook index — imports every runbook and exports a bundledSkills record.
config.ts Mode config — assigns each runbook to runbooksDaily or runbooksWeekly.

Read both files before writing anything. Confirm the existing runbook names and the mode lists so you can slot the new runbook in correctly.

2. Gather runbook requirements

Ask the user (or derive from context) three things:

  1. Purpose — what aspect of app health does this runbook audit? One or two sentences.
  2. Signals and tools — which data sources, queries, or MCP tools will the runbook call? (e.g., CloudWatch log groups, a Looker query, a DB table.)
  3. Healthy vs. violation — what does a clean run look like, and what specific conditions should trigger emit_finding?

Do not proceed to authoring until all three are clear. If any is ambiguous, ask a targeted question — a vague boundary between healthy and violation is the most common source of miscalibrated runbooks.

3. Author the runbook markdown

Create skills/<kebab-case-name>.md following the structure in ../scaffold-doctor/references/writing-runbooks.md.

Key requirements (enforced by the authoring checklist in that reference):

  • Pull live config first. Step 1 of the Inspect section always reads thresholds from the app's config store. No hardcoded numbers anywhere.
  • Parameterize every check. Time windows, count thresholds, feature-flag gates — all derived from the config you just read.
  • Healthy runs emit zero findings. If the runbook would fire on a normal day, the threshold or classify logic is wrong.
  • Separate violations from visibility. Informational observations (counts, rates, scorecards) go in the narrative; only actionable violations reach emit_finding.

Read the full file on GitHub · 148 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. 12d ago First seen · 148 lines · 48 tokens per session scan A e38607c20733

Subscribe to this mod's changes

add-doctor-runbook is a skill published in the GitHub repository michellemayes/meta-doctor (29 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 1,346 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-30.

Related

Other skills, from other repositories

spark-engineer

Use when writing Spark jobs, debugging performance issues, or configuring cluster settings for Apache Spark applications, distributed data processing pipelines, or big data workloads. Invoke to write DataFrame transformations, optimize Spark SQL queries, implement RDD pipelines, tune shuffle operations, configure…

Jeffallan/claude-skills · 75 tokens

debugging-wizard

Parses error messages, traces execution flow through stack traces, correlates log entries to identify failure points, and applies systematic hypothesis-driven methodology to isolate and resolve bugs. Use when investigating errors, analyzing stack traces, finding root causes of unexpected behavior, troubleshooting…

Jeffallan/claude-skills · 70 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens

lcx-report-bug

Create a high-signal bug issue or PR in the repo that owns the defect. Use this whenever the user asks to report, file, open, or triage a LazyCodex, lazycodex-ai, omo-codex, Codex plugin, or upstream Codex CLI bug, especially when they need source-backed root cause, reproduction steps, fix guidance, and GitHub routing.

code-yeongyu/oh-my-openagent · 85 tokens