| name | sb-ingest |
| description | Ingest a file or directory into SecondBrain vault — parse, chunk, embed, and index it for future retrieval. Use when the user wants to add content to their knowledge base. |
| disable-model-invocation | true |
| allowed-tools | Bash(.venv/bin/sb ingest *) Bash(.venv/bin/sb ask *) |
| argument-hint | <path> |
Ingest into SecondBrain
Ingest the given path into the vault and confirm what was indexed.
Steps
- Run ingest:
.venv/bin/sb ingest $ARGUMENTS
-
Report the summary: files processed, chunks added, files skipped.
-
If the path contains decisions or action items, offer to run /sb-decision-extract on it.
-
If the path is a meeting transcript, offer to run /sb-meeting.
Notes
- Supported formats: .md, .pdf, .docx, .pptx, .html, .epub, .csv, .xlsx, .txt
- Incremental: unchanged files are skipped automatically
- The PostToolUse hook handles vault .md files automatically — manual ingest is for
non-vault files (downloads, email exports, external docs)