claude-code-autoconfig: Command for Claude Code

.claude/commands/enable-retro.md

enable-retro is a command for Claude Code from design-and-deliver/claude-code-autoconfig. It costs 0 tokens per session (475 once invoked), scanned A, original, MIT.

A setup command for an experimental backlog of technical debt and development improvements. Technical debt means work left undone that may make future changes harder; each backlog item is saved as a structured story file.

In plain words
What is it for?
Use it to create the .claude/retro/ folder, verify the Retro agent, and enable instructions for recording problems, acceptance criteria, suggested approaches, priority, effort, and affected files.
Why use it?
It gives improvement ideas a consistent place and format instead of leaving them scattered in chat or memory. It also checks that the supporting Retro agent is installed and adds its instructions to CLAUDE.md.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is design-and-deliver/claude-code-autoconfig's own configuration. It tells Claude Code how to work on claude-code-autoconfig itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-autoconfig configures →

Reuse

Borrowing it

Nothing to install: this file belongs to design-and-deliver/claude-code-autoconfig. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/design-and-deliver/claude-code-autoconfig/main/.claude/commands/enable-retro.md
Clone the repo
git clone --depth 1 https://github.com/design-and-deliver/claude-code-autoconfig

Made for: Claude Code.

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 enable-retro

README.md
[![agentmods](https://agentmods.dev/badge/commands/design-and-deliver/claude-code-autoconfig/enable-retro.svg)](https://agentmods.dev/commands/design-and-deliver/claude-code-autoconfig/enable-retro)
Your own site
<a href="https://agentmods.dev/commands/design-and-deliver/claude-code-autoconfig/enable-retro"><img src="https://agentmods.dev/badge/commands/design-and-deliver/claude-code-autoconfig/enable-retro.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 475 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.00000 $0.00475
Opus 5 $0.00000 $0.00237
Sonnet 5 $0.00000 $0.00095
Haiku 4.5 $0.00000 $0.00047

Measured 7d ago against content hash 6b0ea535d763, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

enable-retro 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 7d 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.

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.

.claude/commands/enable-retro.md · 56 lines

How it starts

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

Enable Retro

Enable the experimental Retro feature, which lets Claude log tech debt and improvement opportunities as structured story files.

What This Does

  1. Creates .claude/retro/ directory with a README
  2. Verifies the shipped .claude/agents/create-retro-item.md agent is present (it ships with autoconfig — this command never authors it)
  3. Adds Retro instructions to CLAUDE.md

Step 1: Create Retro Directory

Create .claude/retro/README.md with:

# Retro Items

Tech debt and improvement opportunities identified during development.

Each item is a structured story file with:
- Problem description
- Acceptance criteria
- Suggested approach
- Priority & effort sizing
- Files involved

## Working with Retro Items

- "Fix retro #001" — Work on a specific item
- "What's in the retro backlog?" — List pending items
- Items are numbered sequentially (001, 002, etc.)

Step 2: Verify Retro Agent

The agent ships with autoconfig at .claude/agents/create-retro-item.md — verify it exists. If it's missing, reinstall with npx claude-code-autoconfig (do NOT re-author it from memory; the shipped file is canonical).

Step 3: Update CLAUDE.md

Add the following section to CLAUDE.md (before Team Feedback if present):

## Retro
After completing tasks, if you encountered friction, tech debt, or improvement opportunities worth revisiting, use the create-retro-item agent to log it in `.claude/retro/`. Use your judgment on what's worth capturing — not everything needs a retro item.

Step 4: Confirm

Output: "Retro enabled. Claude will now log tech debt to .claude/retro/ when appropriate."

Read the full file on GitHub · 56 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. 7d ago First seen · 56 lines · 0 tokens per session scan A 6b0ea535d763

Subscribe to this mod's changes

enable-retro is a command published in the GitHub repository design-and-deliver/claude-code-autoconfig (2 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 475 tokens. 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.