capture-knowledge

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/.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "capture-knowledge" with this command: npx skills add curt-park/autology/curt-park-autology-capture-knowledge

Overview

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.

What Capture Targets

Capture the items triage classified as new (→ capture):

  • Decisions made (technology choices, architectural choices)
  • Components created or modified
  • Conventions or patterns established
  • Concepts or domain knowledge explained
  • Issues or technical debt identified

When NOT to capture:

  • Session-specific context (current task, temporary state)
  • Incomplete or unverified information
  • Items triage classified as existing (→ sync, not capture)

Quick Reference

TypeSignals
decision"chose", "decided", "selected", "adopted"
component"created", "built", "implemented", new service/module
convention"always", "never", "must", "should", "the rule is"
conceptlifecycle, workflow, domain model, process
patternreusable approach, strategy, pattern
issuebug, technical debt, bottleneck, known problem
sessionwork session summary, "finished", "completed"

type = primary classification (what kind?); tags = cross-cutting topics (what about?).

Process

1. Receive Triage Output

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

2. Decide node granularity

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?

  • Own node: has a distinct title, multiple meaningful sentences, likely to be linked or searched independently
  • Decisions always get their own node — even if brief. A decision is "chose X over Y because Z": the rationale makes it independently searchable and worth linking from other contexts. E.g., "chose JWT over session cookies because we need a stateless API" → type: decision node, not a footnote in the component doc.
  • Fold into parent: a pure behavior detail, edge case, or implementation consequence of another item in the same batch (e.g., "returns 401 on invalid token" is a consequence of the JWT middleware, not a choice made with rationale)

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.

3. Create Node

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.

4. Add Relations

Use triage's suggested relations for wikilinks:

  • Add [[title-slug]] wikilink in the new node's body text (wikilink target = filename without .md extension)
  • Also Edit the related node to add the reverse [[title-slug]] wikilink

5. Report Result

> **Autology** — Captured [type]: docs/{slug}.md
> Tags: [tags] | Relations: [related nodes if any]

Common Mistakes

MistakeFix
Running capture without triage outputTriage classifies new vs existing — run it first.
Capturing items triage classified as existingThose go to sync, not capture.
Ask user for confirmation before savingSave immediately, then report.
Add wikilink only to new nodeAlso add reverse link to related node.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

sync-knowledge

No summary provided by upstream source.

Repository SourceNeeds Review
Research

explore-knowledge

No summary provided by upstream source.

Repository SourceNeeds Review
Research

triage-knowledge

No summary provided by upstream source.

Repository SourceNeeds Review