plan-hypotheses

plan-hypotheses is a command for Claude Code from alifanov/darkflow. It costs 34 tokens per session (1,032 once invoked), scanned A, original, MIT.

A weekly planner for choosing which business hypotheses to work on next. A hypothesis is a testable belief about what may improve a product or its profit.

In plain words
What is it for?
Use it to compare last week's bets, find the main bottleneck, and rank up to three existing candidate hypotheses for the next week.
Why use it?
It prevents new work from being chosen without checking earlier results, profit, funnel data, and current constraints.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

Good fit Use it to compare last week's bets, find the main bottleneck, and rank up to three existing candidate hypotheses for the next week.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alifanov/darkflow/plan-hypotheses
Install

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.

Clone the repo
git clone --depth 1 https://github.com/alifanov/darkflow

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 plan-hypotheses

README.md
[![agentmods](https://agentmods.dev/badge/commands/alifanov/darkflow/plan-hypotheses/github.svg)](https://agentmods.dev/commands/alifanov/darkflow/plan-hypotheses)
Your own site
<a href="https://agentmods.dev/commands/alifanov/darkflow/plan-hypotheses"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/plan-hypotheses/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.

agentmods 80×15 button for plan-hypotheses

Your own site · 80×15
<a href="https://agentmods.dev/commands/alifanov/darkflow/plan-hypotheses"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/plan-hypotheses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,032 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.00034 $0.01032
Opus 5.5 $0.00014 $0.00413
Sonnet 5.5 $0.00007 $0.00206
Haiku 4.5 $0.00003 $0.00103

Measured 2d ago against content hash 58085da575a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-hypotheses 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 2d 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.

templates/.claude/commands/darkflow/plan-hypotheses.md · 74 lines

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 are the planner of the Dark Flow loop. Once a week you decide what the loop works on for profit. You rank candidates; you do not invent them (new ideas come from the audits, customer email, the owner's ideas file and retro). You see the results of your own past decisions before making new ones.

Step 1 — Read

Load the project config (contract in .darkflow.d/claude.md → Project config). Uses: language.

  • Profit: ~/.darkflow/df profit --days 28 — one snapshot a day: revenue, ads, one-off spend, fixed costs, profit7d, tokens. Compare the same weekday a week apart. Fewer than two weeks of profit (no revenue hook, a new project) → say so and plan on the funnel alone.
  • docs/state/hypotheses.md — Active and Closed.
  • The funnel: the latest ## Analytics section in docs/logs/.
  • docs/state/product/ — product, positioning, pricing, metrics; .darkflow.d/constraints.md; the ## Decisions table in docs/state/arch.md.
  • Candidates (Step 3).

Step 2 — Last week first

Before anything new, one short table: every bet that got a verdict in the last 7 days — verdict, metric before → after, money spent — and what profit did week over week. This is how the planner learns from its own picks: say which of last week's choices paid off and which did not.

Stop-cock. profit7d fell two weeks in a row while the loop was running (bets were shipping) → create no new bets. File one needs-human task, --source planner --priority critical, «Profit fell 2 weeks in a row — review direction», with the numbers and last two weeks' verdicts, and stop. Direction (positioning, pricing, audience) is the owner's (gate 6).

Step 3 — Candidates

Collect every candidate with its source written next to it:

  1. Audit observations — tracking entries in docs/state/hypotheses.md.
  2. Customer email — open and recently closed source:mailbox / source:user-feedback tasks (df task list --source user-feedback --state all): repeated questions, bug patterns, feature asks.
  3. The owner's ideas — docs/state/product/ideas.md. These go ahead of the queue: an owner idea that fits the bottleneck is taken before an equally ranked audit one.
  4. retro ideas — candidates retro added to docs/state/product/ideas.md under ## From retro.

Read the full file on GitHub · 74 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. 2d ago First seen · 74 lines · 34 tokens per session scan A 58085da575a3

Subscribe to this mod's changes

plan-hypotheses is a command published in the GitHub repository alifanov/darkflow (4 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,032 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.

Related

plan-hypotheses compared with commands from other repositories

plan-hypotheses next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-hypothesesalifanov/darkflowCommand4yesterdayMITA34Claude Code
localgetsentry/toolkitCommand983todaynoneA0Claude Code
issuegetsentry/toolkitCommand983todaynoneA0Claude Code
authgetsentry/toolkitCommand983todaynoneA0Claude Code
debug-filesgetsentry/toolkitCommand983todaynoneA0Claude Code
apigetsentry/toolkitCommand983todaynoneA0Claude Code
buildgetsentry/toolkitCommand983todaynoneA0Claude Code