brain-remember

brain-remember is a skill for Claude Code from jessepinkman9900/claude-second-brain. It costs 85 tokens per session (1,389 once invoked), scanned A, original, MIT.

A workflow for saving important decisions, lessons, facts, and unresolved questions from an agent conversation into a personal wiki. It links the new conversation record with related topic and entity pages.

In plain words
What is it for?
Use it after making a decision, discovering a project fact or gotcha, or leaving an open question for later. It saves information from the current conversation to the selected brain.
Why use it?
It prevents useful context from being lost when the conversation ends. It also separates durable knowledge from casual chat and points to the correct workflow for importing articles, PDFs, and URLs.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it after making a decision, discovering a project fact or gotcha, or leaving an open question for later. It saves information from the current conversation to the selected brain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessepinkman9900/claude-second-brain/brain-remember
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 jessepinkman9900/claude-second-brain --skill brain-remember
Clone the repo
git clone --depth 1 https://github.com/jessepinkman9900/claude-second-brain

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/brain-remember/github.svg)](https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/brain-remember)
Your own site
<a href="https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/brain-remember"><img src="https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/brain-remember/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-remember

Your own site · 80×15
<a href="https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/brain-remember"><img src="https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/brain-remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,389 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.00085 $0.01389
Opus 5.5 $0.00034 $0.00556
Sonnet 5.5 $0.00017 $0.00278
Haiku 4.5 $0.00009 $0.00139

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

Security

Grade A, and why

brain-remember 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.

template/.claude/skills/brain-remember/SKILL.md · 100 lines

How it starts

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

Brain Remember

Captures knowledge from this conversation (not an external file or URL) and integrates it into the wiki. It runs the Remember workflow in CLAUDE.md, which reuses the ingest steps with the conversation as the source. For articles, PDFs and URLs, use /brain-ingest instead.

Brain Discovery

All commands target the default brain registered in ~/.claude-second-brain/config.toml. Resolve paths at call time via the claude-second-brain CLI — do not bake paths into this file:

BRAIN_PATH=$(npx -y claude-second-brain path)       # absolute path to the default brain's directory
npx -y claude-second-brain qmd -- query -c wiki "<terms>"

Pass --brain <name> before the -- to target a non-default brain.

What to capture

Only knowledge worth finding again in a month:

  • Decisions — what was chosen, why, and what was ruled out
  • Learnings — gotchas, root causes, how something actually works, commands or settings that turned out to matter
  • Facts — stable facts about a project, tool, person or system that came up
  • Open questions — things left unresolved that a later session should pick up

Skip chit-chat, step-by-step narration of the work, and anything already obvious from the code or git history.

Never write secrets. Leave out API keys, tokens, passwords, private URLs with credentials, and anything the user marks private. If a learning depends on a secret, describe it without the value ("the token lives in the NPM_TOKEN repo secret").

Workflow

Step 1 — Gather candidates

  • If the user passed an argument or said "remember that …", capture that item; still pull in the reasoning behind it from the conversation.
  • Otherwise scan the whole conversation for the categories above.
  • Note the context: the working directory or repo, and the date.

Step 2 — Confirm with the user

  • List the candidates as short bullets grouped by Decisions / Learnings / Facts / Open questions.
  • Ask which to keep, drop or reword. If the user named one exact thing to remember, show the one line you will save and go ahead unless they object.

Read the full file on GitHub · 100 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. today First seen · 100 lines · 85 tokens per session scan A a778b2158c1e

Subscribe to this mod's changes

brain-remember is a skill published in the GitHub repository jessepinkman9900/claude-second-brain (189 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,389 once invoked, about $0.0003 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-12-01.

Related

brain-remember compared with skills from other repositories

brain-remember next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brain-rememberjessepinkman9900/claude-second-brainSkill189todayMITA85Claude Code
karpathy-llm-wikiAstro-Han/karpathy-llm-wikiSkill2.8k4mo agoMITA67Claude Code, Codex
memory_progressive_disclosureMidOSresearch/midosSkill8yesterdayMITA0Claude Code, Codex
midos-mcpMidOSresearch/midosSkill8yesterdayMITA52Claude Code, Codex
knowitismaelkedir/knowitSkill122mo agoMITA92Claude Code, Codex
debriefuttambharadwaj/kb-graphSkill41mo agoMITA76Claude Code, Codex
kb-workflowuttambharadwaj/kb-graphSkill41mo agoMITA40Claude Code, Codex