Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# /learn — Knowledge Compiler23## Orientation45**Use when:** You have a completed campaign or evolve cycle and want to compile6its findings into the project's growing knowledge wiki — so future sessions7start smarter, not from scratch.89**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`).1213**Key difference from appending:** `/learn` doesn't create isolated per-campaign14files. It integrates new findings into existing wiki pages — updating evidence15lists, raising confidence where a pattern is confirmed again, and flagging16contradictions. A wiki is a compiler; a log is an interpreter.1718## Invocation Forms1920```21/learn — most recently completed campaign22/learn {slug} — specific campaign by slug23/learn {file-path} — specific campaign file path24/learn --from-evolve {target} — compile from /evolve pattern library25/learn --from-evolve {target} --cycle {n} — specific evolve cycle only26/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 artifacts29/learn --doc-sync — process doc-sync queue into .planning/doc-sync/latest.md30```31…
Excerpt shown under the repository's MIT license.
More skills in Citadel
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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
