Source profileQuality 86/100Review permissions

alirezarezvani/claude-skills/research-ops/skills/market-research/SKILL.md

market-research

Use when doing upstream market-research methodology — sizing a market as TAM/SAM/SOM computed BOTH top-down and bottoms-up (never a single unsourced number), planning a survey sample size with finite-population correction and per-segment minimums, or scoring candidate market segments against Kotler's measurable/substantial/accessible/differentiable/actionable criteria. Outputs always show the method and the assumptions. For market-research analysts and product-marketing at the sizing/survey/segm

Source repository stars
23,781
Declared platforms
4
Static risk flags
1
Last source update
2026-07-17
Source checked
2026-08-04

Decision brief

What it does—and where it fits

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.

Best for

  • 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.

Not for

  • A single TAM number with no method. Always triangulate top-down against bottoms-up.
  • Spurious precision. Size to the decision's tolerance; "$3.7142B" implies a confidence you do not have.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeDeclaredSource recordInstall path and trigger
CursorDeclaredSource recordInstall path and trigger
Gemini CLIDeclaredSource recordInstall path and trigger
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/alirezarezvani/claude-skills --skill "research-ops/skills/market-research"
Safe inspection promptEditorial

Inspect the Agent Skill "market-research" from https://github.com/alirezarezvani/claude-skills/blob/aa8d778811a557a2c28ccadda4cf3d0bd028a4cc/research-ops/skills/market-research/SKILL.md at commit aa8d778811a557a2c28ccadda4cf3d0bd028a4cc. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    1. Write the brief — Fill assets/marketresearchbrieftemplate.md (objective, the decision this informs, sizing approach, sampling plan, assumptions register). 2. Size the market — Run marketsizer.py --input market.json --method both --profile {b2b-saas|consumer|enterprise|marketp…

    Write the brief — Fill assets/marketresearchbrieftemplate.md (objective, the decision this informs, sizing approach, sampling plan, assumptions register).Size the market — Run marketsizer.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 samplesizeplanner.py --input survey.json. Fund the per-segment floors, not just the overall n.
  2. 02

    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:

    marketsizer.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.samplesizeplanner.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 s…segmentationscorer.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.
  3. 03

    When to use

    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 pr…

    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.
  4. 04

    Scripts

    All three: stdlib-only, --help, --sample, --output {human,json}.

    All three: stdlib-only, --help, --sample, --output {human,json}.
  5. 05

    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.

    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.Answers are saved to /.config/research-ops/market-research.json (global) or ./.research-ops/market-research.json (--scope project) and are read automatically by configloader.py. They set the default market profile, the…The four questions: market profile · survey confidence · margin of error · sizing method.

Permission review

Static risk signals and limitations

Runs scripts

medium · line 50

The documentation asks the agent to run terminal commands or scripts.

python3 scripts/onboard.py # interactive (also: --defaults, --set key=value, --reset)

Runs scripts

medium · line 51

The documentation asks the agent to run terminal commands or scripts.

python3 scripts/onboard.py --show # see the questions + current effective config

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score86/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars23,781SourceRepository attention, not individual Skill quality
Compatibility4 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
alirezarezvani/claude-skills
Skill path
research-ops/skills/market-research/SKILL.md
Commit
aa8d778811a557a2c28ccadda4cf3d0bd028a4cc
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

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:

  1. 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.
  2. 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).
  3. 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

  1. Write the brief — Fill assets/market_research_brief_template.md (objective, the decision this informs, sizing approach, sampling plan, assumptions register).
  2. 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.
  3. Plan the survey — Run sample_size_planner.py --input survey.json. Fund the per-segment floors, not just the overall n.
  4. Score the segments — Run segmentation_scorer.py --input segments.json --profile <same>. Drop segments failing the substantiality/accessibility gate.
  5. Assemble the evidence pack — Combine into a brief. Every number carries its method + assumptions + confidence.

Scripts

ScriptPurposeProfiles
scripts/market_sizer.pyTAM/SAM/SOM top-down AND bottoms-up + triangulation flagb2b-saas, consumer, enterprise, marketplace, hardware, services
scripts/sample_size_planner.pySurvey n + FPC + per-segment miniman/a (parameter-driven)
scripts/segmentation_scorer.pyKotler 5-criteria scoring + gateb2b-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-truth evaluator; it prints tam_divergence: <fraction> (lower is better).

/ar:setup --domain custom --name tam-triangulation \
  --target market.json \
  --eval "python3 ar_evaluator.py --target market.json" \
  --metric tam_divergence --direction lower
/ar:loop custom/tam-triangulation

Isolated: no hard dependency — autoresearch runs only on demand, and the loop edits market.json, never the evaluator.

References

  • references/market_sizing_canon.md — TAM/SAM/SOM frameworks (Bessemer, a16z); top-down vs bottoms-up; Fermi estimation; market-model conventions; common sizing fallacies.
  • references/survey_methodology.md — Cochran Sampling Techniques; Dillman Tailored Design Method; Groves Survey Methodology; question-wording bias (Schuman & Presser); AAPOR standards.
  • references/segmentation_and_ci.md — Kotler segmentation criteria; needs-based vs firmographic; Porter Five Forces; SCIP ethics; Christensen JTBD; conjoint/MaxDiff primer.

Assumptions

  • The sizer reports both methods but cannot validate your inputs — a top-down "1% of a $40B market" is only as good as the cited source and the serviceable fraction.
  • Sample-size uses the conservative p=0.5 (maximum variance) unless you supply an expected proportion.
  • Segment scores are inputs you provide; the tool enforces the gates and the weighting, it does not gather the underlying evidence.
  • Competitive intelligence must follow the SCIP code of ethics — no misrepresentation, no protected information.

Anti-patterns

  • A single TAM number with no method. Always triangulate top-down against bottoms-up.
  • Spurious precision. Size to the decision's tolerance; "$3.7142B" implies a confidence you do not have.
  • Powering only the total. Each reported segment needs its own sample floor.
  • Leading or double-barreled survey questions. Pre-test wording against the bias literature.
  • Calling a demographic slice a segment. It must be substantial AND accessible.

Distinct from

NeighborScopeDifference
marketing-skill/campaign-analyticsAttribution, ROAS, CPA, funnel of a live campaignThat measures spend deployed; this is upstream methodology
marketing-skill/marketing-demand-acquisitionDemand-gen, paid media, channel mixThat runs acquisition; this builds the evidence
marketing-skill/marketing-strategy-pmmPositioning, GTM, categoryThat sets strategy; this sizes and segments the market
commercial/pricing-strategistPricing model + WTP + packagingThat sets price; this sizes the market
product-research (sibling)User/product discovery methodsThat studies users; this studies the market

Quick examples

python3 scripts/market_sizer.py --sample
python3 scripts/sample_size_planner.py --population 62000 --confidence 0.95 --moe 0.05
python3 scripts/segmentation_scorer.py --sample --output json

The sample market triangulates a ~$1.47B top-down SAM against the bottoms-up figure and flags the divergence; the segmentation sample drops the "solopreneurs who might want analytics" slice for failing the substantiality and accessibility gates.

Forcing-question library (Matt Pocock grill discipline)

Walked one at a time by /cs:grill-research-ops or the orchestrator. Recommended answer + canon citation per question. Never bundled.

  1. "Is your TAM top-down or bottoms-up — and have you computed it both ways to triangulate?" Recommended: both; reconcile the delta before quoting a number. Canon: Bessemer / a16z market-sizing; Fermi estimation.

  2. "What decision will this market size actually drive — and at what precision does it matter?" Recommended: size to the decision's tolerance, not to a spurious-precision number. Canon: market-model conventions (Gartner/Forrester); decision-driven analysis.

  3. "What's your target margin of error and confidence — and does your sample clear it per segment, not just overall?" Recommended: power each reported segment, not only the total. Canon: Cochran Sampling Techniques; AAPOR standards.

  4. "Are your survey questions free of leading and double-barreled wording?" Recommended: pre-test the wording; cite the bias source. Canon: Schuman & Presser; Dillman Tailored Design Method.

  5. "Do your segments pass measurable / substantial / accessible / actionable — or are they just demographic slices?" Recommended: drop segments that fail substantiality or accessibility. Canon: Kotler segmentation criteria.

Walk depth-first. Lock 1-2 before opening 3-5. After all are answered, invoke market_sizer.pysample_size_planner.pysegmentation_scorer.py.

Alternatives

Compare before choosing

Computed 8823,781

alirezarezvani/claude-skills

research-ops-skills

Use when planning, funding, scoping, or synthesizing enterprise research across workstreams — clinical study design, R&D program finance, market sizing/surveys, or product/user research. Triggers on "design this clinical study", "what sample size", "R&D budget", "burn rate", "capitalize or expense", "TAM SAM SOM", "market sizing", "survey design", "segment the market", "plan user interviews", "usability test", "synthesize research insights". Forks context to route to one of four Research-Operati

Computed 8923,781

alirezarezvani/claude-skills

pricing-strategist

Use when designing or revisiting product pricing — selecting a pricing model (subscription seat-based, usage-based, value-based, freemium, or hybrid), running Van Westendorp Price Sensitivity Meter analysis on WTP survey data, or designing Good/Better/Best packaging tiers. Recommends a model and a price range with trade-offs, never a single number. For Commercial leads, Product Marketing, and CMOs at the pricing-design moment — not deal-by-deal discounting, not brand positioning.

Computed 892,504

aaron-he-zhu/aaron-marketing-skills

narrative-resonance-monitor

Use when the user asks to "measure how our narrative is landing", "track echo rate against our canon lexicon", or "check how AI answer engines describe our brand"; produces a resonance report — echo rate (overlap of market language with the narrative-registry canon lexicon, method declared), AI-answer perception via tavily.py --answer (proxy-labeled), share-of-voice on a locked competitor panel (reusing share-of-voice-tracker), and resonance signals from bluesky.py / gdelt.py / pageviews.py — ev

Computed 8323,781

alirezarezvani/claude-skills

product-skills

Use when coordinating product work across the 12 bundled product sub-skills (RICE, OKRs, UX research, design tokens, competitive teardown, analytics, experiments, discovery, roadmaps, spec-to-repo, landing pages, SaaS scaffolding) or the 4 standalone product-team plugins (user stories, Apple HIG, code-to-PRD, research summarizer). Triggers on 'help me prioritize', 'plan a product experiment', 'we ship features nobody uses', 'run the discovery loop', 'is our OST sound'. Forks context to route to