archive-to-brain

archive-to-brain is a skill for Claude Code from nweii/agent-stuff. It costs 53 tokens per session (3,304 once invoked), scanned A, original, MIT.

A skill for saving a detailed summary of an AI conversation in Nathan’s Obsidian Brain vault. Obsidian is a note-taking application that stores linked Markdown files.

In plain words
What is it for?
Use it to archive technical sessions, planning discussions, creative exploration, or other conversations as structured Thinking notes in the vault.
Why use it?
It preserves useful reasoning, decisions, discoveries, and technical history that might otherwise be lost when a conversation ends.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to archive technical sessions, planning discussions, creative exploration, or other conversations as structured Thinking notes in the vault.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nweii/agent-stuff/archive-to-brain
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 nweii/agent-stuff --skill archive-to-brain
Clone the repo
git clone --depth 1 https://github.com/nweii/agent-stuff

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 archive-to-brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/nweii/agent-stuff/archive-to-brain.svg)](https://agentmods.dev/skills/nweii/agent-stuff/archive-to-brain)
Your own site
<a href="https://agentmods.dev/skills/nweii/agent-stuff/archive-to-brain"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/archive-to-brain.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,304 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.00053 $0.03304
Opus 5 $0.00026 $0.01652
Sonnet 5 $0.00011 $0.00661
Haiku 4.5 $0.00005 $0.00330

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

Security

Grade A, and why

archive-to-brain 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 7d 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.

skills/archive-to-brain/SKILL.md · 221 lines

How it starts

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

Archive conversation to Brain vault

Create an archival summary of an AI conversation and save it to Nathan's Obsidian vault (Brain).

Deep analysis requirements

Conduct a thorough analysis of the entire conversation:

  1. Read through completely first, identifying all conceptual threads, task sequences, and transitions
  2. Note patterns in questioning, resistance points, breakthrough moments, or technical hurdles
  3. Identify the conversation's nature (technical work session, creative exploration, strategic planning, philosophical inquiry, etc.)
  4. Understand what made this particular exchange worth preserving (insight-driven vs. action-documentation)
  5. Determine what structure would best capture its unique value (narrative vs. log-formatted)

Look deeply for:

  • The real question beneath the initial question
  • How the problem space was redefined or the technical path was forged
  • Moments where assumptions were challenged or implementation details were decided
  • Conceptual frameworks or technical patterns that emerged organically
  • The emotional/intellectual journey or the step-by-step progress of a work session
  • Valuable tangents or "failed" approaches that taught something or informed the final code
  • Connections made between seemingly unrelated ideas or system components
  • What remained intentionally unresolved or deferred to later tasks

Creating descriptive structure

Instead of using generic headings like "Initial Question" or "Key Findings," create headings that describe the actual content of each section. The heading should give readers immediate context about what happened in that part of the conversation.

Examples of descriptive headings:

  • "Starting from hourly vs. project pricing questions"
  • "Why the recursive function kept hitting memory limits"
  • "Exploring whether this needs to be real-time"
  • "The confusion about state management"
  • "Deciding between complexity and maintainability"

Use sentence-case for headings, not title case. Avoid marketing-speak, dramatic phrasing, or trying to be clever.

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

Subscribe to this mod's changes

archive-to-brain is a skill published in the GitHub repository nweii/agent-stuff (9 stars, last pushed 19d ago), licensed MIT. It adds 53 tokens to every session and 3,304 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.