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/ads-review)<a href="https://agentmods.dev/commands/alifanov/darkflow/ads-review"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/ads-review/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/ads-review"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/ads-review.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.00018 | $0.01813 |
| Opus 5.5 | $0.00007 | $0.00725 |
| Sonnet 5.5 | $0.00004 | $0.00363 |
| Haiku 4.5 | $0.00002 | $0.00181 |
Grade A, and why
ads-review 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 — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Step 1 — Read project config
Load the project config (contract in .darkflow.d/claude.md → Project config). Uses: language, minPriority.
Step 1.5 — Verdicts on your own hypotheses (before anything new)
Run the verdict step from docs/agent-workflow.md → Hypotheses: fields, measurement, verdict
for every entry in docs/state/hypotheses.md whose Owner audit is ads-review and whose
testing until / measuring until date is today or earlier. Judge per campaign on conversions and cost per conversion against the baseline window. A campaign under test is stopped by the spend threshold (spend with no conversions), not by a run count.
Nothing due → skip this step silently. Every verdict → one line in Closed and one pointer line in
today's log section. A refuted bet whose change costs something to keep → rollback task,
--status approved.
Step 2 — Do the work
Check the paid ads account configured for this project for the last 7 days. Specifically:
- Campaign performance — impressions, clicks, CTR, CPC, conversions, CPA, ROAS per campaign
- Budget utilisation — daily budget vs actual spend; underspending or overspending campaigns
- Keyword performance — top and bottom keywords by conversion rate; wasted-spend keywords
- Audience and placement — which audiences/placements drive CPA below target vs above
- Trends — week-over-week change in spend, conversions, CPA, ROAS
For each finding:
- State the metric and its current value
- Compare to the previous 7-day period
- Suggest a concrete action (pause keyword, increase budget, adjust bid, add negative keyword, etc.)
Create a task for each significant finding. Use --source ads and a priority.
Priority vocabulary: critical / high / medium / low. Never inflate a priority to clear
the project's minPriority floor — the floor decides what gets filed, not you. If df task create is rejected (priority <x> below project minPriority <y>), keep the honest priority,
record the finding under Hypotheses in the snapshot, and surface the rejection in the output.
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 Changed · +45 lines ad794cc9c9f8
- 3mo ago First seen · 125 lines · 18 tokens per session scan A 5ce43bc9d582
ads-review is a command published in the GitHub repository alifanov/darkflow (4 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 1,813 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-08-31.
ads-review compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ads-reviewalifanov/darkflow | Command | 4 | yesterday | MIT | A | 18 | 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 |