strategy-os: Skill for Claude Code

.claude/skills/stg-sizing-markets/SKILL.md

stg-sizing-markets is a skill for Claude Code from LeanOS-Technologies/strategy-os. It costs 42 tokens per session (1,472 once invoked), scanned A, original, MIT.

A market-sizing workflow that estimates total market opportunity using TAM, SAM, and SOM. TAM is the whole possible market, SAM is the part a business can serve, and SOM is the part it may realistically capture.

In plain words
What is it for?
Use it to research market size, calculate TAM/SAM/SOM, compare estimates from industry reports and customer assumptions, investigate large disagreements, and cite the sources behind each figure.
Why use it?
It provides range-based estimates and compares a top-down industry calculation with a bottom-up customer calculation. It also accounts for timing and labels the strength of the evidence.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is LeanOS-Technologies/strategy-os's own configuration. It tells Claude Code how to work on strategy-os itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything strategy-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LeanOS-Technologies/strategy-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LeanOS-Technologies/strategy-os/main/.claude/skills/stg-sizing-markets/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LeanOS-Technologies/strategy-os

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 stg-sizing-markets

README.md
[![agentmods](https://agentmods.dev/badge/skills/leanos-technologies/strategy-os/stg-sizing-markets/github.svg)](https://agentmods.dev/skills/leanos-technologies/strategy-os/stg-sizing-markets)
Your own site
<a href="https://agentmods.dev/skills/leanos-technologies/strategy-os/stg-sizing-markets"><img src="https://agentmods.dev/badge/skills/leanos-technologies/strategy-os/stg-sizing-markets/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 stg-sizing-markets

Your own site · 80×15
<a href="https://agentmods.dev/skills/leanos-technologies/strategy-os/stg-sizing-markets"><img src="https://agentmods.dev/badge/skills/leanos-technologies/strategy-os/stg-sizing-markets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.00042 $0.01472
Opus 5 $0.00021 $0.00736
Sonnet 5 $0.00008 $0.00294
Haiku 4.5 $0.00004 $0.00147

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

Security

Grade A, and why

stg-sizing-markets 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.

.claude/skills/stg-sizing-markets/SKILL.md · 139 lines

How it starts

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

Market Sizing

Calculate market opportunity with TAM/SAM/SOM and timing analysis. All figures are range-based, tier-labeled, and source-cited.

Procedure

Step 1: Load Context [S]

Read governor input: business mode (VENTURE/BOOTSTRAP/HYBRID), constraints (budget, team, timeline), problem space description.

Produce: research parameters (industry, geography, segment filters).

Gate: context_loaded: bool -- mode identified, problem space described.

  • Pass: Step 2.
  • Fail: Cannot proceed without mode and problem space. Report missing inputs.

Step 2: Calculate TAM Using Both Methods [S]

Read: research parameters.

WebSearch for industry reports (Gartner, Forrester, IBISWorld, Statista, Grand View Research).

Top-down: Industry size x relevant segment percentage. Cite specific report, publisher, date, figure.

Bottom-up: Total potential customers x average revenue per customer. Cite customer count source and revenue assumption separately.

If methods differ >50%, investigate the discrepancy and report both with reconciliation attempt.

Produce: TAM range [low, high] with sources. Each figure labeled T1 (from published report) or T2 (calculated from multiple sources).

Gate: tam_calculated: bool -- two methods attempted, range produced, sources cited with dates.

  • Pass: Step 3.
  • Fail: If no reports found, widen search terms (adjacent industry, broader category). If still nothing, report: "TAM data insufficient -- mark as T3 assumption" and provide best available estimate.

Step 3: Calculate SAM [S]

Read: TAM range, segment filters from context.

Apply filters sequentially to TAM:

  • Geographic filter: reduce by geography relevance (cite source for geographic distribution)
  • Segment filter: reduce by target segment proportion (cite source)
  • Technical filter: reduce by technology compatibility requirements
  • Vertical filter: reduce by industry vertical if applicable

Document each filter: what it is, reduction percentage, source, tier label.

Read the full file on GitHub · 139 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 · 139 lines · 42 tokens per session scan A 214a9327f825

Subscribe to this mod's changes

stg-sizing-markets is a skill published in the GitHub repository LeanOS-Technologies/strategy-os (37 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 1,472 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

email-sequence

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," or "lifecycle…

davila7/claude-code-templates · 84 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

qa-test-planner

Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.

davila7/claude-code-templates · 34 tokens

guidance

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.

davila7/claude-code-templates · 38 tokens

content-research-writer

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

davila7/claude-code-templates · 49 tokens

training-llms-megatron

Trains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies. Use when training models >1B parameters, need maximum GPU efficiency (47% MFU on H100), or require tensor/pipeline/sequence/context/expert parallelism. Production-ready framework used for Nemotron, LLaMA…

davila7/claude-code-templates · 82 tokens