dw-learn

Installation
SKILL.md

dw-learn

Turn a source into tight, template-conformant knowledge drafts. Pick a mode by source:

Mode Source Reference
session (default) the current live conversation references/session.md
history past on-disk sessions for this project references/history.md
repo a local or external code repository references/repo.md

Write articles through the diffwiki CLI (and dw-remember). Preserve raw inputs with references/source-capture.md; fill CLI-allocated metadata records directly. If diffwiki is missing, run /dw-install.

Dispatch

  1. Parse the mode from the first argument. Normalize: empty → session; current/this → session; past/sessions → history; code/codebase → repo. Everything after the mode token is that mode's input (e.g. a repo path or URL for repo). If the first token is free-text prose rather than a mode/alias, treat it as session (the user is describing what to capture); if it is ambiguous, show the three modes and ask.
  2. Run the mode. Read and follow references/<mode>.md. Every mode ends by running the shared mine pipeline in references/mine.md.
Installs
2
First Seen
Oct 20, 2026