skills/capture-knowledge/SKILL.md
Use to permanently record a project decision, convention, pattern, or known issue into the knowledge base (docs/) — triggers on explicit save intent ("remember this", "save this", "document this"), decision or convention announcements ("we decided", "settled on", "the rule is"), or triage output classifying new items to capture. Distinct from conversational memory — this writes to docs/.
npx skillsauth add curt-park/autology capture-knowledgeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Capture knowledge from conversation context into docs/ as markdown nodes. Save immediately — asking confirmation interrupts flow and discourages capture.
Precondition: if triage has not run this session, run /autology:triage-knowledge first.
Capture the items triage classified as new (→ capture):
When NOT to capture:
| Type | Signals | |------|---------| | decision | "chose", "decided", "selected", "adopted" | | component | "created", "built", "implemented", new service/module | | convention | "always", "never", "must", "should", "the rule is" | | concept | lifecycle, workflow, domain model, process | | pattern | reusable approach, strategy, pattern | | issue | bug, technical debt, bottleneck, known problem | | session | work session summary, "finished", "completed" |
type = primary classification (what kind?); tags = cross-cutting topics (what about?).
Use triage's new items list as the capture scope:
New items from triage (→ capture):
- [item description] — no matching node
Suggested relations: [[foo]], [[bar]] (shared tags: architecture)
- [item description] — no matching node
Suggested relations: none
Not every triage item needs its own file. Before creating, ask: does this item have enough standalone substance to be useful on its own, or is it a detail of something larger?
type: decision node, not a footnote in the component doc.The deciding criterion is not length but kind: a choice made with rationale → own node; a behavioral detail of an implementation → fold. When folding, capture the detail in the parent node's body. This keeps the graph navigable — thin stub nodes add noise without adding reach.
For each new item that warrants its own node, create docs/{title-slug}.md:
---
title: "Human Readable Title"
type: decision
tags: [tag1, tag2]
---
File naming: docs/{title-slug}.md — lowercase, hyphens, no special characters.
Use triage's suggested relations for wikilinks:
[[title-slug]] wikilink in the new node's body text (wikilink target = filename without .md extension)[[title-slug]] wikilink> **Autology** — Captured [type]: docs/{slug}.md
> Tags: [tags] | Relations: [related nodes if any]
| Mistake | Fix | |---------|-----| | Running capture without triage output | Triage classifies new vs existing — run it first. | | Capturing items triage classified as existing | Those go to sync, not capture. | | Ask user for confirmation before saving | Save immediately, then report. | | Add wikilink only to new node | Also add reverse link to related node. |
development
Use after significant actions (commits, decisions, refactors) or when asked to triage changes — classifies knowledge items as existing or new and provides topology hints for sync and capture.
development
Use when existing autology docs/ nodes need syncing or updating — when a doc is out of date after a code change, after refactors, when triage identifies existing nodes to verify, or for periodic full audits. Not for new items (use capture) or knowledge questions (use explore).
development
Use whenever the user asks about this project's decisions, architecture, conventions, or how something works in this codebase — do NOT answer from general knowledge, always look it up in docs/. Trigger on questions like "why did we choose X?", "how does Y work here?", "what's our convention for Z?", "what docs reference X?", or any question about this project's specific choices. Also use for explicit /autology:explore-knowledge commands (overview, neighborhood, path). Searches docs/, follows wikilinks, and synthesizes grounded answers from the knowledge base.
development
--- name: autology-workflow description: Use after significant project actions — commit, push, PR — or when the team settles on how to build or operate the system: a technology choice, a process, a rule, or a standard. Running close to the action keeps captured knowledge more accurate and complete. --- ## Overview Route to the right autology skill after significant actions. Knowledge captured close to the action is more accurate and complete — this workflow keeps docs/ in sync with what actual