awesome-second-brain: Command for Claude Code

.claude/commands/core/save.md

save is a command for Claude Code from superuser-pal/awesome-second-brain. It costs 33 tokens per session (522 once invoked), scanned A, original, MIT.

A command that saves information into the appropriate part of an Obsidian vault, organizing it into readable notes while preserving the writer's voice.

In plain words
What is it for?
Use it to save decisions, incidents, one-to-one content, achievements, architecture notes, project updates, person context, or general work notes.
Why use it?
It reduces duplicate notes and removes the effort of deciding where new information belongs and how much structure to add.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is superuser-pal/awesome-second-brain's own configuration. It tells Claude Code how to work on awesome-second-brain 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 awesome-second-brain configures →

Reuse

Borrowing it

Nothing to install: this file belongs to superuser-pal/awesome-second-brain. 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/superuser-pal/awesome-second-brain/main/.claude/commands/core/save.md
Clone the repo
git clone --depth 1 https://github.com/superuser-pal/awesome-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 save

README.md
[![agentmods](https://agentmods.dev/badge/commands/superuser-pal/awesome-second-brain/save/github.svg)](https://agentmods.dev/commands/superuser-pal/awesome-second-brain/save)
Your own site
<a href="https://agentmods.dev/commands/superuser-pal/awesome-second-brain/save"><img src="https://agentmods.dev/badge/commands/superuser-pal/awesome-second-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 save

Your own site · 80×15
<a href="https://agentmods.dev/commands/superuser-pal/awesome-second-brain/save"><img src="https://agentmods.dev/badge/commands/superuser-pal/awesome-second-brain/save.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 522 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.00033 $0.00522
Opus 5.5 $0.00013 $0.00209
Sonnet 5.5 $0.00007 $0.00104
Haiku 4.5 $0.00003 $0.00052

Measured 2mo ago against content hash 02a7b007d2ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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/commands/core/save.md · 37 lines

What it actually says

Process the following input and save it to the vault.

Routing note: Content saved to domains/[Name]/02_PAGES/ or work/04_PAGES/ becomes a permanent page. Content saved to thinking/ is a temporary note with status: thinking (promote via /process when ready).

  1. Read the content — understand what the user is sharing. Don't over-interpret or add structure that isn't there.

  2. Give it order — clean up the content so it's readable and well-organized:

    • Fix obvious typos and formatting issues
    • Add light structure (headings, bullets) where it helps readability
    • Preserve the user's voice and phrasing — don't rewrite into formal language
    • Tag with observation categories ([fact], [decision], [action], etc.) only where they naturally fit
  3. Classify it: decision, incident, 1-on-1 content, win/achievement, architecture, project update, person context, or general work note.

  4. Search first: Use qmd vsearch (or obsidian search if QMD unavailable) to check if a related note already exists. Prefer appending to existing notes over creating new ones for small updates.

  5. Create or update the appropriate note following CLAUDE.md conventions:

    • Correct folder placement (work/01_PROJECTS/, work/03_INCIDENTS/, work/02_1-1/, work/06_ORG/PEOPLE.md, domains/[Name]/02_PAGES/, etc.)
    • Full YAML frontmatter with date, description, tags, and type-specific fields
    • All relevant [[wikilinks]] to people, projects, teams, competencies
  6. Update indexes as needed (work/INDEX.md, work/05_REVIEW/WINS.md, work/06_ORG/PEOPLE.md)

  7. Cross-link: Ensure every new page links to at least one existing page or note and is linked FROM at least one existing page.

After processing, provide a brief summary:

  • What was captured and where
  • Any notes created or updated (with paths)
  • Any items you weren't sure how to classify (ask the user)

Content to save: $ARGUMENTS

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. 2mo ago First seen · 37 lines · 33 tokens per session scan A 02a7b007d2ca

Subscribe to this mod's changes

save is a command published in the GitHub repository superuser-pal/awesome-second-brain (16 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 522 once invoked, about $0.0001 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-30.