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.
/plugin marketplace add LuisFelipeMoro/Harness-devkit/plugin install devtoolsWrote 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/luisfelipemoro/harness-devkit/retro)<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.
<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>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.00076 | $0.01520 |
| Opus 5.5 | $0.00030 | $0.00608 |
| Sonnet 5.5 | $0.00015 | $0.00304 |
| Haiku 4.5 | $0.00008 | $0.00152 |
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 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
-
--metricsonly — then stop; the session steps below do not run. Runpython3 coding-pipeline/scripts/harness-metrics.pyin the repo — resolved by the standards' Path resolution rule for cross-plugin paths, first existing wins: thecoding-pipelineplugin root beside${CLAUDE_PLUGIN_ROOT}→ flat~/.claude/devkit/scripts/harness-metrics.py→plugins/coding-pipeline/scripts/harness-metrics.pyin a devkit checkout; found nowhere → printharness-metrics: UNMEASURED — script not foundand stop, never estimate the table —--base <ref>/--since <when>if the user names them. Exit 2 → show itsUNMEASUREDline and stop. At this step, readcoding-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. Everyn/a — needs judgementrow 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. -
Read the session. Current session: work from this context. Another one: find it under
~/.claude/projects/<cwd-with-slashes-as-dashes>/(ls -t … | headforlast), and extract withjqor a short script — the user's messages, tool names with counts,Agentdispatches with their prompts' size, failed commands, and edits that were later reverted — never read the whole.jsonlinto context. Done when you can list the session's mistakes, retries and slow lookups, each with its turn. -
Read the environment. The repo's
CLAUDE.md/AGENTS.md(and the user's global one), its check commands (package.json/Makefile/ build-toollint·check·testscripts,.pre-commit-config.yaml,.githooks/orgit-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. -
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, orcoding-pipeline/references/change-discipline.md; or a rule removed or clarifiedCLAUDE.md bloat and no-ops CLAUDE.mdis 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 referenceMove 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) anddispatch-budget(session budget) hook warnings andcoding-pipeline/references/harness-metrics.mdA 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
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.
- 1mo ago First seen · 36 lines · 76 tokens per session scan B b0ffe5eb7549
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.
retro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| retroLuisFelipeMoro/Harness-devkit | Skill | 14 | 6d ago | MIT | B | 76 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |