Ingest
Skill BlaiseMoses01/obsidian-second-brain-starter/.claude/skills/ingest
Kaparthy LLM wiki style Obsidian vault template for Claude Code knowledge consolidation
npx -y skills add BlaiseMoses01/obsidian-second-brain-starter --skill ingestAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Process a new raw source into the wiki — read it, discuss takeaways, write a source summary, update affected entity/concept/project pages, update index.md, and append to log.md. Use when a source is added to dump/ (or a file path is given) and you want it integrated. Global — works from any CWD.
SKILL.md
3.5 KB, 882 tokens by cl100k_base, as published. Nobody here has run it
Ingest a source
Integrate one new source into the wiki. Default to one source at a time and stay interactive.
Vault root
This skill is global — it runs from any CWD. Resolve the vault root before any reads/writes:
Resolve the vault root first. Run this in a Bash tool call (not via !-inline execution — the
static permission check rejects shell expansions, so the inline form fails with "Contains expansion"):
d="${CLAUDE_SKILL_DIR:-$(pwd)}"; if [ -n "${SECOND_BRAIN_DIR:-}" ]; then echo "$SECOND_BRAIN_DIR"; else while [ "$d" != "/" ] && [ -n "$d" ]; do if [ -f "$d/CLAUDE.md" ] && [ -d "$d/wiki" ]; then echo "$d"; break; fi; d=$(dirname "$d"); done; fi
Precedence: $SECOND_BRAIN_DIR → walk up from the skill dir for a folder with CLAUDE.md + wiki/. If neither resolves, stop and tell the user to set SECOND_BRAIN_DIR. All paths below (dump/, wiki/, index.md, log.md) are relative to this resolved root.
Steps
- Read the source in full. The source is either the file at
$ARGUMENTS(a path in any repo/CWD) or, if no argument is given, the new file(s) in<vault>/dump/. If it references images in<vault>/dump/assets/, read the text first, then view the relevant images for extra context. Never modify anything in<vault>/dump/. - Discuss takeaways with the user — 3–6 key points — before making mass edits. Confirm what to emphasize and which entities/concepts matter.
- Write the source summary page in
wiki/sources/<kebab-title>.md. Include frontmatter (urlfor hard-linked websites,author,source_date,ingested= today,media), a 1–2 line summary, key points, and[[links]]to every entity/concept it touches. (Rough notes jotted intodump/are fair game to delete after ingestion; hard-linked sources live on via theirurl.) - Integrate across the wiki. Create or update the affected pages —
people/,organizations/,concepts/,projects/,areas/, etc. A single source often touches 10–15 pages. For each:- Add new facts; cite back with
[[sources/<slug>]]. - Prefer updating an existing page over making a near-duplicate (check
index.mdfirst). - If the source contradicts an existing claim, don't overwrite silently — add a
> [!warning] Contradictioncallout linking both sources and flag it to the user. - Bump each touched page's
updated:to today and add new[[wikilinks]]. - If the source contains action items / asks directed at the owner that don't already live in a
meeting/goal/project, append them to
wiki/tasks/open.mdin its line format, with asrc: [[sources/<slug>]]cite-back.
- Add new facts; cite back with
- Update
index.md— add the new source and any new pages under their category sections with one-line summaries. - Append to
log.md:## [YYYY-MM-DD] ingest | <Source Title>followed by 1–3 bullets listing the pages created/updated. - Update
home.mdif the ingest changed active projects, open goals, or recent decisions.
Done when
- A
sources/summary exists, ≥1 entity/concept page was updated,index.mdreflects the new pages, andlog.mdhas a correctly-prefixed entry.