Tooluck logoTooluck
SKILL.md

learn

Agent skill fromSethGammon/Citadel

Knowledge compiler. Extracts patterns, decisions, and anti-patterns from completed campaigns and evolve cycles, then compiles them into structured wiki pages that integrate with existing knowledge rather than appending isolated files. Implements flush→compile→lint pipeline. Auto-triggered by /postmortem and /evolve Phase 6.

How to install learn

install learn
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel

# or add only this skill to Claude Code: copy the folder

skills/learn/

# into

~/.claude/skills/learn/ (all projects)

.claude/skills/learn/ (one project)

skills/learn/SKILL.md

MITFull file
1# /learn — Knowledge Compiler
2
3## Orientation
4
5**Use when:** You have a completed campaign or evolve cycle and want to compile
6its findings into the project's growing knowledge wiki — so future sessions
7start smarter, not from scratch.
8
9**Don't use when:** You want a structured incident analysis first (use `/postmortem`
10— run it before `/learn`); you haven't finished any campaigns (nothing to compile);
11you want a context transfer only (use `/session-handoff`).
12
13**Key difference from appending:** `/learn` doesn't create isolated per-campaign
14files. It integrates new findings into existing wiki pages — updating evidence
15lists, raising confidence where a pattern is confirmed again, and flagging
16contradictions. A wiki is a compiler; a log is an interpreter.
17
18## Invocation Forms
19
20```
21/learn — most recently completed campaign
22/learn {slug} — specific campaign by slug
23/learn {file-path} — specific campaign file path
24/learn --from-evolve {target} — compile from /evolve pattern library
25/learn --from-evolve {target} --cycle {n} — specific evolve cycle only
26/learn --lint — lint-only pass (no new extraction)
27/learn --compile — re-compile staging area into wiki (no new extraction)
28/learn --memory — compile semantic memory blocks from planning artifacts
29/learn --doc-sync — process doc-sync queue into .planning/doc-sync/latest.md
30```
31…

Excerpt shown under the repository's MIT license.

More skills in Citadel

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates