/second-brain:ingestfrom second-brain
Processes raw session notes into ingested insights by updating frontmatter status and type. Stage 1 of a pipeline that defaults to keeping notes whole and only splits on genuine cross-topic signals.
Ships in second-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a raw session notes file (type: session-notes) into an ingested
insight, ready for the enrich stage. Defaults to keeping it as one
note — see "Exception" below for when to split.
See ../obsidian/references/pipeline.md for stage definitions and status flow.
A session notes file in the inbox with status: raw and type: session-notes.
If the note names a Claude Code session (source: claude-code session <id> ...
or a session/session-id key) and that session's transcript isn't on this
machine, leave the note untouched and say so: it was written on another
machine and waits for that one. process-inbox finds these in its survey;
when you're run on a single note, check with
ls ~/.claude/projects/*/<id>*.jsonl (each CLAUDE_CONFIG_DIR entry in
place of ~/.claude when it is set).
Most session notes — including every devlog-produced one — are already
well-organized: one session, one provenance (repo/branch/issue), a handful
of related bullets. Splitting them into N separate notes mints
near-duplicate notes that mostly route to the same destination anyway — a
real run against 32 session notes would have exploded into 120-140
near-duplicates that mostly filed to the same destination.
Default behavior: keep the session note as ONE note. Change its frontmatter in place, using the Edit tool:
status: raw → status: ingestedtype: session-notes → type: insightDon't create any new files. Don't touch the body — enrich handles prose
cleanup next.
Check for a real cross-topic signal before splitting — not a bullet count. Read the note's bullets:
If every bullet shares the same repo/branch/issue context (the common
case, and always true for a single devlog session), keep it whole.
If bullets explicitly reference different repos, branches, or issues
within the same file (only possible in hand-authored or legacy
multi-topic session notes — devlog output never does this), split
those bullets into separate notes instead:
There's no structured per-bullet frontmatter for this — repo/branch/issue
only ever exist once, at the file level. Infer divergence from what the
bullet text itself says (e.g. a bullet's prose names a different repo
than the file's own frontmatter, or than another bullet). Older notes
may carry bean: instead of issue:; treat them the same, and copy
whichever key the source note used.
sb note create --source auto --title "{insight title}" with
status: ingested, type: insight, source-session: {original session filename},
and that bullet's own repo/branch/issue.ingested using the
Edit tool — it stays in the inbox as a record, not processed
further.Either:
status: ingested and type: insight (default
case), orstatus: ingested, plus the original session
file updated to status: ingested (split case)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/captureUse when the user asks to read a source and make a note for it, create or find an atomic note, or check whether a note already exists or add to one that does. Triggers on "read <url> and make a note", "make a note for", "create (or find) an atomic note", "do we have notes about X?", "check if we have a note for", "capture this", "put together a note", "distill this", and on a bare URL/PDF/tweet/thread handed over with intent to write it up. Use inside an Obsidian vault or anywhere a vault is configured. Do NOT use for draining an accumulated inbox backlog (that is process-inbox), for extracting insights from the current conversation (that is devlog), or for routing already-captured notes to their homes (that is route)./connectFind related notes via semantic search and weave links. Stage 4 of the processing pipeline./devlogUse when finishing a feature, fixing a notable bug, wrapping up a work session, or discovering something non-obvious (a gotcha, undocumented behavior, a workaround that took several tries, a constraint you only noticed after hitting it). Write the entry immediately, in the same turn - don't ask permission, don't offer, just do it. Do NOT use for routing, connecting, or moving notes (that's process-inbox), and do NOT use for one-off external-source capture (that's second-brain:capture)./distill-rulesReview routing corrections and propose updates to vault CLAUDE.md routing rules./enrichTurn an ingested insight into a proper zettelkasten note with clean prose. Stage 2 of the processing pipeline./link-dailyLink a processed note to today's daily note. Stage 5 of the processing pipeline.npx claudepluginhub technicalpickles/pickled-claude-plugins --plugin second-brainOther plugins' skills for the same job