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 Yingqi-Han/learning-retrospective-skill --skill learning-retrospectivegit clone --depth 1 https://github.com/Yingqi-Han/learning-retrospective-skillWrote 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/yingqi-han/learning-retrospective-skill/learning-retrospective)<a href="https://agentmods.dev/skills/yingqi-han/learning-retrospective-skill/learning-retrospective"><img src="https://agentmods.dev/badge/skills/yingqi-han/learning-retrospective-skill/learning-retrospective/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/yingqi-han/learning-retrospective-skill/learning-retrospective"><img src="https://agentmods.dev/badge/skills/yingqi-han/learning-retrospective-skill/learning-retrospective.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.00064 | $0.00630 |
| Opus 5 | $0.00032 | $0.00315 |
| Sonnet 5 | $0.00013 | $0.00126 |
| Haiku 4.5 | $0.00006 | $0.00063 |
Grade A, and why
learning-retrospective 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 3d ago.
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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Learning Retrospective
Help the current task move forward using evidence from earlier attempts. Keep the intervention proportional: usually a short check by the main agent is enough.
When it helps
- The user asks for a retrospective, or the same failure recurs without useful new evidence.
- A current failure resembles a stored lesson worth checking before rediscovery.
- A difficult task has produced a verified, reusable fix worth briefly explaining.
A hook reminder is a candidate, not proof of a loop. A single failure, many tool calls, successful repeated commands, user-requested tests, and changed hypotheses that produce evidence are normal work.
Apply the lesson
Use the visible command/action, working directory, structured outcome and relevant error to decide what actually failed. Do not infer failure from a command name, repetition count, or a quoted log saying "error". Missing outcomes stay unknown.
For a likely familiar failure, search the relevant lesson registry or project notes using the tool, error signature or path. Verify that any match still applies to the current environment. If nothing relevant appears, return to the task; do not turn recall into a broad history search.
Use the evidence to choose a useful next check, repair or changed hypothesis. A justified retry after an environment change is allowed. Stop an unproductive approach when its premise is disproven; stop the whole task only for an actual permission boundary, missing dependency/input, or risk that prevents safe progress.
After resolution
Mention a lesson only if it is useful: trigger, verified cause/fix, scope and validation. No mandatory report, lesson template, confidence score or extra test suite is required for ordinary work.
Write persistent memory only when the user explicitly asks to save/update it;
follow the host's current memory write mechanism. Updating this skill is not
permission to update memory. For an authorized write, use
references/memory-surfaces.md and optionally
scripts/lesson_lint.py for an existing structured lesson.
What ships with it
30 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.
- agents/openai.yaml 313 B
- examples/bad-lessons.md 2.3 KB
- examples/dependency-install-loop.md 1.8 KB
- examples/docx-conversion-loop.md 1.3 KB
- examples/filled-lesson-libreoffice.md 2.3 KB
- examples/github-actions-loop.md 1.2 KB
- examples/pdf-rendering-loop.md 1.2 KB
- examples/zotero-linked-attachment-loop.md 1.3 KB
- hooks/payload-probe.py 1.6 KB runs code
- hooks/retry-loop-detector-claude.py 12 KB runs code
- hooks/retry-loop-detector-codex.py 34 KB runs code
- hooks/retry-reviewer-codex-cli.py 35 KB runs code
- hooks/reviewer-config.example.json 76 B
- references/failure-gates.md 1.1 KB
- references/hook-activation.md 3.9 KB
- references/localization.md 919 B
- references/memory-surfaces.md 2.7 KB
- references/reviewer-prompt.md 1.4 KB
- references/semantic-review.md 15 KB
- scripts/lesson_lint.py 4.7 KB runs code
- SECURITY_NOTES.md 7.5 KB
- tests/fixtures/claude-post-tool-failure.json 239 B
- tests/fixtures/claude-post-tool-success.json 212 B
- tests/fixtures/codex-post-tool-use-fail.json 251 B
- tests/fixtures/codex-pre-tool-use.json 228 B
- tests/test_codex_reviewer_runner.py 34 KB runs code
- tests/test_installer.py 9.7 KB runs code
- tests/test_lesson_lint.py 3.6 KB runs code
- tests/test_retry_loop_detector.py 35 KB runs code
- VERSION 6 B
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.
- 3d ago Changed · -137 lines · -35 tokens per session 161072e33b91
- 10d ago First seen · 196 lines · 99 tokens per session scan A afed7afcdde9
learning-retrospective is a skill published in the GitHub repository Yingqi-Han/learning-retrospective-skill (2 stars, last pushed 5d ago), licensed MIT. It adds 64 tokens to every session and 630 once invoked, about $0.0003 per session on Opus 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-08-31.
Other skills, from other repositories
karpathy-llm-wiki
Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.
memorize
Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering.
install-memex
Make Claude, Cursor, and OpenClaw remember every AI conversation forever — one local SQLite corpus shared across all of them. Installs memex (local-first MCP server) in 60 seconds via curl one-liner. Includes auto-capture daemon for Claude Code / Cowork / Cursor / Obsidian; v0.10 Telegram auto-detect (export from…
imprint
Your habits, imprinted on AI. Learns how you work from conversation, builds a portable profile, and applies judgment that adapts to you: when to act, when to check with you, when to follow the project's rules over your own defaults. Use this skill whenever the user starts a new session, opens a project, writes or…
telegram-agent
Telegram CLI for AI agents. Use when the user needs to read or search Telegram, send or edit a message, download media, organise Saved Messages, monitor conversations, or automate a Telegram task. Triggers on “check my messages”, “send a message”, “search Telegram”, “read unread”, “listen to chat”, “download from…
project-knowledge-maintainer
Maintain a project-level knowledge base for coding agents using AGENTS.md, knowledge files, bug memory, decisions, and changelog records.