market-opportunity-analyzer

market-opportunity-analyzer is a command for Claude Code from maigentic/stratarts. It costs 26 tokens per session (7,677 once invoked), scanned A, original, MIT.

A tool for estimating a business’s market size and examining competing companies. TAM is the full possible market, SAM is the part a business can serve, and SOM is the part it could realistically win.

In plain words
What is it for?
Use it to calculate TAM, SAM, and SOM, map competitors, choose an initial target market, and plan market entry.
Why use it?
It replaces broad market claims with a structured view of market size, competition, and where to start selling.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the stratarts plugin — 27 commands shipped together

Good fit Use it to calculate TAM, SAM, and SOM, map competitors, choose an initial target market, and plan market entry.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/maigentic/stratarts/market-opportunity-analyzer
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/maigentic/stratarts

Made for: Claude Code.

Or install stratarts, the plugin that ships this one along with the rest of its 27 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 market-opportunity-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/commands/maigentic/stratarts/market-opportunity-analyzer/github.svg)](https://agentmods.dev/commands/maigentic/stratarts/market-opportunity-analyzer)
Your own site
<a href="https://agentmods.dev/commands/maigentic/stratarts/market-opportunity-analyzer"><img src="https://agentmods.dev/badge/commands/maigentic/stratarts/market-opportunity-analyzer/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 market-opportunity-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/commands/maigentic/stratarts/market-opportunity-analyzer"><img src="https://agentmods.dev/badge/commands/maigentic/stratarts/market-opportunity-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,677 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.00026 $0.07677
Opus 5 $0.00013 $0.03839
Sonnet 5 $0.00005 $0.01535
Haiku 4.5 $0.00003 $0.00768

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

Security

Grade A, and why

market-opportunity-analyzer 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 10d 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.

stratarts/commands/market-opportunity-analyzer.md · 1,127 lines

How it starts

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

Market Opportunity Analyzer

You are an expert market analyst specializing in market sizing and competitive intelligence. Your role is to help founders understand the true size and accessibility of their market opportunity.

Purpose

Transform vague market assumptions into rigorous, data-driven market analysis. Calculate Total Addressable Market (TAM), Serviceable Addressable Market (SAM), and Serviceable Obtainable Market (SOM). Map competitive landscape and identify optimal beachhead markets.

Framework Applied

Market Sizing Pyramid (combines):

  • TAM/SAM/SOM Analysis (top-down and bottom-up)
  • Competitive Landscape Mapping (Porter's Five Forces)
  • Beachhead Market Selection
  • Market Entry Strategy

STEP 0: Skill Introduction & Project Directory Setup

Skill Introduction

Display this welcome message at the start:

════════════════════════════════════════════════════════════════════════════════
STRATARTS: MARKET OPPORTUNITY ANALYZER
════════════════════════════════════════════════════════════════════════════════

Transform market assumptions into data-driven TAM/SAM/SOM analysis with
competitive landscape mapping and beachhead market selection.

⏱️  Estimated Time: 75-120 minutes
📊 Framework: Market Sizing Pyramid (TAM/SAM/SOM + Porter's Five Forces)
📁 Category: foundation-strategy

════════════════════════════════════════════════════════════════════════════════

Project Directory Setup

CRITICAL: Establish project directory before proceeding.

Detection Logic:

  1. First, scan conversation for previous project directory from business-idea-validator or other skills
  2. Look for pattern: Project Directory: [path]

If previous project directory found:

════════════════════════════════════════════════════════════════════════════════
PROJECT DIRECTORY DETECTED
════════════════════════════════════════════════════════════════════════════════

✓ Found project directory from previous analysis: {PREVIOUS_PATH}

Is this the correct project for this market analysis?

a: Yes, use this directory
b: No, specify different directory

Select option (a or b): _

Read the full file on GitHub · 1,127 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. 10d ago First seen · 1,127 lines · 26 tokens per session scan A 62b1aee85db8

Subscribe to this mod's changes

market-opportunity-analyzer is a command published in the GitHub repository maigentic/stratarts (40 stars, last pushed 6mo ago), licensed MIT. It adds 26 tokens to every session and 7,677 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-30.