market-research
Skill by alirezarezvani
Sizes markets, plans survey sample sizes and scores customer segments using three Python scripts. It is built for market researchers, product marketers and strategy teams who need evidence before setting a strategy.
Install market-research
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/research-ops/skills/market-research ~/.claude/skills/market-researchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/research-ops/skills/market-research ~/.gemini/antigravity-cli/skills/market-researchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
market-research is an agent skill that structures three market research methods: market sizing, survey sampling and segmentation. The market_sizer.py script computes TAM, SAM and SOM using both top-down and bottoms-up methods, reports the difference between them and flags failed triangulation. The sample_size_planner.py script calculates survey sample size with a finite-population correction and per-segment minimums. The segmentation_scorer.py script scores candidate segments against Kotler's five criteria and drops segments that are too small or unreachable.
The skill is aimed at market-research analysts, product marketers and strategy teams. It is meant for board questions about market size, survey design that must hold per segment, and separating real segments from demographic slices. An optional onboarding script saves default profile, confidence, margin of error and sizing method. An opt-in autoresearch bridge can reconcile a market model. The publisher states the scripts are stdlib-only.
Written from the project's SKILL.md and checked against it.
What it can do
- market_sizer.pyComputes TAM, SAM and SOM top-down and bottoms-up and flags failed triangulation.
- sample_size_planner.pyCalculates survey sample size with finite-population correction and per-segment minimums.
- segmentation_scorer.pyScores candidate segments against Kotler's five criteria and applies a substantiality and accessibility gate.
- onboard.pySaves default market profile, survey confidence, margin of error and sizing method.
- ar_evaluator.pyEvaluates a tam_divergence metric for an opt-in autoresearch loop that reconciles a market model.
What you need
- Python 3
- Optional: engineering/autoresearch-agent for the opt-in optimization loop
Try asking
- Size the TAM, SAM and SOM for this market using both top-down and bottoms-up methods.
- Calculate the survey sample size for a population of 62,000 at 95% confidence.
- Score these candidate customer segments and drop any that fail the accessibility gate.
Good to know
- The sizer reports both methods but cannot validate the inputs or their sources.
- Segment scores are inputs the user provides; the tool enforces gates and weighting but does not gather evidence.
- Sample size uses p=0.5 unless an expected proportion is supplied.
- Autoresearch runs only on demand and is not required.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: research-ops/skills/market-research/SKILL.md, research-ops/skills/market-research/scripts/ar_evaluator.py, research-ops/skills/market-research/scripts/config_loader.py, research-ops/skills/market-research/scripts/market_sizer.py, research-ops/skills/market-research/scripts/onboard.py, research-ops/skills/market-research/scripts/sample_size_planner.py, research-ops/skills/market-research/scripts/segmentation_scorer.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
assets/market_research_brief_template.md2 KB -
references/market_sizing_canon.md3 KB -
references/segmentation_and_ci.md3 KB -
references/survey_methodology.md3 KB
Show all 11 files
-
scripts/ar_evaluator.py3 KB -
scripts/config_loader.py4 KB -
scripts/market_sizer.py6 KB -
scripts/onboard.py4 KB -
scripts/sample_size_planner.py7 KB -
scripts/segmentation_scorer.py5 KB
Alternatives to market-research
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
market-research: common questions
How does market_sizer.py handle a single market size number?
The source says the sizer computes TAM, SAM and SOM with both top-down and bottoms-up methods side by side and never returns a single number. It reports the divergence between the two.
Does the sample size planner check segments as well as the overall survey?
Yes. The source says the planner includes per-segment minimums, because a survey powered overall is not necessarily powered for each reported segment.
Does the skill need extra packages to run?
The source says all three scripts are stdlib-only and are run with python3, so no extra packages are described.
How do I install market-research?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is market-research free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is market-research safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to market-research?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
