Skip to content
Back to skills

Retro

ASecurity

Run an out-of-the-loop harsh honest feedback retrospective over your recent prompts and corrections, automated queue yield, cross-repo glue, dev speed, and existing skill/check/doctor scanners to propose first-principles cuts and loop redesigns. Use manually for /retro, "how is the queue / progress going? hhf", "what are we repeating or correcting too much?", or periodic meta-system health checks.

  • 1,166 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgonodegit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add udecode/ustack --skill retro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Retro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Retro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/udecode-retro/badge)](https://www.skillsdirectory.com/skills/udecode-retro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: retro
description: Run an out-of-the-loop harsh honest feedback retrospective over your recent prompts and corrections, automated queue yield, cross-repo glue, dev speed, and existing skill/check/doctor scanners to propose first-principles cuts and loop redesigns. Use manually for /retro, "how is the queue / progress going? hhf", "what are we repeating or correcting too much?", or periodic meta-system health checks.
argument-hint: "[--days <n>] [<target-repo>]"
metadata:
  source: udecode/ustack
  source-path: skills/retro
---

# Retro (out-of-the-loop factory HHF)

Automated queues, CI fixers, and scheduled hygiene passes optimize inside their existing rules; they rarely delete or redesign the loop itself. `/retro` is the manual, out-of-the-loop meta-audit that mines what the owner keeps repeating or correcting, checks whether automation is shipping real product or spinning on churn, inspects cross-repo glue, and proposes first-principles cuts.

Stay strictly read-only until the owner says which cuts to execute. Never schedule `/retro` inside an automated queue or hygiene loop.

## Step 1: Collect telemetry in one command

```sh
node <skill>/scripts/collect.mjs <target> [--days 7] [--json]
```

Run from `<target>` (defaults to `.`; default window `7` days, override with `--days <n>`). Run on the strongest available judgment model (`xhigh` when permitted). The collector gathers five cross-cutting lenses without duplicating existing audit logic:

1. **Owner prompts and corrections:** Extracts recent human-typed messages across Antigravity/T3, Claude Code, and Codex transcripts tied to `<target>`, stripping harness wrappers and automated worker briefs, and flags repeated steers, questions, and corrections (`again`, `still`, `why`, `stop`, `wrong`, `stale`, `clean`, `broken`, `duplicate`, `is that true`).
2. **Factory yield and queue state:** Summarizes recent `git log` (product `feat`/`fix` vs. `chore`/rework/revert ratio, hot paths, worktree count) plus auto-detected queue/CI adapters when present (`dispatch --queue --json`, `local-ci` state and red/flake history, `review-ledger status`, `t3 thread list` active/stalled/high-item threads, and provider pool status).
3. **Cross-boundary glue:** Checks user LaunchAgents referencing `<target>` or its sibling repos for dead paths, non-zero exit codes, and recent error tails in bot or daemon logs, catching broken wiring that single-repo checks miss.
4. **Dev speed and delegated scanners:** Summarizes recent check step timings (slowest and most-failing steps) and invokes sibling `skill-audit`, `check-audit`, and `pstack-doctor` scanners in summary mode instead of re-implementing them.

## Step 2: Diagnose from first principles

Inspect the collector output and spot-check any flagged log, script, or transcript before claiming a defect. Do not summarize every section back to the owner; synthesize across all four telemetry lenses to answer five harsh questions:

1. **What is the owner correcting or asking repeatedly?** Cluster human interventions into the single underlying invariant, type, hook, or check that makes the class impossible (`/pstack:correct`), rather than adding more prose rules.
2. **Is the automated loop shipping value or manufacturing busywork?** Challenge queue priorities, auto-reopen rules, stalled waiting threads, account/quota imbalance, oversized watcher contexts, and silent drops (e.g. notifications, triggers, or stale worktrees).
3. **What whole subsystem, script, check, or workflow step should be cut or halved?** Apply Redesign from First Principles, then KISS: test a 50%+ subtraction or single-owner collapse before settling for a patch.
4. **What is slowing down delivery?** Flag slow landing steps, chronic flakes, bloated worktrees, or repeated setup/install stalls with measured timings.
5. **What is silently rotting across repo boundaries?** Flag broken launchd plists, stale paths after renames, unlinked skills, or dead JSON/state contracts between tooling repos and live agents.
6. **What changed since the last retro (`history`)?** Check `history.deltas` and `history.priorCuts`:
   - If a previously `executed` cut regressed (metric worsened or the same complaint returned in `ownerPrompts`), promote it to **P0 premise failure** and propose a deeper structural cut instead of repeating the old patch.
   - Suppress previously `dropped` cuts unless the underlying metric regressed sharply.
   - Keep `deferred` cuts as a one-line footnote instead of spending one of the 5 fresh slots on them.

## Step 3: Output contract (anti-slop)

Lead with a one-sentence blunt verdict on factory health (including key deltas since the last retro when `history.priorRuns > 0`), followed by **at most 5 ranked cuts** ordered by leverage (`P0` live traps and relapsed cuts -> `P1` loop redesigns and 50%+ cuts -> `P2` repeated-correction encodings and speed wins).

Each cut gives only:
- **What is broken or wasteful** with exact evidence (counts, timings, log line, or repeated owner prompt).
- **The premise to kill or invariant to enforce** (the structural cut, never a band-aid prose line).
- **Execution route** (`fix now`, `run /pstack:correct`, `run /skill-audit` or `/check-audit`, `launch worktree thread`, or `defer`).

Skip zero-finding lenses completely. End with one short pick (`go all`, `go 1,2`, or `drop`) and change nothing until the owner replies.

## Step 4: Record outcomes for compounding

After the owner picks cuts (and once any immediate cuts finish), record the run snapshot and cut statuses (`executed`, `deferred`, or `dropped`) to `<git-common-dir>/retro-history.jsonl` so the next `/retro` measures progress and never repeats rejected ideas:

```sh
node <skill>/scripts/collect.mjs <target> --days <n> --no-scanners --record --cuts '[{"id":"<slug>","title":"<short title>","status":"executed|deferred|dropped","commit":"<sha>","reason":"<why>"}]'
```

Files in this skill

  • SKILL.md5.8 KB
  • scripts/collect.mjs19.5 KB
  • scripts/collect.test.mjs7.4 KB
  • scripts/history.mjs3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.