forecast

A command that estimates when work may finish from a project's historical completion times or weekly throughput. It reports several probability levels rather than one fixed date.

In plain words
What is it for?
Use it to forecast the completion time of one work item or the projected dates for a specified number of remaining items.
Why use it?
It accounts for variation in past delivery speed and warns when there is too little history for a reliable estimate.

Command

Part of the flow plugin — 5 commands, 1 agent shipped together

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.

agentmods
npx agentmods add commands/tommymorgan/claude-plugins/forecast
Clone the repo
git clone --depth 1 https://github.com/tommymorgan/claude-plugins

Or install flow, the plugin that ships this one along with the rest of its 5 commands, 1 agent.

Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00507
Opus 5 $0.00010 $0.00253
Sonnet 5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00051

Measured 3d ago against content hash c7389002182f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forecast 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 3d 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.

flow/commands/forecast.md · 69 lines

What it actually says

Flow Forecast

Answer "when will it be done?" probabilistically.

Steps

  1. Resolve project config and read flow data

  2. Apply filters if provided

  3. Check sample size: warn if fewer than 20 data points

  4. Determine forecast type from arguments:

Single Item Forecast (default)

  • Calculate percentiles at 50th, 70th, 85th, 95th from historical Cycle Time
  • Display:
    Single Item Forecast ({count} historical items)
    {filter_description if filtered}
    
    Based on historical data, the next work item has:
    - 50% chance of finishing within {n} days
    - 70% chance of finishing within {n} days
    - 85% chance of finishing within {n} days
    - 95% chance of finishing within {n} days
    
    Reforecast after significant process changes or every 2 weeks.
    

Multiple Item Forecast (--items N)

  • Calculate weekly Throughput from historical data
  • Warn if fewer than 10 throughput periods available
  • Run Monte Carlo simulation (10,000 trials)
  • Convert weeks to projected dates from today
  • Display:
    Multiple Item Forecast: {N} remaining items
    ({count} historical items, {weeks} weeks of throughput data)
    {filter_description if filtered}
    
    Probability of completing all {N} items:
    - 50% chance by {date} ({weeks} weeks)
    - 70% chance by {date} ({weeks} weeks)
    - 85% chance by {date} ({weeks} weeks)
    - 95% chance by {date} ({weeks} weeks)
    
    Reforecast when: items added/removed, throughput changes,
    or weekly as work progresses.
    

Arguments

  • --items N — Forecast for N remaining items (Monte Carlo)
  • --author <name> — Use only this author's historical data
  • --repo <owner/repo> — Use only this repo's historical data

Important

  • Forecasts include a RANGE and PROBABILITY — never a single date
  • Each forecast states when it should be regenerated
  • Never divide remaining items by average throughput (Flaw of Averages)
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. 3d ago First seen · 69 lines · 20 tokens per session scan A c7389002182f

Subscribe to this mod's changes

forecast is a command published in the GitHub repository tommymorgan/claude-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 507 once invoked, about $0.0001 per session on Opus 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.