AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

retro — Build Session Learnings Into Your Setup

An end-of-session retrospective skill that turns evidence-backed friction into verified fixes in scripts, hooks, routes or instructions — not a list of lessons.

AutomationIntermediate★ 788⑂ 95AI score 9/10Last updated: Nov 21, 2026

What it does

  • Lists only the friction that actually happened this session: owner corrections (quoted), missed rules, rework, wrong assumptions, failing tools, avoidable waiting.
  • Classifies each item's cause with a table: missing guidance, guidance present but not applied, tool gap, bad advice from another skill, or a one-off.
  • Fixes code first: ① script/hook/validation/required arg/test → ② reword or relocate an existing instruction or router line → ③ add a new rule only with a dated receipt from this session.
  • Verifies each fix where it applies (pipe sample payloads through hooks, run the script, open the route) and explicitly reports anything it could not verify.
  • Accepts "no setup change warranted" as a valid outcome instead of inventing rules that never fire.

Who it's for

  • Anyone maintaining agent instruction files (AGENTS.md, CLAUDE.md) who wants them to improve each session.
  • Teams tired of hitting the same friction repeatedly.
  • Engineers who prefer enforcing rules in code rather than prose.

Examples

  1. /agent-harness:retro it ran the tests against the wrong server twice → adds a wrapper that makes the target server a required argument, then runs it to confirm.
  2. Plain /agent-harness:retro after a long session → three owner corrections collected; two rules moved to the file read at their fire point with a router line, one logged as a one-off.
  3. A plugin skill gave a wrong step → the correction is recorded in the project's own instructions (not in the plugin copy, which an update would overwrite), with an upstream issue drafted only on request.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/phuryn/product-engineering/HEAD/agent-harness/skills/retro/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the agent-harness/skills/retro folder from the GitHub repo phuryn/product-engineering into my ~/.claude/skills/retro/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/phuryn/product-engineering.git /tmp/product-engineering && mkdir -p ~/.claude/skills && cp -r /tmp/product-engineering/agent-harness/skills/retro ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/phuryn/product-engineering.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r product-engineering/agent-harness/skills/retro ~/.claude/skills/
  5. (Optional) Copy guardrail-hooks and agent-instructions the same way — this skill defers to them for hook templates and instruction-file shape.
  6. Restart Claude Code and run /retro (or /retro <the friction you noticed>) at the end of a session.
  7. If installed as a plugin, invoke it as /agent-harness:retro in Claude Code or $agent-harness:retro in Codex.