/para-knowledge-base:kb-ingestfrom para-knowledge-base
Classifies and integrates new documents into a PARA Knowledge Base: reads content, determines PARA classification, moves files, generates metadata, creates wikilinks, updates indexes, and validates.
Ships in para-knowledge-base. 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.
Process new documents into the Knowledge Base. Reads content, classifies into the right PARA location, generates metadata, creates wikilinks, updates related documents, and maintains indexes.
Inbox/ is optional, not a prerequisite. Apply this workflow when the user directly asks to create, add, organize, or substantially integrate knowledge in the wiki. A direct write in its final PARA folder still performs ANALYZE, metadata, linking, index, validation, human log, and build telemetry steps; only MOVE is skipped.
/kb-ingest # Process all files in Inbox/
/kb-ingest path/to/file.md # Process a specific file
/kb-ingest path/to/folder/ # Process all .md files in a folder
"위키에 이 내용을 만들어줘" # Direct creation; route through the same workflow
For each document to ingest:
When telemetry is enabled, start one explicit ingest operation before reading or classifying source material. For a batch, start one operation for the whole batch, not one per file. Retain the exact operation_id and parent request_id printed by the bundled helper; reuse both in the summary.
PARA_KB_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}"
python3 "$PARA_KB_PLUGIN_ROOT/scripts/para_kb_telemetry.py" build-start <<'JSON'
{"source":"kb-ingest-skill","source_kind":"inbox|direct|batch"}
JSON
Set source_kind from the actual entry route: inbox for an Inbox-origin document, direct for a direct wiki request or specified file, and batch for a multi-document run. The same bundled path works in Claude Code and Codex. Telemetry failure must not block a valid ingest, but do not invent or recover an operation id from a later unrelated request.
_index.md files for context (NOT full documents — token-efficient)| Signal | Classification |
|---|---|
| Has deadline, phases, deliverables | 1. Projects/ → which project? |
| Paper/논문, research, study | 2. Areas/Paper/ |
| Career, Interview/면접, resume | 2. Areas/Career/ |
| Ongoing responsibility, no end date | 2. Areas/ → which area? |
| Tutorial, how-to, reference guide | 3. Resources/ → which category? |
| Completed, historical, inactive | 4. Archive/ |
| Unclear | Ask user |
Add or update frontmatter fields:
---
title: Document Title
created: 2026-04-05 # preserve original if exists
type: paper # paper|note|reference|meeting|idea|log|data
summary: One-line summary of the document's content and purpose.
tags:
- "#proj/project-name" # if project-related
- "#type/paper" # document type
- "#topic/kubernetes" # subject matter
related:
- "[[Related Document]]" # discovered relationships
source: https://... # URL or citation (if applicable)
---
summary is required on every ingested document, not just long ones. It is what kb-query reads instead of the full body when narrowing candidates. Write it as a single sentence describing what the document contains — not a teaser. For documents under 500 words, this frontmatter line is the only summary produced; for longer documents, Step 5 below adds a second, longer summary as a body callout.
Use type: data for large data-style listings that are not meant to be read in full — raw exports, link/reference dumps, generated tables, telemetry-adjacent lists. kb-query skips the body of type: data documents and relies on summary and frontmatter alone, so make the summary field precise about what the data covers (source, scope, row/item count) since it carries more weight than usual.
For documents over 500 words, add a second, longer summary as a body callout in addition to the required frontmatter summary line:
> **Summary:** ... callout blockScan document content for existing vault entities:
[[Document Title]][[project-name]][[term]]Rules:
For each strongly related document (max 3):
## Related Documents section (create section if missing; use ## 관련 문서 for Korean vaults)- [[New Document]] — brief context_index.md0. Common/index.md1. Projects/<slug>/ and that folder has a project hub _index.md, update the hub's local document list as well. Create a new project hub only when the vault convention or user request calls for project-level entrypoints.Append to 0. Common/log.md:
[2026-04-05] ingest | Document Title | → 2. Areas/Paper/ | updated 2 docs
After material vault construction, verify the result and complete the exact operation opened in Step 0 with one compact BuildSummary. Keep 0. Common/log.md as the human decision record; the JSONL event is machine evidence for operation duration, token, reference-path, placement, index, and link analysis. The runtime Stop hook emits a linked BuildComplete after answer generation.
summary frontmatter is present, intended wikilinks resolve, and each affected Tier 1/Tier 2 index was updated.reference_paths, not every file surfaced by a command.link_pairs and counts from the actual final diff/graph. Do not guess.BuildStart → BuildSummary, and the Stop hook finalizes the same explicit operation_id; generic whole-turn time remains a separate diagnostic field.kb_ingest_used: true only when this complete workflow ran. A known partial or bypassed direct write uses false and route: direct-wiki-write.Portable helper example:
PARA_KB_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}"
python3 "$PARA_KB_PLUGIN_ROOT/scripts/para_kb_telemetry.py" build-summary <<'JSON'
{"source":"kb-ingest-skill","operation_id":"build-... returned by build-start","request_id":"parent id returned by build-start","operation_type":"create","route":"kb-ingest","kb_ingest_used":true,"reference_paths":["3. Resources/topic/Source.md"],"created_paths":["1. Projects/demo/New Note.md"],"updated_paths":[],"moved_from_paths":[],"moved_to_paths":[],"index_paths":["1. Projects/demo/_index.md"],"link_pairs":[{"source_path":"1. Projects/demo/_index.md","target_path":"1. Projects/demo/New Note.md"}],"links_added":1,"backlinks_added":0,"frontmatter_completed":1,"summaries_completed":1,"validation":"passed","confidence":"high"}
JSON
The legacy build-complete helper command remains a temporary alias for build-summary; new instructions and integrations must use the canonical name.
When processing multiple files (Inbox/ or folder):
BuildSummaryProjects are not born in 1. Projects/ and archived unchanged — knowledge should flow in and out as a project moves through PARA. Apply this lifecycle at project start, during active work, and at completion; it runs independently of the per-document ingest flow above, which handles individual incoming notes.
Ideas and reference material usually already live in 2. Areas/ or 3. Resources/ before a project exists. When a project starts:
| Signal | Action |
|---|---|
| Document is a project-unique deliverable, plan, or decision record | Move into 1. Projects/<slug>/ |
| Document is reference material the project draws on but doesn't own | Keep it in place (2. Areas/ or 3. Resources/); link with [[wikilink]] from the new project instead of moving |
Do not drag reference material into the project folder just because the project uses it — moving breaks the resource's existing backlinks and duplicates ownership. Link, don't move.
While a project is active, new knowledge surfaces that outlives the project itself (a reusable pattern, a technique, a decision framework). Ask: would this still be useful after the project ends?
| Answer | Action |
|---|---|
| Yes — reusable beyond this project | Create or update the page in 3. Resources/; link it from the project instead of duplicating content in the project folder |
| No — specific to this project's execution | Keep it in the project folder as a project-unique record |
Keep the project folder lean: unique history and decisions, not general knowledge that belongs in Resources.
Do not move a completed project folder into 4. Archive/ wholesale without a decompose pass first. Archiving unprocessed folders turns Archive into an unsearched dumping ground and strands reusable knowledge where kb-query won't look for it.
Before the move:
3. Resources/. Anything future projects could reuse (patterns, techniques, findings) gets its own Resources page or merges into an existing one.2. Areas/. If the project revealed or spawned a standing responsibility with no end date, it becomes (or merges into) an Areas page, not a project artifact.4. Archive/<project>/, moved as a folder once the two extractions above are done.4. Archive/_index.md, and 3. Resources//2. Areas/ indexes if something was extracted) and append one log.md line covering the whole decompose + move.kb-query treats 3. Resources/ as first-class search surface and 4. Archive/ as a lookup of last resort for historical questions only. Reusable knowledge left trapped inside an archived project folder becomes effectively unsearchable — the decompose pass is the return step that makes it retrievable again, not just an organizational tidy-up.
When available, prefer CLI — uses Obsidian's actual link/tag graph and avoids reading files into context.
# Discovery
obsidian search:context query="related term" # related docs with surrounding context
obsidian backlinks file="Document" # existing backlinks
obsidian tags # full tag inventory
obsidian tag name=<tag> # files carrying a tag
# Move (auto-updates wikilinks across vault)
obsidian move path="Inbox/foo.md" to="2. Areas/Paper/foo.md"
# Frontmatter
obsidian property:read name=tags file="Doc"
obsidian property:set name=tags value="['#proj/product-launch','#type/note']" file="Doc"
# Create + append (for backlink updates)
obsidian create file="Doc" content="..."
obsidian append file="Related Doc" content="- [[New Doc]] — context"
obsidian move is preferred for the MOVE step — auto-updates all [[wikilinks]] across the vault. Manual mv requires post-grep, manual wikilink replacement, affected index updates, and one structural log entry per vault CLAUDE.md.
Fallback (no CLI):
mv then grep '[[<old name>]]' and replace## Related Documents (or ## 관련 문서) sectionWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/kb-dreamOffline consolidation pass for a PARA Knowledge Base ("dreaming"). Re-checks volatile notes (next actions, status lines, indexes, agent memory notes) against recent logs and the files themselves, fixes what is mechanical, and writes proposals for the rest. Use on a schedule (weekly by default), when a scheduled run is reported overdue, or when the user asks to "dream", consolidate, refresh stale notes, or check whether the wiki is still true./kb-indexUpdate Knowledge Base indexes. Smart mode detects changes and updates only what's needed. Full rebuild available with --full flag. Use after adding/moving documents or when indexes feel stale./kb-initInitialize or adopt a portable PARA Knowledge Base in an Obsidian vault. Detects numbered, standard, or configured roots; creates indexes and a log when requested; and installs shared rules/config for Claude Code, Codex, and local consumers./kb-lintHealth check for the PARA Knowledge Base. Detects orphan documents, broken links, index drift, tag issues, and stale content. Run periodically or as part of weekly review./kb-queryQuery the PARA Knowledge Base to find information, synthesize answers from vault documents, inspect recent activity when needed, and record compact query telemetry when configured. Use for any question about Obsidian vault content, projects, references, logs, links, or cross-document analysis.npx claudepluginhub ernestolee13/para-knowledge-base --plugin para-knowledge-baseOther plugins' skills for the same job