
Second Brain Ingest
Turn raw source material in a second-brain vault into linked wiki pages: read the...
Install
npx skills add undefined-ui/second-brain-os --skill second-brain-ingest -g -a claude-code -y- Repository
- undefined-ui/second-brain-os1.2k
- Category
- Documents
- Updated
- 22d ago
- License
- MIT
- Context cost
- Lightabout 698 tokens
- Runs scripts
- No, instructions only
What it does
Turn raw source material in a second-brain vault into linked wiki pages: read the source, split it into concepts and entities, write or update pages, connect them to existing pages, and record the run in the log. Use this skill whenever the user drops a file into raw/, pastes an article, transcript or PDF and asks to add it to the vault, says "ingest this", "add this to my second brain", "process raw", or asks to catch up on unprocessed sources, even if they do not name the ingest command. Do NOT use for answering questions from an existing vault, for linting or repairing pages, or for editing notes the user wrote by hand.
Ingest a source
An ingest that only writes a summary page produces a vault that grows without getting smarter. The whole value is in the second half of the job: connecting the new material to what is already there. A page that lands unlinked is invisible within a week.
Core rule
Nothing is ingested until it is linked. Every run ends with the new pages connected to existing pages in both directions.
Workflow
- Read the source completely before writing anything. Partial reads produce pages built from the introduction, which is where sources are least specific.
- Check what already exists. Search the wiki for the main entities and concepts. Ingesting into an empty vault and ingesting into a vault of 300 pages are different jobs: in the second, most of your work is updating pages, not creating them.
- Write the source page in
wiki/sources/. Record claims as claims, with the source attached. - Extract concepts and entities. One page per idea. If a concept page
exists, add what this source contributes and update
updated:. If it contradicts what is there, record both positions rather than replacing. - Link in both directions. The source page links to every concept and
entity it touches; each of those links back. Add any missing target pages,
or list them under Gaps in
index.md. - Update
index.mdand append tolog.mdin the same run, because an index that lags is how a vault starts drifting. - Report what changed.
Output format
End every run with this exact shape:
Ingested: <source name>
New pages: <n> (list)
Updated pages: <n> (list)
Links added: <n>
Contradictions found: <none | description>
Gaps created: <list of linked pages that do not exist yet>


