Targeted retrieval of prior task-class patterns, workflow learnings, and reusable examples from the synced Obsidian vault. Invoked when planning or execution benefits from knowing how Nova-Core handled similar work before.
STATE/ filesTASKS/, LOGS/Classify the task — identify the task class or workflow type. Be specific: "creating a read-only MCP skill" not "building something".
Search for matching patterns — use vault_search with focused terms derived from the task class. Try 2-3 queries with varied phrasing:
30-workflow-learnings, 20-agent-patterns, 70-debuggingInspect metadata before reading — use vault_frontmatter on promising results. Check tags, task_class, and date fields. Skip notes that are clearly irrelevant or too old to be useful.
Read only the most relevant notes — use vault_read on the top 1-3 matches. Do NOT speculatively read notes. Do NOT read more than 5 notes total.
Extract reusable patterns — from each relevant note, extract:
Return bounded guidance — synthesize findings into planner-friendly output. Keep it actionable and concise. Do not dump raw note content.
vault_search before vault_list. Only list a folder if search yields no results and you need to browse 30-workflow-learnings or 20-agent-patterns directly.30-workflow-learnings — task execution lessons20-agent-patterns — agent behavior conventions70-debugging — debugging insights and solutions10-adrs — architectural decisions (weight highly)50-playbooks, 60-project, 90-diary may contain useful patterns but are human-authored. Cite and respect them.Every response using this skill MUST include:
## Task Pattern Findings
**Task class**: <identified task class>
### Patterns
- <pattern 1>: <description>
- ...
### Anti-patterns
- <anti-pattern 1>: <what to avoid and why>
- ... (or "none found")
### Caveats
- <caveat 1>: <condition or gotcha>
- ... (or "none found")
### Sources
- `path/to/note.md` — relevance summary
- ...
### Retrieval Log
| # | Tool | Query/Path | Result |
|---|------|------------|--------|
| 1 | vault_search | "skill creation pattern" | 2 hits |
| 2 | vault_read | "30-workflow-learnings/skill-patterns.md" | relevant |
### Confidence
<high / medium / low> — <1-sentence justification>
Task class: "skill creation" Context: "creating a read-only MCP skill"
Retrieval log:
| # | Tool | Query/Path | Result |
|---|---|---|---|
| 1 | vault_search | "skill creation" | 3 hits |
| 2 | vault_search | "MCP skill pattern" | 1 hit |
| 3 | vault_frontmatter | "30-workflow-learnings/skill-creation-checklist.md" | tags: skill, pattern |
| 4 | vault_read | "30-workflow-learnings/skill-creation-checklist.md" | relevant |
Patterns: Skills follow SKILL.md + reference/ structure. Always include output contract. Define activation and non-activation criteria explicitly.
Anti-patterns: Avoid overly broad activation — skills that fire too often add noise.
Caveats: Skill tool_doctrine teaches behavior not authorization. Check existing skills for overlap before creating a new one.
Confidence: high — clear pattern note with established conventions.
Task class: "task execution debugging" Context: "task stuck in .inprogress state"
Retrieval log:
| # | Tool | Query/Path | Result |
|---|---|---|---|
| 1 | vault_search | "task stuck inprogress" | 1 hit |
| 2 | vault_search | "task lifecycle failure" | 2 hits |
| 3 | vault_read | "70-debugging/orphaned-inprogress.md" | relevant |
Patterns: Orphaned .inprogress files are usually caused by worker crashes. Check STATE/running/<stem>.pid for stale PIDs.
Anti-patterns: Do not manually rename to .done without verifying output exists.
Caveats: PID files may reference dead processes. Always signal-check before assuming a task is still running.
Confidence: medium — pattern note exists but may not cover all failure modes.