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 Yuno15-bb/c-brain --skill doctorgit clone --depth 1 https://github.com/Yuno15-bb/c-brainWrote 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/yuno15-bb/c-brain/doctor)<a href="https://agentmods.dev/skills/yuno15-bb/c-brain/doctor"><img src="https://agentmods.dev/badge/skills/yuno15-bb/c-brain/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.
<a href="https://agentmods.dev/skills/yuno15-bb/c-brain/doctor"><img src="https://agentmods.dev/badge/skills/yuno15-bb/c-brain/doctor.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.00059 | $0.00292 |
| Opus 5.5 | $0.00024 | $0.00117 |
| Sonnet 5.5 | $0.00012 | $0.00058 |
| Haiku 4.5 | $0.00006 | $0.00029 |
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 1mo 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.
What it actually says
Check the trunk and the wiring
Two commands, and they answer different questions. Run both.
brain selftest # is the ENGINE wired correctly? (hooks, links, permissions)
brain doctor # is the TRUNK coherent? (dead [[links]], orphans, index gaps)
Reading the result
- selftest red → the installation is the problem. Re-run
install.sh; it is idempotent and repairs its own wiring. - doctor red → the notes are the problem. Dead
[[links]]and notes missing fromMEMORY.mdare the two that actually cost recall. - Both green but recall returns nothing → the query, not the machinery. Try narrower terms; the ranking is lexical, so it matches words, not meaning.
What not to conclude
A silent hook is not a healthy hook. If notes are not being saved and both commands are green, check that the hooks are registered at all — a hook whose path no longer resolves does not fail loudly, it simply stops recording.
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.
- 1mo ago First seen · 28 lines · 59 tokens per session scan A c28cc5d8c632
doctor is a skill published in the GitHub repository Yuno15-bb/c-brain (3 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 59 tokens to every session and 292 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
potpie-debug-memory
Use while debugging or troubleshooting failures, flaky tests, incidents, production alerts, CI failures, local dev setup issues, repeated bugs, prior fixes, failed attempts, and verification history.
linglu-discipline
A set of 16 operating rules for an AI coding agent, including when to read or write long-term memory and how to report completed actions. It is designed to work with the Lingshu memory service through an MCP connection.
analyze-type-infer
A compiler analysis step that infers a symbol's type from its assignments. A type describes what kind of value something holds, such as a number, text, or Boolean value.
check-name-real
A name checker that verifies every required symbol has been declared. A symbol is a named program entity such as a variable or function.
compiler-0355bffb
A virtual-machine debugging skill for executing one instruction at a time. A virtual machine is a program that runs a compact instruction format instead of native machine code.
compiler-2dbea54a
A cycle-detection skill that checks a directed graph for loops using depth-first search, a method that follows each path before backtracking.