Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add onebrain-ai/onebrain/plugin install onebrainWrote 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/onebrain-ai/onebrain/doctor)<a href="https://agentmods.dev/skills/onebrain-ai/onebrain/doctor"><img src="https://agentmods.dev/badge/skills/onebrain-ai/onebrain/doctor.svg" alt="Measured on agentmods" 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.00090 | $0.06134 |
| Opus 5 | $0.00045 | $0.03067 |
| Sonnet 5 | $0.00018 | $0.01227 |
| Haiku 4.5 | $0.00009 | $0.00613 |
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 6d 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 — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doctor
Diagnose the health of your OneBrain vault and plugin configuration. Inspired by brew doctor and npm doctor.
Usage:
/doctor— full check (vault + config + memory)/doctor --vault— vault content checks only (skips CLI doctor)/doctor --config— plugin config + CLI doctor only (skips vault content)/doctor --fix— auto-fix safe issues (CLI fix recipes + skill fixes)
Flag detection: Determine active flags from the user's message. --vault = user mentions vault-only or content health; --config = user mentions config or plugin check; --fix = user explicitly asks to fix or auto-fix. Default (no flags) = run all checks.
Two-source architecture (post-v3.0.0 GA):
- CLI doctor (
onebrain doctor --json) handles the built-in checks, grouped into four sections: Config (onebrain.yml, onebrain.yml-keys, vault-config-migration, legacy-qmd-collection), Vault structure (folders, plugin-files, plugin-cache), Integration (settings-hooks, claude-settings), Index & state (orphan-checkpoints, search). Rust-native, single subprocess call, structured JSON output. (searchreplaced the v3.3qmd-embeddingsprobe;legacy-qmd-collectionmigrates a top-levelqmd_collection→search.collection.) - Skill checks handle vault-content + state-machine checks the CLI doesn't cover: broken wikilinks, orphan notes, stale memory/ files, MEMORY.md size, inbox backlog, log folder size, scheduler health, pause-thread state, memory health.
The skill merges both into one unified report.
Step 1: Read onebrain.yml
Read onebrain.yml. If it's missing → ⛔ onebrain.yml not found — OneBrain may not be configured correctly. Stop.
Resolve folder variables ([inbox_folder], [projects_folder], etc.) from onebrain.yml or defaults.
Step 2a: Run CLI doctor (skip if --vault flag)
Run onebrain doctor --json (or onebrain doctor --fix --json if --fix is active). Parse the JSON envelope:
{
"ok": true|false,
"summary": {"total": N, "errors": N, "warnings": N, "passing": N},
"checks": [
{"check": "<name>", "status": "ok|warn|error", "message": "...", "details": ["..."], "hint": "..."}
],
"fix": [
{"check": "<name>", "outcome": "fixed|partial|failed|manual", "message": "..."}
]
}
What ships with it
3 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.
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.
- 6d ago First seen · 260 lines · 90 tokens per session scan A 0ff7ca001e6d
doctor is a skill published in the GitHub repository onebrain-ai/onebrain (26 stars, last pushed 8d ago), licensed Apache-2.0. It adds 90 tokens to every session and 6,134 once invoked, about $0.0005 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
link-health
Use at the start of Link work when readiness is unclear, after installs or upgrades, and before repairs; verify health, inspect interrupted writes, back up, and repair generated indexes without MCP.
bugfix
Diagnose and fix bugs using hypothesis-driven debugging, diagnostic instrumentation, architecture-aware analysis, and evidence-based root cause identification.
fix-ci
Diagnose and fix CI failures using GitHub Actions logs. Iterates through diagnose-fix-verify cycles until CI passes (max 3 iterations).
report-issue-local
File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.
youtube-fetcher
Retrieve YouTube transcripts and subtitles, summarize or analyze what was said, or save an Obsidian-ready Markdown knowledge-base note with captions, creator metadata, chapters, language, and source provenance. Use for a YouTube URL or video ID when the request needs spoken content or an archival note. A bare YouTube…
spk-admin-setup-doctor
Install, verify, and repair Spec Kitty commands, skills, agent paths, runtime prerequisites, and common setup failures.