Skip to content

Guide · Agent skill

How to use the Session Retrospective agent skill (retro)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The retro skill tells a coding agent to review a coding session after the fact and suggest changes to the environment the agent works in, such as its instruction files, lint setup, tests and CI. It is written for developers who use a coding agent repeatedly on the same repository and want fewer repeated mistakes. After this guide you will know what the skill does, how to install it, how to ask for a retrospective, and what to check before running it.

Session Retrospectivemattpocock/skills · MIT

Quick start

  1. 1Download the ZIP. Download the skills/engineering/retro ZIP from this page. It contains agents/openai.yaml and SKILL.md.
  2. 2Unzip into a skills folder. Place the retro folder in ~/.claude/skills/ for personal use, or in a project's .claude/skills/ folder for one repository.
  3. 3Install writing-for-agents. Also install the writing-for-agents skill, because retro calls it for its style guide.
  4. 4Or upload in the Claude apps. If you use the Claude apps, go to Settings → Capabilities → Skills and upload the skill there.
  5. 5Ask for a retrospective. Request a retrospective in plain language, optionally naming the session to review.
  6. 6Review the prioritised list. Read the candidates in order of severity and decide which changes to make to your instruction files, checks or CI.

What is an agent skill, and what does retro make the agent do?

An agent skill is a folder containing a SKILL.md file. The file tells a coding agent that supports SKILL.md skills, such as Claude Code, how to handle a particular kind of request. The retro skill is one of these. Its description is "Conduct a retrospective on a coding session."

When you ask for a retrospective, the agent looks back over a coding session. By default that is the current session. You can also name a session, which may mean searching session logs on your machine. The agent then looks for ways to make future runs smoother and presents them as a prioritised list of suggestions, in order of severity.

  • Navigation: clearer pointers to where information lives, or hidden dependencies between files.
  • Automated checks: linting, typing, tests or filesystem linters that could have caught a mistake the agent made.
  • Coding standards: a new rule for the reviewer agent, a rule to remove or clarify, or a deterministic check for mechanical rules.
  • Global AGENTS.md: steering instructions that could move into coding standards or automated checks, or a file that is too large.
  • Tool economy: expensive tool calls or token-inefficient custom tooling.
  • No-ops: instructions in steering files that do not change the agent's behaviour.
  • Information access: data the agent needed but could not reach, such as dev server logs.

Install the retro skill from the ZIP or the Claude apps

Download the ZIP for skills/engineering/retro from this page. Its files are agents/openai.yaml and SKILL.md. Unzip it so that the retro folder sits in one of the skill locations below.

For a personal skill available in all your projects, unzip it into ~/.claude/skills/. For a skill that only applies to one project, unzip it into that project's .claude/skills/ folder. If you use the Claude apps instead, upload the skill under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/retro
  • Project only: .claude/skills/retro inside the repository

Install the writing-for-agents skill too

The retro skill calls the writing-for-agents skill to get its writing style guide. Without it, that step cannot run, so install it alongside retro in the same location you chose above.

How to trigger retro with natural requests

The skill is set to disable-model-invocation, which means it runs when you ask for it rather than whenever the agent thinks it is relevant. Ask for a retrospective in plain language. You can name a session if you want a past one reviewed.

The skill's own step-by-step text is the best guide to what it will do, so phrase your request around the word retrospective or the outcome you want.

  • Run a retrospective on this session.
  • Do a retro on yesterday's session in this repo and suggest environment improvements.
  • Review the session where the agent kept failing the type checks and tell me what checks would have caught it.
  • Look back at this session and say whether our AGENTS.md is too big.

What to expect from the output

The agent reads the primary sources for the session, checks the repository's own check commands and CI workflow first, then presents candidates in order of severity. The skill asks it to read the repo's package.json or build-tool lint and check scripts and its CI workflow before proposing new tooling, so an existing check that is unwired or silently broken is reported as the finding.

The skill also states that a repo with no guardrail, meaning no pre-commit hook and no CI job running its lint, typecheck or test command, is itself a finding.

  • Mechanical rules (a fixed pattern, banned API, import shape or file location) are meant to get a deterministic check, such as a custom lint rule, pre-commit hook or CI job.
  • Judgement calls, such as matching surrounding style, are the kind of thing CODING_STANDARDS.md is for.

Safety notes before you run it

The skill runs no scripts and uses no network access, according to its source. It may, however, search session logs on the machine to find the session you name. Review what it accesses before running it, especially for sensitive sessions.

The skill's suggestions depend on existing lint, test or CI setup, so results are weaker in repositories with little tooling.

  • Check which session logs the agent reads if the session is sensitive.
  • Expect fewer useful suggestions in repos with no lint, test or CI setup.

What people use it for

  • Finding why an agent repeatedly missed a lint error and proposing a pre-commit hook or CI job to catch it.
  • Trimming a bloated AGENTS.md by moving steering instructions into coding standards or automated checks.
  • Spotting a navigation pointer that would have saved time when the agent spent a long while finding a file.
  • Identifying expensive tool calls or token-heavy custom CLI or MCP tooling in a past session.
  • Noticing that a dev server log or third-party read-only data would have helped the agent, and suggesting how to expose it.

Frequently asked questions

Is the retro skill free to use?

The source is published under the MIT licence, which is stated on this page. The source does not mention pricing, so check the licence text in the repository for the terms.

What do I need to run the retro skill?

You need a coding agent that supports SKILL.md skills, such as Claude Code. You also need the writing-for-agents skill, and access to session logs on your machine if you want to review a past session.

Where do I install the retro skill?

Unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder for one repository. In the Claude apps, upload it under Settings → Capabilities → Skills.

Does retro run scripts or access the internet?

According to its source, retro runs no scripts and uses no network access. It can read session logs on your local machine, so review what it accesses for sensitive sessions.

Why does retro say my repo needs lint or CI?

Most of its suggestions depend on existing lint, test or CI setup. The skill treats a repo with no guardrail, meaning no pre-commit hook and no CI job running lint, typecheck or tests, as a finding in itself.

When should I not use retro?

Skip it for quick one-off coding tasks, where a retrospective adds overhead without benefit. It is also a poor fit for non-developers or repositories with no tooling to improve.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use retro if you work with a coding agent repeatedly on the same repository and want to turn repeated mistakes into checks and clearer instructions. Pick something else for one-off tasks, non-developer work, or repositories with no lint, test or CI setup, since most of its suggestions depend on that tooling.

Download the skill