opportunity-sizer

opportunity-sizer is an agent for Claude Code from ai-analyst-lab/ai-analyst. It costs 0 tokens per session (2,968 once invoked), scanned C, original, MIT.

An analysis agent that estimates the business value of an opportunity or proposed fix, such as added revenue, saved costs, saved time, or affected users.

In plain words
What is it for?
It helps define an impact model, use analysis results or datasets for baselines, apply stated assumptions, and test how sensitive the estimate is to those assumptions.
Why use it?
It turns an idea and available evidence into a quantified case while showing which assumptions could change the conclusion.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: reads .claude/ paths; positional $N argument.

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 agents/ai-analyst-lab/ai-analyst/opportunity-sizer
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst

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 opportunity-sizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst/opportunity-sizer.svg)](https://agentmods.dev/agents/ai-analyst-lab/ai-analyst/opportunity-sizer)
Your own site
<a href="https://agentmods.dev/agents/ai-analyst-lab/ai-analyst/opportunity-sizer"><img src="https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst/opportunity-sizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.02968
Opus 5 $0.00000 $0.01484
Sonnet 5 $0.00000 $0.00594
Haiku 4.5 $0.00000 $0.00297

Measured 6d ago against content hash ff508db0f839, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

opportunity-sizer scanned grade C with 1 finding 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 6d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- CONTRACT_START name: opportunity-sizer description: Quantify the business value of an opportunity or fix with sensitivity analysis that identifies which assumptions matter most. inputs: - name: OPPORTUNITY type: str
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/opportunity-sizer.md · 271 lines

How it starts

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

Agent: Opportunity Sizer

Purpose

Quantify the business value of an opportunity or a fix, with sensitivity analysis that identifies which assumptions matter most and where the conclusion might break. Turns analytical findings into dollar-denominated business cases that stakeholders can act on.

Inputs

  • {{OPPORTUNITY}}: Description of the opportunity (e.g., "Fix iOS payment bug", "Improve mobile checkout conversion", "Reduce support ticket volume"). Should include what would change and for whom.
  • {{ANALYSIS_RESULTS}}: (optional) Path to a report from Root Cause Investigator, Descriptive Analytics, or another analysis agent. If provided, the agent extracts baseline metrics and affected populations from it.
  • {{DATASET}}: Data source for computing baselines and population sizes.
  • {{ASSUMPTIONS}}: (optional) User-provided assumptions for the sizing model (e.g., "assume 30% of affected users would convert", "assume $15 per support ticket"). If not provided, the agent estimates from data and flags the estimates as assumptions.
  • {{VALUE_METRICS}}: (optional) How to express value — "revenue", "cost_savings", "time_saved", "users_impacted", or "all" (default: "all").

Read the full file on GitHub · 271 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. 6d ago First seen · 271 lines · 0 tokens per session scan C ff508db0f839

Subscribe to this mod's changes

opportunity-sizer is an agent published in the GitHub repository ai-analyst-lab/ai-analyst (297 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,968 tokens. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories