market-research
What it does
This skill helps you estimate how big a market is, plan a survey sample and decide which customer segments to target. It is for market researchers, product marketers and strategy teams.
When to use it
- ✓When someone asks how big a market is and you need a defensible answer.
- ✓When you are planning a survey and need a sample size that works for each segment.
- ✓When you have a list of customer segments and need to score which ones to pursue.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/research-ops/skills/market-research/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How big is the market for our project management app? Give me top-down and bottom-up estimates with sources.”
5 new skills a week. 1 minute to read.
How it works
The agent calculates market size two ways and shows the gap between them, plans survey sample sizes with minimums for each segment, and scores segments against standard criteria. It is built to never give one unsourced number.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
market-research
Upstream market-research methodology: market sizing, survey/sampling design, and segmentation. The discipline here is method + assumptions: a TAM is never a single number, a survey is never powered only in aggregate, and a segment is never a demographic slice.
Purpose
Market-research analysts, product marketers, and strategy teams need rigorous evidence before anyone optimizes a campaign or sets a strategy. This skill structures three methodology decisions:
Three deterministic tools:
market_sizer.py— Computes TAM/SAM/SOM by both top-down and bottoms-up methods side-by-side, reports the divergence, and flags failed triangulation. Never returns a single number.sample_size_planner.py— Survey sample size from confidence, margin of error, and expected proportion, with the finite-population correction and per-segment minimums (a survey powered overall is not powered per reported segment).segmentation_scorer.py— Scores candidate segments against Kotler's five criteria and enforces a substantiality + accessibility gate; a slice that is too small or unreachable is dropped.
When to use
Invoke this skill when:
- A board or exec asks "how big is this market?" and you need a defensible, triangulated answer.
- You are fielding a survey and need a sample size that holds up per segment, not just overall.
- You have a list of candidate segments and need to know which are real markets vs demographic slices.
- You are synthesizing competitive intelligence and need a methodological backbone.
Do NOT use this skill to: measure a live campaign (attribution, ROAS, CPA → marketing-skill/campaign-analytics), build demand-gen / paid-media plans (marketing-skill/marketing-demand-acquisition), set positioning / GTM strategy (marketing-skill/marketing-strategy-pmm), or set pricing (commercial/pricing-strategist).
Workflow
- Write the brief — Fill
assets/market_research_brief_template.md(objective, the decision this informs, sizing approach, sampling plan, assumptions register). - Size the market — Run
market_sizer.py --input market.json --method both --profile {b2b-saas|consumer|enterprise|marketplace|hardware|services}. Reconcile the top-down/bottoms-up delta before quoting anything. - Plan the survey — Run
sample_size_planner.py --input survey.json. Fund the per-segment floors, not just the overall n. - Score the segments — Run
segmentation_scorer.py --input segments.json --profile <same>. Drop segments failing the substantiality/accessibility gate. - Assemble the evidence pack — Combine into a brief. Every number carries its method + assumptions + confidence.
Scripts
| Script | Purpose | Profiles |
|---|---|---|
scripts/market_sizer.py |
TAM/SAM/SOM top-down AND bottoms-up + triangulation flag | b2b-saas, consumer, enterprise, marketplace, hardware, services |
scripts/sample_size_planner.py |
Survey n + FPC + per-segment minima | n/a (parameter-driven) |
scripts/segmentation_scorer.py |
Kotler 5-criteria scoring + gate | b2b-saas, consumer, enterprise, marketplace, hardware, services |
All three: stdlib-only, --help, --sample, --output {human,json}.
Onboarding & customization
Run the onboarding questionnaire once before you start — it captures your defaults so every tool in this skill is pre-configured. Customization is the point: the answers actually change tool behavior.
python3 scripts/onboard.py # interactive (also: --defaults, --set key=value, --reset)
python3 scripts/onboard.py --show # see the questions + current effective config
Answers are saved to ~/.config/research-ops/market-research.json (global) or ./.research-ops/market-research.json (--scope project) and are read automatically by config_loader.py. They set the default market profile, the default survey confidence and margin of error, and the default sizing method. CLI flags always override saved config; RESEARCH_OPS_NO_CONFIG=1 ignores it.
The four questions: market profile · survey confidence · margin of error · sizing method.
Optimize with autoresearch (opt-in)
This skill ships an isolated, opt-in bridge to engineering/autoresearch-agent. Only when you ask to "optimize" / "reconcile the sizing" / "run a loop" does an autoresearch experiment iteratively reconcile your market model so top-down and bottoms-up triangulate. scripts/ar_evaluator.py is the ground
FAQ
Why use two methods for market size?
Comparing top-down and bottom-up estimates shows whether the numbers agree, and it flags when they do not.
Why are segment sample sizes needed?
A survey big enough overall may still be too small for each segment you report on, so the skill sets minimums per segment.
Will it drop weak segments?
Yes. Segments that are too small or hard to reach are dropped by the scoring gate.
Details
Original description by the author
Use for market sizing (TAM, SAM, SOM both top-down and bottom-up), survey sample sizes or segment scoring. Runs market_sizer.py, sample_size_planner.py and segmentation_scorer.py and never returns one unsourced number.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9746
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.