open-brain-server: Skill for Claude Code

.claude/skills/brain-health/SKILL.md

brain-health is a skill for Claude Code from Bobby-cell-commits/open-brain-server. It costs 218 tokens per session (5,903 once invoked), scanned A, original, MIT.

A command that produces a scored health report for Open Brain, a knowledge graph that connects stored information. It checks themes, connections, duplicates, stale items, and other graph conditions over a chosen period.

In plain words
What is it for?
Use it to inspect graph structure, theme activity, duplicate pressure, outdated data, synthesis quality, and changes across reporting periods.
Why use it?
It shows whether the stored knowledge is well connected, maintained, and useful over time.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Bobby-cell-commits/open-brain-server's own configuration. It tells Claude Code how to work on open-brain-server 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 open-brain-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Bobby-cell-commits/open-brain-server. 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/Bobby-cell-commits/open-brain-server/master/.claude/skills/brain-health/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Bobby-cell-commits/open-brain-server

Made for: Claude Code.

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 brain-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/bobby-cell-commits/open-brain-server/brain-health/github.svg)](https://agentmods.dev/skills/bobby-cell-commits/open-brain-server/brain-health)
Your own site
<a href="https://agentmods.dev/skills/bobby-cell-commits/open-brain-server/brain-health"><img src="https://agentmods.dev/badge/skills/bobby-cell-commits/open-brain-server/brain-health/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 brain-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/bobby-cell-commits/open-brain-server/brain-health"><img src="https://agentmods.dev/badge/skills/bobby-cell-commits/open-brain-server/brain-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 218 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,903 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.00218 $0.05903
Opus 5 $0.00109 $0.02951
Sonnet 5 $0.00044 $0.01181
Haiku 4.5 $0.00022 $0.00590

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

Security

Grade A, and why

brain-health 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 10d 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.

.claude/skills/brain-health/SKILL.md · 570 lines

How it starts

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

/brain-health — Knowledge Graph Health Report

Produce a rubric-scored health report for Open Brain's knowledge graph: theme attention, graph structure, maintenance health, entity landscape, and serendipity picks. Cross-run memory for longitudinal tracking.

Arguments

Parse from user message:

  • days: Integer, default 7. The reporting period in days. Usage: /brain-health or /brain-health 14.

Set N = days value for all tool calls below. Set TODAY = current date in YYYY-MM-DD format.

Phase 1: Data Gathering

Call all 12 MCP tools in parallel. There are no dependencies between them.

Parallel calls:

  1. analyze(type="themes") — theme attention map: velocity, lifecycle, centroid drift

  2. thought_stats(days=N) — current period breakdown (type, theme, topics, people)

  3. thought_stats(days=N*2) — double-window stats (subtract current to derive prior period)

  4. analyze(type="density") — graph connectivity at 0.70/0.75/0.80/0.85 thresholds

  5. analyze(type="hubs", min_connections=5) — cluster nuclei

  6. analyze(type="co_occurrence") — usage-driven edges, session stats, decay

  7. dedup_review(limit=30) — near-dupe zone histogram + candidate pairs

  8. review_stale(action="list") — pending Tier 3 archival candidates

  9. list_entities(entity_type="tool", min_thoughts=3) — tool frequency landscape

  10. list_entities(entity_type="person", min_thoughts=3) — people frequency landscape

  11. serendipity_digest() — forgotten high-quality thoughts

  12. list_thoughts(type="synthesis", days=N*2, min_quality=0, limit=50) — Dream Phase C synthesis thoughts for health assessment

  13. Glob research/brain-health/*.md, sort filenames descending, skip any file matching TODAY's date, take the first match. Read its YAML frontmatter and extract the findings array. If no prior report exists or the prior report has no findings array, set prior_findings to an empty list.

  14. Read research/brain-health/BASELINE.md (if it exists). Parse YAML to extract suppress and force lists. If the file does not exist, set both lists to empty.

Read the full file on GitHub · 570 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. 10d ago First seen · 570 lines · 218 tokens per session scan A 7a66df83c900

Subscribe to this mod's changes

brain-health is a skill published in the GitHub repository Bobby-cell-commits/open-brain-server (8 stars, last pushed 4mo ago), licensed MIT. It adds 218 tokens to every session and 5,903 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

shellm

Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.

laude-institute/headlong · 49 tokens