agentleFS
Curt-ParkCurt-Park/autology/skills/capture-knowledge/SKILL.md

capture-knowledge

Skill25 starsChanged 9 months agoMITView on GitHub

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

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. dkpapadopoulos/auto-claude-skills★ 6same name
    2. YusenZhang0601/context-canopy★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Precondition: if triage has not run this session, run /autology:triage-knowledge first.

    line 10
  2. Distinctive:

    When NOT to capture:

    line 21
  3. Distinctive:

    Use triage's new items list as the capture scope:

    line 44
  4. Distinctive:

    Not every triage item needs its own file.

    line 56
  5. Distinctive:

    Use triage's suggested relations for wikilinks:

    line 80
  6. Very specific:

    Add [[title-slug]] wikilink in the new node's body text (wikilink target = filename without .md extension)

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.