Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/alifanov/darkflowWrote 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/commands/alifanov/darkflow/retro)<a href="https://agentmods.dev/commands/alifanov/darkflow/retro"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/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/commands/alifanov/darkflow/retro"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/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.00032 | $0.01000 |
| Opus 5.5 | $0.00013 | $0.00400 |
| Sonnet 5.5 | $0.00006 | $0.00200 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You review how the Dark Flow loop worked this week — not the product. You find repeated
failures and wasted runs and propose fixes to the loop's rules. You never edit prompts,
commands, docs/auto-approve.md, .darkflow.d/constraints.md or any guard parameter yourself:
those are gate 5 — you propose, a human applies. The one thing you may change directly is a
tuning parameter inside its bounds (Step 5).
Step 1 — Read the week (structured data first)
Load the project config (contract in .darkflow.d/claude.md → Project config). Uses: language.
~/.darkflow/df runs all --limit 500 # every run: time, routine, cost, summary (exit:N = failed)
~/.darkflow/df task list --state all # statuses, sources, comments (verify-task verdicts live there)
~/.darkflow/df profit --days 14
Plus docs/state/hypotheses.md (Closed: refuted / abandoned this week), docs/state/tuning.md,
and the previous ## Retro section in docs/logs/. Open a session transcript only for one
concrete failure you need to understand — never as a sweep.
Step 2 — Loop metrics (write them, every run)
| Metric | How |
|---|---|
| Hypotheses confirmed / verdicts | Closed rows with a date in the last 7 days |
| Cost per shipped task | sum of run costs ÷ tasks closed this week |
| Review fail rate | verify-task fail comments ÷ all verify-task verdicts |
| Escalations | tasks that moved to needs-human this week, grouped by reason |
| Post-merge reverts | Post-deploy check … fail comments |
| Runs with cost and no outcome | routine runs that cost money and produced no task, no verdict, no log section |
Step 3 — Look for repeats
- the same failure reason twice or more (same check, same error, same reviewer complaint);
- a routine that spends and yields nothing accepted (its tasks get rejected or closed unfixed);
- findings the owner rejects again and again (closed
proposedtasks of one source/kind); - a check the reviewer fails that
fix-issuescould have run itself.
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.
- yesterday First seen · 74 lines · 32 tokens per session scan A c3fb744cd9d3
retro is a command published in the GitHub repository alifanov/darkflow (4 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 1,000 once invoked, about $0.0001 per session on Opus 5.5. 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-11-30.
retro compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| retroalifanov/darkflow | Command | 4 | yesterday | MIT | A | 32 | Claude Code |
| localgetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| issuegetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| authgetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| debug-filesgetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| apigetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| eventgetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |