brain-ingest

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

A skill for adding a new source to a personal wiki. It reads the source, summarizes it, creates a source page, updates related pages, and records the work.

In plain words
What is it for?
It is for ingesting research and notes into a configured second brain, updating linked topic and entity pages, and logging the activity.
Why use it?
It turns a loose article, paper, note, file, or URL into organized wiki content while also identifying affected topics and contradictions.

Skill for Claude Code

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

Good fit It is for ingesting research and notes into a configured second brain, updating linked topic and entity pages, and logging the activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessepinkman9900/claude-second-brain/brain-ingest
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-ingest
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-ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/brain-ingest"><img src="https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/brain-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 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.00074 $0.00944
Opus 5 $0.00037 $0.00472
Sonnet 5 $0.00015 $0.00189
Haiku 4.5 $0.00007 $0.00094

Measured 10d ago against content hash 90e413df05d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

brain-ingest 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 10d 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.

template/.claude/skills/brain-ingest/SKILL.md · 86 lines

How it starts

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

Brain Ingest

Runs the full 9-step ingest workflow defined in CLAUDE.md. Do not skip steps.

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

qmd commands go through the CLI proxy, which sets INDEX_PATH for you:

npx -y claude-second-brain qmd -- query -c wiki "<terms>"

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

Inputs

  • File path — a file in raw-sources/articles/, raw-sources/pdfs/, or raw-sources/personal/
  • URL — fetch and read the full content directly
  • Pasted text — treat whatever the user has shared as the source

Workflow

Step 1 — Read the source

  • File: use the Read tool on the provided path
  • URL: fetch and read the full content
  • Pasted text: treat as the source directly

Step 2 — Discuss with the user

  • Summarize the source in 3–5 bullets
  • Ask: what aspects matter most? Anything to emphasize or skip?
  • Let the user's response shape which topics get deep treatment before proceeding

Step 3 — Create source summary page

  • File: $BRAIN_PATH/wiki/sources/[slug].md (slug = kebab-case from title)
  • Sections: title, author/date, one-paragraph abstract, key claims (bulleted), notable quotes (max 3), synthesis note, links to wiki pages this source touches
  • Frontmatter: type: source-summary, tags, updated: YYYY-MM-DD

Step 4 — Update wiki/index.md

  • Add the new source to the Sources Ingested section: one-line description + [[wiki/sources/slug]] link

Step 5 — Identify affected wiki pages

  • Run: npx -y claude-second-brain qmd -- query -c wiki "<source topic and key claims>"
  • Also Glob $BRAIN_PATH/wiki/*.md and $BRAIN_PATH/wiki/sources/*.md to catch anything qmd missed
  • List all pages to create or update before proceeding

Read the full file on GitHub · 86 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. 10d ago First seen · 86 lines · 74 tokens per session scan A 90e413df05d9

Subscribe to this mod's changes

brain-ingest is a skill published in the GitHub repository jessepinkman9900/claude-second-brain (47 stars, last pushed 4mo ago), licensed MIT. It adds 74 tokens to every session and 944 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

waku-computer-use

Control local Mac apps through Waku Computer Use for tasks that require reading or operating app UI. Prefer purpose-built connectors, APIs, or CLIs when available.

egoist/waku · 37 tokens

kmd-ingest

The write protocol for a markdown knowledge base (Obsidian-compatible, the LLM-wiki pattern) — personal or shared. Use for EVERY write into the KB — distilling a new or scraped source, promoting a finished artifact/report/lesson into the KB, filing a durable learning, insight, or query answer, or correcting/updating…

yasik/kmd · 135 tokens

kmd-lint

Health check for a markdown knowledge base (Obsidian-compatible, the LLM-wiki pattern) — personal or shared. Use whenever asked to lint, audit, check, review, or clean up a KB, on any scheduled hygiene/maintenance run, or when KB quality is in doubt (stale pages, contradictions, broken links, unprocessed sources…

yasik/kmd · 102 tokens

chubbyskills

Integrate chubbyguan/chubbyskills as LLM Wiki's local multi-channel ingest pack, turning Chinese feeds, videos, podcasts, articles, and social posts into searchable Obsidian/Markdown knowledge.

2233admin/obsidian-llm-wiki · 47 tokens

x-to-obsidian

Capture high-signal X/Twitter posts into an Obsidian vault through the official Obsidian Web Clipper, then let LLM Wiki search, review, and promote the saved notes.

2233admin/obsidian-llm-wiki · 45 tokens