|
| 1 | +--- |
| 2 | +name: vault-knowledge-retrieval |
| 3 | +description: Search and retrieve knowledge from the PARA knowledge base (Areas, Techniques, Resources). Use when the user asks about a technology, concept, process, or domain, or when you need background context from their Second Brain to support another task. |
| 4 | +--- |
| 5 | + |
| 6 | +# Obsidian Vault Knowledge Retrieval |
| 7 | + |
| 8 | +Search and synthesize information from the user's PARA-organized knowledge base, spanning Areas (knowledge domains), Techniques (distilled actionable knowledge), and Resources (reference material). This skill supports the **Organize** and **Distill** stages of the CODE workflow by helping the user find and connect what they already know. |
| 9 | + |
| 10 | +## Inputs |
| 11 | + |
| 12 | +### Vault Structure (PARA) |
| 13 | + |
| 14 | +The knowledge base is organized using the PARA system: |
| 15 | + |
| 16 | +- **Areas**: `Areas/<Area Name>.md` for ongoing knowledge domains, technologies, and responsibilities. May contain subfolders for logical domain grouping (e.g., `Areas/AI/`). Frontmatter properties: `acronym`, `tags: [Area]`, `last updated`. Sections include Overview, Key Concepts, and auto-populated Techniques/Resources tables via `base` queries. |
| 17 | +- **Techniques**: `Techniques/<Technique Name>.md` for distilled, actionable knowledge synthesized from Areas and Resources. Frontmatter properties: `tags: [Technique]`, `last updated`. Sections include Context, Approach, Process, Insights, Outputs, and auto-populated Linked Areas/Resources tables. |
| 18 | +- **Resources**: `Resources/` organized in subfolders by type (e.g. `Articles/`, `Blueprints/`, etc.). Frontmatter properties: `source`, `tags: [Resource]`, `last updated`. Sections include Summary and Key Takeaways. |
| 19 | +- **Projects**: `Projects/<Project Name>.md` for active tasks with goals and deadlines. Frontmatter properties: `priority`, `date_from`, `date_to`, `tags: [Project]`, `last updated`. |
| 20 | +- **Archive**: `Archive/` mirrors the PARA structure for completed or inactive items. |
| 21 | + |
| 22 | +### Base Files |
| 23 | + |
| 24 | +Base files at the vault root provide structured views across content types. These are useful for discovery and navigation: |
| 25 | + |
| 26 | +- `Knowledge.base` — Unified view across Areas, Techniques, and Resources with type filtering. |
| 27 | +- `Projects.base` — Active project tracking with status and priority. |
| 28 | +- `Techniques.base` — All techniques with linked Areas. |
| 29 | + |
| 30 | +### Key Conventions |
| 31 | + |
| 32 | +- Areas are linked as wikilinks: `[[Area Name]]` (e.g., `[[Kubernetes]]`, `[[TypeScript]]`). |
| 33 | +- Techniques link to their parent Areas via the `areas` frontmatter property: `areas: ["[[Kubernetes]]"]`. |
| 34 | +- Resources link to related Areas and Techniques via inline wikilinks in content. |
| 35 | +- The `last updated` frontmatter property tracks when content was last revised. |
| 36 | + |
| 37 | +## Instructions |
| 38 | + |
| 39 | +Your task is to: |
| 40 | + |
| 41 | +1. **Parse the user's query** to identify the retrieval intent. Determine which combination of filters applies: |
| 42 | + - **Content type** - Area, Technique, Resource, Project, or all types. |
| 43 | + - **Topic or keyword** — a technology, concept, domain, or theme (e.g., "second brain", "knowledge management", "AI"). |
| 44 | + - **Relationship** — what connects to what (e.g., "What exist for this domain?", "What resources support this area?"). |
| 45 | + - **Recency** — recent additions or updates vs. the full knowledge base. |
| 46 | + |
| 47 | +2. **Locate matching files** using workspace tools: |
| 48 | + - Use glob patterns to find candidate files by folder and name (e.g., `Areas/**/*.md`, `Techniques/*AI*.md`). |
| 49 | + - Use text search to scan frontmatter properties (`tags`, `acronym`, `source`) and body content for matching keywords. |
| 50 | + - When searching for a topic, search across all PARA folders - a query about "AI" may match an Area (`Areas/Responsible AI.md`), Techniques (`Techniques/Deploying Multi-Agent AI Systems.md`), and Resources (`Resources/Articles/`). |
| 51 | + |
| 52 | +3. **Read and extract relevant content** from matching files: |
| 53 | + - For Areas: Overview and Key Concepts sections. Note which Techniques and Resources are linked. |
| 54 | + - For Techniques: Context, Approach, and Process sections. Note which Areas and Resources inform it, and what Outputs it produced (Express stage). |
| 55 | + - For Resources: Summary and Key Takeaways. Note the source. |
| 56 | + - For Projects: Objective, Key Results, and current Progress/Blockers. |
| 57 | + |
| 58 | +4. **Trace connections** across the knowledge graph: |
| 59 | + - If an Area has linked Techniques (via the `base` query or inline wikilinks), mention them. |
| 60 | + - If a Technique references Areas it builds on, note those relationships. |
| 61 | + - If the user asks "what do I know about X?", search across all PARA folders for a complete picture. |
| 62 | + |
| 63 | +5. **Synthesize a coherent response** that directly answers the user's question: |
| 64 | + - Lead with a concise summary of what the vault contains on the topic. |
| 65 | + - Support with specifics drawn from the vault, organized by type (Areas → Techniques → Resources) or by relevance. |
| 66 | + - Attribute each piece of information to its source file. |
| 67 | + - If the query spans multiple related notes, connect the dots — show how Areas, Techniques, and Resources relate to each other. |
| 68 | + |
| 69 | +6. **Identify gaps** when relevant: |
| 70 | + - If an Area exists but has no linked Techniques, note that distillation hasn't happened yet. |
| 71 | + - If a topic appears in Journal entries but has no Area note, suggest creating one. |
| 72 | + - If a Technique has no Outputs section filled in, note the Express stage is incomplete. |
| 73 | + |
| 74 | +## Guidelines |
| 75 | + |
| 76 | +- **Read before responding.** Always read and understand the retrieved content before generating any response. |
| 77 | +- **Vault-only sourcing.** Only respond with information found in the vault files. Do not fabricate or supplement with outside knowledge. If no matching entries exist, say so clearly. |
| 78 | +- **Cite everything.** Attribute every piece of information with its source file path in brackets, e.g., `[Areas/Responsible AI.md]` or `[Techniques/Deploying Multi-Agent AI Systems.md]`. |
| 79 | +- **Cast a wide net for ambiguous queries.** When a query is broad (e.g., "what do I know about AI?"), search across Areas, Techniques, and Resources, then organize the results by relevance. |
| 80 | +- **Preserve the user's language.** Use their terminology and phrasing from the notes, not your own paraphrase. |
| 81 | +- **Organize by type.** When listing multiple entries, order by type (Areas first, then Techniques, then Resources) unless the user requests otherwise. |
| 82 | +- **Check the Archive.** If the user asks about historical or deprecated knowledge, search `Archive/` folders — but note that these items are archived. |
0 commit comments