Market research

From zocomputer/skills · View interactive version

Market research is an AI agent skill from the GitHub repository zocomputer/skills. Industry statistics and market sizing via free government APIs (BLS, FRED, Census Bureau). Query employment data, economic time series, establishment counts, and build market sizing reports by NAICS industry code. Use for any industry research or market analysis question.

How to use this skill

Skill file

Setup

  1. Install this skill to Skills/market-research/
  2. Sign up for free API keys (all free, no usage limits worth worrying about):
  1. Install the Python dependency: pip install httpx

CLI

python3 /home/workspace/Skills/market-research/scripts/research.py <command> [options]

Commands

| Command | Source | Description |

|---------|--------|-------------|

| industry <naics> | BLS | Employment and wage data for a NAICS industry code |

| establishments <naics> | Census CBP | Establishment counts by industry and geography |

| economic-census <naics> | Census | Revenue, payroll, establishments from the Economic Census |

| fred-search <query> | FRED | Find relevant FRED series by keyword |

| fred-data <series_id> | FRED | Get time series data for a FRED series |

| sizing <naics> | All | Combined market sizing report |

Options

| Flag | Description |

|------|-------------|

| --state <fips> | State FIPS code filter (e.g. 04 = Arizona, 06 = California) |

| --years <n> | Number of years of data (default: 5) |

| --output <file> | Save to file |

NAICS Codes

NAICS (North American Industry Classification System) is how the US government categorizes industries. Examples:

Find codes: https://www.census.gov/naics/

Examples

# Employment + wages for custom software development
python3 scripts/research.py industry 541511

# Establishment counts in California
python3 scripts/research.py establishments 541511 --state 06

# Search FRED for relevant series
python3 scripts/research.py fred-search "software industry output"

# Get GDP data
python3 scripts/research.py fred-data GDP --years 10

# Full market sizing report
python3 scripts/research.py sizing 541511

Data Sources

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.