Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/app-vitals/shipwrightWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/app-vitals/shipwright/learn)<a href="https://agentmods.dev/commands/app-vitals/shipwright/learn"><img src="https://agentmods.dev/badge/commands/app-vitals/shipwright/learn/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/app-vitals/shipwright/learn"><img src="https://agentmods.dev/badge/commands/app-vitals/shipwright/learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00013 | $0.00613 |
| Opus 5.5 | $0.00005 | $0.00245 |
| Sonnet 5.5 | $0.00003 | $0.00123 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
learn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/learn — Capture a Learning
Capture a learning and put it in its permanent home now — CLAUDE.md, the relevant
skill, or (for installed plugins) the right place per the routing rules. No staging file,
no separate promote step. Git is the audit trail.
Usage
/learn use uv instead of pip
/learn always run the suite before committing
/learn SSR errors surface in the terminal, not the browser console
/learn
Process
-
Get the insight.
- With an argument: that is the insight.
- Without an argument: look at the recent conversation, propose the one or two strongest candidate learnings, and ask the user which to capture (this is the only question the command asks — picking the insight, not approving the edit).
-
Run the generalization gate. Apply both tests from
skills/learning-capture/references/generalization-gate.md:- Does it generalize beyond the change just made?
- Is it already captured by the code, a test, a type, lint, CI, or existing docs?
If it fails the gate, say so plainly and stop — do not write a watered-down version:
Not capturing that — the change you just made already enforces it (the new handler is the pattern future handlers will copy). The code is the memory here. -
Route it using the table in the
learning-captureskill. ProjectCLAUDE.md, packageCLAUDE.md,~/.claude/CLAUDE.md/CLAUDE.local.mdfor personal, a skill, or — for installed plugins — the plugin source (local marketplace) or a local override plus a PR note (remote marketplace). -
Check for duplicates. Grep the target file. If a near-duplicate exists, edit it in place. If the new learning contradicts an old one, replace the old one.
-
Make the edit and confirm in one line:
Noted in CLAUDE.md: use `uv`, not `pip`, for Python package management.
Notes
/learnis an explicit opt-in, so it does not ask permission for the edit — only, when run bare, which candidate insight to capture.- The gate still applies to
/learn. Running the command does not force a bad learning through; if it fails the gate, the command declines and explains why. - For learnings across many past sessions rather than this one, use
/learn-dream, which routes them into task-store tasks (and drains the# Harness TODOqueue the same way).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed 8501cbdf49d7
- 14d ago First seen · 63 lines · 13 tokens per session scan A c232db8fb1f3
learn is a command published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 613 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
learn compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| learnapp-vitals/shipwright | Command | 16 | today | MIT | A | 13 | Claude Code |
| constitutiondmae97/omk | Command | 155 | yesterday | MIT | A | 0 | Claude Code |
| plandmae97/omk | Command | 155 | yesterday | MIT | A | 0 | Claude Code |
| tasksdmae97/omk | Command | 155 | yesterday | MIT | A | 0 | Claude Code |
| review-codechohra-med/expo_boilerplate | Command | 36 | 2mo ago | MIT | A | 50 | Claude Code |
| tree-ring-recallTerminallyLazy/Tree-Ring-Memory | Command | 24 | 2mo ago | MIT | A | 12 | Claude Code |
| tree-ring-statusTerminallyLazy/Tree-Ring-Memory | Command | 24 | 2mo ago | MIT | A | 12 | Claude Code |