learning-retrospective

learning-retrospective is a skill for Codex from Yingqi-Han/learning-retrospective-skill. It costs 64 tokens per session (630 once invoked), scanned A, original, MIT.

A skill for saving verified lessons from difficult coding tasks so future agents can use them. It covers both learning after a task succeeds and recalling an existing lesson when the same problem appears again.

In plain words
What is it for?
Use it after a task succeeds through multiple failed attempts, when a stored lesson matches a new failure, or when the same action has been repeated without progress.
Why use it?
It reduces repeated trial and error when a known problem or workaround has already been documented.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it after a task succeeds through multiple failed attempts, when a stored lesson matches a new failure, or when the same action has been repeated without progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yingqi-han/learning-retrospective-skill/learning-retrospective
Install

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.

Any agent
npx skills add Yingqi-Han/learning-retrospective-skill --skill learning-retrospective
Clone the repo
git clone --depth 1 https://github.com/Yingqi-Han/learning-retrospective-skill

Made for: Codex.

Wrote 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.

agentmods badge for learning-retrospective

README.md
[![agentmods](https://agentmods.dev/badge/skills/yingqi-han/learning-retrospective-skill/learning-retrospective/github.svg)](https://agentmods.dev/skills/yingqi-han/learning-retrospective-skill/learning-retrospective)
Your own site
<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.

agentmods 80×15 button for learning-retrospective

Your own site · 80×15
<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>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3d ago against content hash 161072e33b91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 9 executable files (hooks/payload-probe.py, hooks/retry-loop-detector-claude.py, hooks/retry-loop-detector-codex.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

learning-retrospective/SKILL.md · 59 lines

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.

Read the full file on GitHub · 59 lines

Changes

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.

  1. 3d ago Changed · -137 lines · -35 tokens per session 161072e33b91
  2. 10d ago First seen · 196 lines · 99 tokens per session scan A afed7afcdde9

Subscribe to this mod's changes

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.

Related

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'.

Astro-Han/karpathy-llm-wiki · 67 tokens

memorize

Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering.

NeoLabHQ/context-engineering-kit · 20 tokens

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…

parallelclaw/memex-mvp · 194 tokens

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…

ilang-ai/Imprint · 108 tokens

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…

beautyfree/telegram-agent · 90 tokens

project-knowledge-maintainer

Maintain a project-level knowledge base for coding agents using AGENTS.md, knowledge files, bug memory, decisions, and changelog records.

chancy24/codex-knowledge-base-skill · 33 tokens