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 Borda/AI-Rig/plugin install researchWrote 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/borda/ai-rig/retro)<a href="https://agentmods.dev/skills/borda/ai-rig/retro"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/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/borda/ai-rig/retro"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/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.00040 | $0.09277 |
| Opus 5.5 | $0.00016 | $0.03711 |
| Sonnet 5.5 | $0.00008 | $0.01855 |
| Haiku 4.5 | $0.00004 | $0.00928 |
Grade C, and why
retro scanned grade C 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 18d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Retro run dirs don't write `result.jsonl` — exempt from automated 30-day TTL cleanup (per `.claude/rules/foundry-artifact-lifecycle.md`, installed via `/foundry:setup` — requires `foundry` plugin: no `result.jsonl` = c How it starts
The opening of the file, as written. The whole thing — 447 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Post-run retrospective analysis. After /research:run completes, reads .experiments/state/<run-id>/experiments.jsonl, computes statistical significance, detects dead iterations, flags suspicious metric jumps, generates learning summary with next-hypothesis queue.
NOT for: running experiments (use /research:run); designing experiments (use /research:plan); validating methodology (use /research:judge); verifying paper implementation (use /research:verify); comparing runs from different programs/goals — --compare valid only for same-program, same-metric runs. Read-only — never modifies code, commits, or experiment state.
Agent Resolution
Agent resolution: load and follow the protocol below. Contains: foundry check + fallback table. research:scientist in same plugin — no fallback needed if research plugin installed.
PLUGIN_ROOT=$(python "${CLAUDE_PLUGIN_ROOT}/bin/resolve_plugin_root.py" --plugin-name research) || exit $?; export PLUGIN_ROOT
export CSID="${CLAUDE_CODE_SESSION_ID:-$PPID}"
# loads: unsupported-flag-protocol.md
python "$PLUGIN_ROOT/bin/resolve_shared.py" --persist research-shared --emit agent-resolution.md --emit unsupported-flag-protocol.md || exit 1 # timeout: 5000 — cold resolve; every later site reads the research-shared sentinel instead of re-running python
Retro Mode (Steps T1–T7)
Defaults: --threshold 0.001, --alpha 0.05.
Unsupported flag check: follow the protocol loaded in the Agent Resolution block. Supported flags for this skill: --compare, --threshold, --alpha.
Task tracking: create tasks for T1–T7 at start, all in the same response as the first real tool call. Every later TaskUpdate rides with the next real tool call — never a bookkeeping-only turn; the one standalone call is a completed right before a long report.
Step T1: Locate and load run data
Input resolution (priority order):
- Explicit
<run-id>arg → read.experiments/state/<run-id>/ - No arg → scan
.experiments/state/, pick latest dir wherestate.jsonhasstatus: completedorstatus: goal-achieved - None found → stop with error:
No completed run found. Run /research:run first, or provide: /research:retro <run-id>
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.
- 18d ago Changed · +14 lines cb255ce72e1c
- 1mo ago Changed · +38 lines 7fe334d7f6a8
- 1mo ago Changed · +1 lines 1e5645cecd44
- 1mo ago Changed e42c29d0a65d
- 2mo ago Changed · +3 lines a38f7d01b170
- 2mo ago Changed c64853cced06
- 2mo ago Changed 7ec1340fdac5
- 2mo ago Changed e940a1a46429
- 3mo ago First seen · 391 lines · 40 tokens per session scan C 736a8e7b9f30
retro is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 9,277 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
retro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| retroBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | C | 40 | Claude Code |
| conjecture-solverhuangwb8/skills | Skill | 51 | 2d ago | MIT | A | 104 | Claude Code, Codex |
| notebooksfmschulz/omics-skills | Skill | 11 | 2d ago | MIT | A | 29 | Claude Code |
| bio-annotationfmschulz/omics-skills | Skill | 11 | 2d ago | MIT | A | 38 | Claude Code, Codex |
| bio-interdomain-hgtfmschulz/omics-skills | Skill | 11 | 2d ago | MIT | A | 46 | Claude Code, Codex |
| bio-logicfmschulz/omics-skills | Skill | 11 | 2d ago | MIT | A | 45 | Claude Code |
| bio-viromicsfmschulz/omics-skills | Skill | 11 | 2d ago | MIT | A | 79 | Claude Code, Codex |