brain-capture

brain-capture is a skill for Claude Code, Codex from SanderMoon/local-brain. It costs 55 tokens per session (1,044 once invoked), scanned A, original, MIT.

A quick-capture workflow for saving tasks, ideas, and notes from natural-language messages. It infers details such as action, due date, urgency, project, and whether the item is a task or note.

In plain words
What is it for?
Use it for reminders, tasks, notes, ideas, and other things you want to remember. It can also split a message containing several separate items into multiple captures.
Why use it?
It reduces the effort needed to record something before it is forgotten, without requiring a detailed questionnaire.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sandermoon/local-brain/brain-capture
Any agent
npx skills add SanderMoon/local-brain --skill brain-capture
Clone the repo
git clone --depth 1 https://github.com/SanderMoon/local-brain

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandermoon/local-brain/brain-capture.svg)](https://agentmods.dev/skills/sandermoon/local-brain/brain-capture)
Your own site
<a href="https://agentmods.dev/skills/sandermoon/local-brain/brain-capture"><img src="https://agentmods.dev/badge/skills/sandermoon/local-brain/brain-capture.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00055 $0.01044
Opus 5 $0.00028 $0.00522
Sonnet 5 $0.00011 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 4d ago against content hash c7ac92bcc75c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

brain-capture 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 4d 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.

pkg/skillscatalog/skills/brain-capture/SKILL.md · 111 lines

How it starts

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

brain-capture: Smart Quick Capture

Capture thoughts, tasks, and notes instantly with minimal friction. Speed is everything — the capture must be faster than the thought fading. Infer metadata from natural language; do not interrogate.

Trigger Phrases

  • "Remind me to...", "Don't let me forget..."
  • "Add a task: ...", "Save this: ..."
  • "I need to...", "Note to self: ..."
  • "Quick thought: ...", "Idea: ..."
  • Any statement that implies something should be remembered

Workflow

Step 1 — Parse the Input

Extract from the user's natural language:

Signal Example Inference
Action verb "Ship the feature" Task (not note)
Time reference "by Friday", "next week", "before March" Due date
Urgency words "urgent", "ASAP", "critical", "important" Priority 1
Project mention "for the website", "re: backend" Project association
"idea", "thought", "note" "Idea for the landing page" Note (not task)
Multiple items "I need to X, Y, and Z" Multiple captures

Step 2 — Route the Capture

If a project is clearly identified (user mentions it by name or context is unambiguous):

  • Call create_todo_in_project directly with inferred metadata
  • Confirm: "Added to [project]: [task] (due Friday, P1)"

If the project is ambiguous or no project context:

  • Call add_to_dump to send to inbox
  • Confirm: "Captured to inbox: [task]"
  • Do NOT ask "which project?" — that breaks the speed contract. Inbox exists for this.

If it's a note, not a task:

  • Call add_to_dump with type "note" and a title
  • Confirm: "Saved note: [title]"

If multiple items are mentioned:

  • Parse each one separately
  • Capture all in a single batch call
  • Confirm with a list: "Captured 3 items: ..."

Step 3 — Confirm and Return

Confirmation must be one line. Examples:

"Captured: 'Review PR for auth module' -> inbox"

"Added to backend-v2: 'Fix rate limiting bug' (P1, due 2026-02-18)"

"Saved 3 tasks to inbox: 'Update docs', 'Email Sarah', 'Book flight'"

Read the full file on GitHub · 111 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. 4d ago First seen · 111 lines · 55 tokens per session scan A c7ac92bcc75c

Subscribe to this mod's changes

brain-capture is a skill published in the GitHub repository SanderMoon/local-brain (9 stars, last pushed 5mo ago), licensed MIT. It adds 55 tokens to every session and 1,044 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.