learn SKILL.md skillA

learn from sethgammon/citadel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sethgammon/citadel/learn@git:20261016.8d8a928

Pins git:20261016.8d8a928 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sethgammon/citadel
Path
skills/learn/SKILL.md
Versions recorded
9
Latest version
git:20261016.8d8a928, committed Oct 16, 2026
First version recorded
May 7, 2026
Size
13,585 bytes
Repository stars
929
License
MIT

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# /learn — Knowledge Compiler

## Orientation

**Use when:** You have a completed campaign or evolve cycle and want to compile
its findings into the project's growing knowledge wiki — so future sessions
start smarter, not from scratch.

**Don't use when:** You want a structured incident analysis first (use `/postmortem`
— run it before `/learn`); you haven't finished any campaigns (nothing to compile);
you want a context transfer only (use `/session-handoff`).

**Key difference from appending:** `/learn` doesn't create isolated per-campaign
files. It integrates new findings into existing wiki pages — updating evidence
lists, raising confidence where a pattern is confirmed again, and flagging
contradictions. A wiki is a compiler; a log is an interpreter.

## Invocation Forms

```
/learn                              — most recently completed campaign
/learn {slug}                       — specific campaign by slug
/learn {file-path}                  — specific campaign file path
/learn --from-evolve {target}       — compile from /evolve pattern library
/learn --from-evolve {target} --cycle {n}  — specific evolve cycle only
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sethgammon/citadel/learn@sha256:8f59eff8ad2db37a

The line at the top of this page pins the label git:20261016.8d8a928, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_upoc2hsptz73hyjn.svg)](https://markdownregistry.com/a/art_upoc2hsptz73hyjn)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between May 7, 2026 and Oct 16, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20261016.8d8a928 latest2026-10-16 8d8a928 13,585 BA view · diff
git:20261016.b1296b42026-10-16 b1296b4 13,457 BA view · diff
git:20260922.465c0202026-09-22 465c020 13,270 BA view · diff
git:20260919.f58febd2026-09-19 f58febd 12,811 BA view · diff
git:20260611.0f3f8e72026-06-11 0f3f8e7 12,581 BA view · diff
git:20260611.a6479532026-06-11 a647953 12,568 BA view · diff
git:20260605.ca2016c2026-06-05 ca2016c 12,451 BA view · diff
git:20260604.4ff456f2026-06-04 4ff456f 11,775 BA view · diff
git:20260507.2a8c1ae2026-05-07 2a8c1ae 10,507 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13585 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sethgammon/citadel · 929 stars · license MIT · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_upoc2hsptz73hyjn
GET https://markdownregistry.com/api/v1/resolve?ref=sethgammon/citadel/learn
GET https://markdownregistry.com/api/v1/blob/8f59eff8ad2db37aac0be53afb86bc880cd65bd76df20d56a12c3485078c28cb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sethgammon/citadel

AGENTS.md AGENTS.md file
sethgammon/citadel · AGENTS.md
git:20260911.5005453 · audit A · 929 stars
CLAUDE.md CLAUDE.md file
sethgammon/citadel · CLAUDE.md
git:20260911.5005453 · audit A · 929 stars
AGENTS.md@examples/berman-agents-md-only AGENTS.md file
sethgammon/citadel · examples/berman-agents-md-only/AGENTS.md
git:20260701.7169885 · audit A · 929 stars
AGENTS.md@examples/berman-deploy-steward AGENTS.md file
sethgammon/citadel · examples/berman-deploy-steward/AGENTS.md
git:20260701.7169885 · audit A · 929 stars
template-skill SKILL.md skill
sethgammon/citadel · scripts/fixtures/ecosystem/anthropics-template-skill/SKILL.md · Replace with description of the skill and when Claude should use it.
git:20260711.59dbe65 · audit B · 929 stars
architect SKILL.md skill
sethgammon/citadel · skills/architect/SKILL.md · Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build…
git:20260611.0f3f8e7 · audit A · 929 stars
archon SKILL.md skill
sethgammon/citadel · skills/archon/SKILL.md · Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output…
git:20261021.eead012 · audit A · 929 stars
ascii-diagram SKILL.md skill
sethgammon/citadel · skills/ascii-diagram/SKILL.md · Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic…
git:20260611.0f3f8e7 · audit A · 929 stars
autopilot SKILL.md skill
sethgammon/citadel · skills/autopilot/SKILL.md · Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work…
git:20261009.7a64c3f · audit A · 929 stars
cost SKILL.md skill
sethgammon/citadel · skills/cost/SKILL.md · Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model…
git:20260611.0f3f8e7 · audit A · 929 stars
create-app SKILL.md skill
sethgammon/citadel · skills/create-app/SKILL.md · End-to-end app creation from a single description. Five tiers: blank project, guided, templated, fully generated, or…
git:20260611.0f3f8e7 · audit A · 929 stars
create-skill SKILL.md skill
sethgammon/citadel · skills/create-skill/SKILL.md · Creates new skills from the user's repeating patterns. Interview-driven: discovers the task, analyzes failure modes…
git:20260922.465c020 · audit A · 929 stars

Every file in sethgammon/citadel

Other files named learn

learn SKILL.md skill
garrytan/gstack · learn/SKILL.md · Manage project learnings.
v1.0.0 · audit A · 138,879 stars
learn SKILL.md skill
nanocoai/nanoclaw · .claude/skills/learn/SKILL.md · Distill a reusable skill from anything — a directory, a URL, pasted notes, or what you just did together — or refine an…
git:20260624.520ec44 · audit A · 31,064 stars
learn SKILL.md skill
tw93/waza · plugins/waza/skills/learn/SKILL.md · Runs a six-phase research workflow from source bundle to publish-ready output. Use when researching an unfamiliar…
git:20261006.6d988e2 · audit A · 7,489 stars
learn SKILL.md skill
tw93/waza · skills/learn/SKILL.md · Runs a six-phase research workflow from source bundle to publish-ready output. Use when researching an unfamiliar…
git:20261006.6d988e2 · audit A · 7,489 stars
learn SKILL.md skill
pedrohcgs/claude-code-my-workflow · .claude/skills/learn/SKILL.md · Extract reusable knowledge from the current session into a persistent skill. Use when you discover something…
v1.0.0 · audit A · 1,675 stars
learn SKILL.md skill
indranilbanerjee/digital-marketing-pro · skills/learn/SKILL.md · Log a marketing learning to the brand intelligence graph with confidence, deduplicated. "save this insight"
git:20261011.7060934 · audit A · 918 stars
learn SKILL.md skill
cowork-os/cowork-os · resources/skills/learn/SKILL.md · Manually record an insight, correction, preference, or rule that the agent should remember for future tasks.
v1.0.0 · audit A · 517 stars
learn SKILL.md skill
umputun/cc-thingz · plugins/workflow/skills/learn/SKILL.md · Update project CLAUDE.md with strategic knowledge discovered during this session — or CLAUDE.local.md when the…
git:20260908.fb520ca · audit A · 492 stars

Browse by kind, by grade A, or by owner.