brain-save

brain-save is a skill for Claude Code from jeremylongshore/bobs-big-brain-plugin. It costs 66 tokens per session (2,527 once invoked), scanned A, original, Apache-2.0.

A controlled tool for saving one fact, decision, pattern, or convention into a long-term knowledge store, or retiring an outdated memory. It checks proposed entries before storing them and records the decision.

In plain words
What is it for?
Use it when a project or team needs its knowledge store to remember a specific rule, decision, or updated fact.
Why use it?
It prevents important knowledge from being added casually or duplicated without review. It also provides a record of what was accepted or rejected.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Part of the governed-second-brain plugin — 2 skills, 1 MCP server shipped together

Good fit Use it when a project or team needs its knowledge store to remember a specific rule, decision, or updated fact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeremylongshore/bobs-big-brain-plugin/brain-save
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 jeremylongshore/bobs-big-brain-plugin --skill brain-save
Clone the repo
git clone --depth 1 https://github.com/jeremylongshore/bobs-big-brain-plugin

Made for: Claude Code.

Or install governed-second-brain, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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-save

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeremylongshore/bobs-big-brain-plugin/brain-save/github.svg)](https://agentmods.dev/skills/jeremylongshore/bobs-big-brain-plugin/brain-save)
Your own site
<a href="https://agentmods.dev/skills/jeremylongshore/bobs-big-brain-plugin/brain-save"><img src="https://agentmods.dev/badge/skills/jeremylongshore/bobs-big-brain-plugin/brain-save/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-save

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeremylongshore/bobs-big-brain-plugin/brain-save"><img src="https://agentmods.dev/badge/skills/jeremylongshore/bobs-big-brain-plugin/brain-save.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,527 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.00066 $0.02527
Opus 5 $0.00033 $0.01264
Sonnet 5 $0.00013 $0.00505
Haiku 4.5 $0.00007 $0.00253

Measured today against content hash 09414cb0e6bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

brain-save 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 today.

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.

skills/brain-save/SKILL.md · 171 lines

How it starts

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

Brain Save — write a fact into your brain (governed)

/brain reads; /brain-save writes governed memory. Use it to remember one durable fact without recompiling a corpus or to retire a memory that is no longer true.

Overview

The brain learns in two ways: a bulk compile ingests a whole corpus at once, and /brain-save adds (or retires) a single item on demand. Either way, governance stays in code: this skill captures a candidate, then runs the deterministic govern step (dedupe → policy → promotion) that decides what actually gets stored — and writes a SHA-256 hash-chained audit event for the decision. You are proposing an item for the brain to keep; the deterministic curator owns whether and how it lands.

Why this never auto-fires

disable-model-invocation: true means Claude will not trigger this from conversation — it runs only when you explicitly type it. Writing to your durable brain is a deliberate act, not a chat side effect. In local mode you own the brain outright — no server, token, or role; the only gate is that you asked. In team mode the same deliberate-act rule holds, and the server additionally enforces your role (a member proposes; an admin governs and retires).

Prerequisites

  • The governed-second-brain plugin is installed (it auto-wires the local governed-brain MCP server with the capture + govern tools).
  • In local mode, qmd 2.x is on PATH so the govern step can refresh the search index after a promotion. If qmd is absent, capture + govern + the audit receipt still complete; only fresh-search visibility waits. Team clients do not require a local qmd installation.
  • Works in both modes. In local mode (default, no TEAMKB_API_URL) all the tools below run in-process. In team mode (TEAMKB_API_URL set) the brain is governed centrally on the server: you propose with brain_capture and the server disposes (govern runs server-side, so there is no client brain_govern); brain_transition is exposed but admin-only (a member gets a clear 403); brain_status is a connection-health probe; brain_audit_verify is not exposed to the team client.
  • See the runtime contract for exact tool availability, authentication, result semantics, and safe retry behavior.

Read the full file on GitHub · 171 lines

Files

What ships with it

1 file 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.

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. today Changed · +13 lines · -28 tokens per session 09414cb0e6bb
  2. 10d ago First seen · 158 lines · 94 tokens per session scan A d057781ca276

Subscribe to this mod's changes

brain-save is a skill published in the GitHub repository jeremylongshore/bobs-big-brain-plugin (2 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 2,527 once invoked, about $0.0003 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

memory-recall

Search across all structured memory files. Default backend: BM25 scoring with Porter stemming and domain-aware query expansion. Optional: graph-based cross-reference boosting (--graph). Optional: vector/embedding backend (configure in mind-mem.json). Returns ranked results with block ID, type, score, excerpt, and file…

star-ga/mind-mem · 0 tokens

apply-proposal

Review and apply intelligence proposals generated by /scan. Uses atomic operations with rollback safety.

star-ga/mind-mem · 0 tokens

integrity-scan

Run the intelligence scanner to detect contradictions, drift, dead decisions, and missing cross-references across the entire memory workspace.

star-ga/mind-mem · 0 tokens

liquefy-archive

Background compression and vault archival for OpenClaw workspaces — auto-packs sessions, memory, and artifacts into verified .null vaults with full MRTV proofs. Blocks credential and key leaks before archiving.

Parad0x-Labs/openclaw-skills · 49 tokens

liquefy-openclaw

Use this skill when working with Liquefy around OpenClaw, including plugin scan/apply flows, native hook integration, session vaulting, search/restore, policy explanation, guarded runs, context gate, replay blocking, and state/history guard workflows.

Parad0x-Labs/openclaw-skills · 59 tokens

context-capsule

Compresses older OpenClaw agent session history into a bounded, lane-change-aware context capsule — keeps recent messages verbatim, flags abandoned directions, quarantines injected instructions, and redacts secrets. Local, deterministic, any model.

Parad0x-Labs/openclaw-skills · 51 tokens