retro

retro is a skill for Claude Code from LuisFelipeMoro/Harness-devkit. It costs 76 tokens per session (1,520 once invoked), scanned B, original, MIT.

A coding-session retrospective that examines what happened and proposes changes to the agent's working rules, checks, documentation, or tools.

In plain words
What is it for?
Use it to review the current, last, or another recorded session, or to inspect reported harness health signals.
Why use it?
It turns mistakes and wasted effort from a completed session into specific improvements, while requiring evidence for each proposal. Nothing is changed until you approve it.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the devtools plugin — 10 skills shipped together

Good fit Use it to review the current, last, or another recorded session, or to inspect reported harness health signals.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add LuisFelipeMoro/Harness-devkit
Claude Code
/plugin install devtools

Made for: Claude Code.

Or install devtools, the plugin that ships this one along with the rest of its 10 skills.

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 retro

README.md
[![agentmods](https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/retro/github.svg)](https://agentmods.dev/skills/luisfelipemoro/harness-devkit/retro)
Your own site
<a href="https://agentmods.dev/skills/luisfelipemoro/harness-devkit/retro"><img src="https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/retro/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 retro

Your own site · 80×15
<a href="https://agentmods.dev/skills/luisfelipemoro/harness-devkit/retro"><img src="https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/retro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,520 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00076 $0.01520
Opus 5.5 $0.00030 $0.00608
Sonnet 5.5 $0.00015 $0.00304
Haiku 4.5 $0.00008 $0.00152

Measured 1mo ago against content hash b0ffe5eb7549, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

retro scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. **Read the session.** Current session: work from this context. Another one: find it under `~/.claude/projects/<cwd-with-slashes-as-dashes>/` (`ls -t … | head` for `last`), and extract with `jq` or a short script — the
plugins/devtools/skills/retro/SKILL.md · 36 lines

How it starts

The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Input: a session — default the current one; last, a session id, or a .jsonl path names another; --metrics for the Harness health signals instead. Output: a severity-ordered table of environment improvements, each with a concrete proposed edit; the approved ones applied. With --metrics: the five-signal table and what each reading suggests. Boundary: improves the agent's environment (docs, pointers, checks, hooks, reviewer rules, tooling) — never the session's product code. Applies nothing without the user's OK. No dispatch.

Rules: every candidate cites evidence from the session (the turn, the tool call, the mistake) — no evidence, no candidate · a mechanical violation (a fixed pattern, a banned API, an import shape, a file location) gets a deterministic check — a linter rule, a git hook or a CI job — never a prose rule · a judgement call (cross-file consistency, "matches the surrounding style") goes to the reviewer, not to CLAUDE.md · standards are enforced at review: the implementing agent carries the most context pressure (exploring, writing, debugging), the reviewer the least (it receives a diff), so a rule the implementer keeps missing belongs on the reviewer's checklist.

Steps

  1. --metrics only — then stop; the session steps below do not run. Run python3 coding-pipeline/scripts/harness-metrics.py in the repo — resolved by the standards' Path resolution rule for cross-plugin paths, first existing wins: the coding-pipeline plugin root beside ${CLAUDE_PLUGIN_ROOT} → flat ~/.claude/devkit/scripts/harness-metrics.py → plugins/coding-pipeline/scripts/harness-metrics.py in a devkit checkout; found nowhere → print harness-metrics: UNMEASURED — script not found and stop, never estimate the table — --base <ref> / --since <when> if the user names them. Exit 2 → show its UNMEASURED line and stop. At this step, read coding-pipeline/references/harness-metrics.md; print the script's table, then per signal one line from that reference's "What to do with a reading" and its Healthy column — say which readings point at the Guides, the spec or the ceremony. Every n/a — needs judgement row stays n/a: name the source a human would read for it, never estimate a number. Close with the reference's warning that these are diagnostics, never targets or gates; propose no edit from a single reading.

  2. Read the session. Current session: work from this context. Another one: find it under ~/.claude/projects/<cwd-with-slashes-as-dashes>/ (ls -t … | head for last), and extract with jq or a short script — the user's messages, tool names with counts, Agent dispatches with their prompts' size, failed commands, and edits that were later reverted — never read the whole .jsonl into context. Done when you can list the session's mistakes, retries and slow lookups, each with its turn.

  3. Read the environment. The repo's CLAUDE.md / AGENTS.md (and the user's global one), its check commands (package.json / Makefile / build-tool lint·check·test scripts, .pre-commit-config.yaml, .githooks/ or git-hooks/, .github/workflows/), and the devkit's own sensors (coding-pipeline/hooks/hooks.json). Done when you know which checks exist, which are wired into a hook or CI, and which run green today.

  4. Find candidates, in these categories:

    Category Look for Proposed edit
    Navigation pointers A piece of information that took many calls to find; a hidden dependency between files One pointer line where the agent was looking — front-loaded with its trigger
    Automated checks A mistake a deterministic check would have caught. Read the existing checks first: a check that exists but is unwired or silently broken is the finding, not a reinvention. A repo with no guardrail at all (no hook, no CI job running lint/typecheck/test) is itself a finding A linter rule, a pre-commit / pre-push hook, or a CI job — whichever the repo's stack makes cheapest
    Reviewer rules A judgement-call mistake the review let through; a rule that misfired or is unclear A row in coding-pipeline/agents/reviewer.md, the review checklist, or coding-pipeline/references/change-discipline.md; or a rule removed or clarified
    CLAUDE.md bloat and no-ops CLAUDE.md is always loaded — every line costs context on every turn of every session. Steering that belongs in a check or a reviewer rule; a sentence the model obeys by default (a no-op); a section consulted rarely that should be a pointer to a reference Move it, point at it, or delete the whole sentence
    Tool economy Expensive calls (whole files or logs read to find one line, repeated searches), dispatch count, token spend — read against the context-budget (60% warn / 80% ceiling) and dispatch-budget (session budget) hook warnings and coding-pipeline/references/harness-metrics.md A cheaper command, a script or sensor that answers it, fewer or smaller dispatches
    Information access A fact the agent needed and could not get — server logs, a third-party service, a schema Tee the logs to a file, a read-only credential or MCP, a fixture

Read the full file on GitHub · 36 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. 1mo ago First seen · 36 lines · 76 tokens per session scan B b0ffe5eb7549

Subscribe to this mod's changes

retro is a skill published in the GitHub repository LuisFelipeMoro/Harness-devkit (14 stars, last pushed 6d ago), licensed MIT. It adds 76 tokens to every session and 1,520 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

retro compared with skills from other repositories

retro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retroLuisFelipeMoro/Harness-devkitSkill146d agoMITB76Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code