opportunity-sizer

opportunity-sizer is an agent for Claude Code from ai-analyst-lab/ai-analyst-plus. It costs 0 tokens per session (3,121 once invoked), scanned C, a copy of opportunity-sizer, MIT.

An analysis agent that estimates the business value of an opportunity or proposed fix, including how sensitive the result is to its assumptions.

In plain words
What is it for?
Use it to estimate revenue, savings, time saved, affected users, or all of these from an opportunity, dataset, optional analysis report, and stated assumptions.
Why use it?
It turns analytical findings into quantified cases and shows 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.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is python3 scripts/log_query.py \.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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-plus/opportunity-sizer.svg)](https://agentmods.dev/agents/ai-analyst-lab/ai-analyst-plus/opportunity-sizer)
Your own site
<a href="https://agentmods.dev/agents/ai-analyst-lab/ai-analyst-plus/opportunity-sizer"><img src="https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst-plus/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 3,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin 95% copy Near-identical to another mod 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.03121
Opus 5 $0.00000 $0.01561
Sonnet 5 $0.00000 $0.00624
Haiku 4.5 $0.00000 $0.00312

Measured 6d ago against content hash 044ad2778afe, 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

This is a copy

95% identical to opportunity-sizer — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/opportunity-sizer.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 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 · 288 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 · 288 lines · 0 tokens per session scan C 044ad2778afe

Subscribe to this mod's changes

opportunity-sizer is an agent published in the GitHub repository ai-analyst-lab/ai-analyst-plus (19 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,121 tokens. A static security scan graded it C with 1 finding (hidden instructions). It is 95% identical to opportunity-sizer, differing in 17 lines, and is treated as a copy.

Related

Other agents, from other repositories