forecast

forecast is a command for Claude Code from fergupa/claude_plugins. It costs 22 tokens per session (1,553 once invoked), scanned A, original, Apache-2.0.

A sales forecasting command that estimates expected revenue from your deal pipeline and shows best-, likely-, and worst-case outcomes.

In plain words
What is it for?
Use it with a CRM CSV export or described deals to set a quota, assess stage-based probabilities, and decide where forecasts need attention.
Why use it?
It helps replace a single uncertain sales number with a view of deal risk, committed revenue, possible upside, and the gap to your target.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS.md)..

Part of the sales plugin — 6 skills, 3 commands shipped together

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fergupa/claude_plugins
agentmods
npx agentmods add commands/fergupa/claude_plugins/forecast

Made for: Claude Code.

Or install sales, the plugin that ships this one along with the rest of its 6 skills, 3 commands.

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 forecast

README.md
[![agentmods](https://agentmods.dev/badge/commands/fergupa/claude_plugins/forecast.svg)](https://agentmods.dev/commands/fergupa/claude_plugins/forecast)
Your own site
<a href="https://agentmods.dev/commands/fergupa/claude_plugins/forecast"><img src="https://agentmods.dev/badge/commands/fergupa/claude_plugins/forecast.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 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,553 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.1 $0.00022 $0.01553
Opus 5 $0.00011 $0.00776
Sonnet 5 $0.00004 $0.00311
Haiku 4.5 $0.00002 $0.00155

Measured 2d ago against content hash 3444528d9533, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

sales/commands/forecast.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/forecast

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Generate a weighted sales forecast with risk analysis and commit recommendations.

Usage

/forecast

Then provide your pipeline data and targets.


How It Works

┌─────────────────────────────────────────────────────────────────┐
│                        FORECAST                                  │
├─────────────────────────────────────────────────────────────────┤
│  STANDALONE (always works)                                       │
│  ✓ Upload CSV export from your CRM                              │
│  ✓ Or paste/describe your pipeline deals                        │
│  ✓ Set your quota and timeline                                  │
│  ✓ Get weighted forecast with stage probabilities               │
│  ✓ Risk-adjusted projections (best/likely/worst case)           │
│  ✓ Commit vs. upside breakdown                                  │
│  ✓ Gap analysis and recommendations                             │
├─────────────────────────────────────────────────────────────────┤
│  SUPERCHARGED (when you connect your tools)                      │
│  + CRM: Pull pipeline automatically, real-time data             │
│  + Historical win rates by stage, segment, deal size            │
│  + Activity signals for risk scoring                            │
│  + Automatic refresh and tracking over time                     │
└─────────────────────────────────────────────────────────────────┘

What I Need From You

Step 1: Your Pipeline Data

Option A: Upload a CSV Export your pipeline from your CRM (e.g. Salesforce, HubSpot). I need at minimum:

  • Deal/Opportunity name
  • Amount
  • Stage
  • Close date

Helpful if you have:

  • Owner (if team forecast)
  • Last activity date
  • Created date
  • Account name

Option B: Paste your deals

Acme Corp - $50K - Negotiation - closes Jan 31
TechStart - $25K - Demo scheduled - closes Feb 15
BigCo - $100K - Discovery - closes Mar 30

Read the full file on GitHub · 212 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 · 212 lines · 22 tokens per session scan A 3444528d9533

Subscribe to this mod's changes

forecast is a command published in the GitHub repository fergupa/claude_plugins (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,553 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-09-03.