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.
npx skills add michellemayes/meta-doctor --skill add-doctor-runbookgit clone --depth 1 https://github.com/michellemayes/meta-doctorWrote 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.
[](https://agentmods.dev/skills/michellemayes/meta-doctor/add-doctor-runbook)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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-doctordeposited 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:
- Purpose — what aspect of app health does this runbook audit? One or two sentences.
- 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.)
- 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.
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.
- 12d ago First seen · 148 lines · 48 tokens per session scan A e38607c20733
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.
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…
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…
Reverse Engineering & Binary Analysis
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.
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.
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.
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.