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.
npx skills add app-vitals/shipwright --skill learning-capturegit 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/skills/app-vitals/shipwright/learning-capture)<a href="https://agentmods.dev/skills/app-vitals/shipwright/learning-capture"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/learning-capture/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/skills/app-vitals/shipwright/learning-capture"><img src="https://agentmods.dev/badge/skills/app-vitals/shipwright/learning-capture.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.00096 | $0.02388 |
| Opus 5.5 | $0.00038 | $0.00955 |
| Sonnet 5.5 | $0.00019 | $0.00478 |
| Haiku 4.5 | $0.00010 | $0.00239 |
Grade A, and why
learning-capture 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 today.
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 — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Learning Capture
When the user teaches you something durable, put it in its permanent home now —
edit CLAUDE.md or the relevant skill in the same turn. Git is the audit trail. There
is no staging file and no separate promotion step.
This skill replaces the old capture → stage → promote flow. That flow added three interruptions and trusted the model less than it deserves. The model is trusted to make the edit; the user reviews it the same way they review any other change — in the diff.
The one rule: pass the gate first
Before editing anything, run the generalization gate. Capture a learning only if both are true:
-
It generalizes. It will apply to future, different work — not just the change you both just made. A correction scoped to "this function", "this file", "this PR", or "in this case" is not a learning. It is just doing the task.
-
It is not already captured by the code. If the change you just committed already embodies the rule — the code does it the right way now, a test enforces it, a type makes the wrong version impossible, a lint rule will catch it — then the code is the memory. A
CLAUDE.mdline that restates what the diff already shows is noise and will rot. Skip it.
If you are unsure whether something generalizes, it probably does not. See
references/generalization-gate.md for the full criteria, signal patterns, and worked
examples. When in doubt, do not capture. A missed learning costs nothing; a noisy
CLAUDE.md costs every future session.
What passes the gate (capture these)
- A correction the user frames as a standing rule: "always", "never", "from now on", "in general", "as a rule", "going forward".
- A preference that will shape unrelated future work: tooling, style, workflow.
- A non-obvious discovery that took real effort and will recur — a misleading error, an undocumented behavior, a workaround — and that the code itself does not now make self-evident.
- Anything the user explicitly says to remember.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed · +2 lines 3ec0afa06408
- 13d ago First seen · 187 lines · 96 tokens per session scan A 202c3d7e847a
learning-capture is a skill published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 2,388 once invoked, about $0.0004 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.
learning-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| learning-captureapp-vitals/shipwright | Skill | 16 | today | MIT | A | 96 | Claude Code |
| pstack-recalldmae97/omk | Skill | 154 | today | MIT | A | 79 | Claude Code |
| omk-tencent-memorydmae97/omk | Skill | 154 | today | MIT | A | 47 | Claude Code, Codex |
| handoffHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 70 | Claude Code, Codex |
| forgetHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 26 | Claude Code, Codex |
| buncode-yeongyu/senpi | Skill | 530 | today | MIT | A | 237 | Claude Code, Codex |
| memory-indexdimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 0 | Claude Code, Codex |