market-research

Generate market research and sizing reports for NAICS codes using BLS, Census, and FRED data.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/ankitjh4/skill-builder --skill market-research-ankitjh4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-research
Source: https://github.com/ankitjh4/skill-builder/tree/main/market-research
Command: npx skills add https://github.com/ankitjh4/skill-builder --skill market-research-ankitjh4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) components.

What problem does it solve?

It helps you answer industry research and market sizing questions by pulling employment, wages, establishment counts, and economic indicators from reliable government and economic datasets.

Core Features & Use Cases

  • BLS QCEW NAICS industry employment & wage data: Retrieve quarterly or annual employment, establishments, and wage metrics for a given NAICS code.
  • Census Bureau establishment counts (CBP) & Economic Census data: Get establishment, employment, payroll, and revenue-related fields by industry and optionally by state.
  • FRED series discovery for related indicators: Search and fetch time-series observations for relevant macro/industry-linked series.
  • One-command market sizing report: Combine BLS, Census CBP, and related FRED series into a single markdown report for a specified NAICS code.

Quick Start

Run python3 /home/workspace/Skills/market-research/scripts/research.py sizing 541511 after installing dependencies and setting any required API keys in your environment.

Frequently Asked Questions about market-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a market sizing report for a specific NAICS industry code?

To generate a market sizing report for a NAICS industry code, run the research.py CLI which combines BLS QCEW employment and wage data, Census CBP establishment counts, and FRED economic indicators into a single markdown document.

Can I retrieve BLS QCEW employment and wage data by NAICS code using Python?

Yes, you can retrieve BLS QCEW employment and wage data by NAICS code using the Python-based research.py script, which requires the httpx library and a valid BLS_API_KEY configured in your environment.

What data sources are needed to estimate market size using economic indicators?

Estimating market size using economic indicators requires combining BLS QCEW employment metrics, Census CBP establishment and payroll data, and FRED time-series observations for macroeconomic context.

Do I need API keys to pull Census CBP and FRED time series data?

Yes, retrieving Census CBP and FRED time series data requires setting the CENSUS_API_KEY and FRED_API_KEY environment variables so the httpx client can authenticate requests and fetch observations.

What's the best way to get establishment and payroll counts by state for an industry?

The best way to get establishment and payroll counts by state for an industry is querying Census CBP and Economic Census data through the research.py script, which formats the output into a structured report.

Are there limitations when combining BLS QCEW and FRED series for market sizing?

A limitation when combining BLS QCEW and FRED series for market sizing is data availability and API rate limits, which can affect the completeness of time-series observations and industry-level metrics in the final report.