market-scan — Claude Code command: full market analysis
market-scan — a command for strategic analysis of competitive landscape. Runs SWOT, PESTLE, Porter's Five Forces, and Ansoff Matrix together and delivers a unified report with cross-framework synthesis.
MIT ★ 28,211 updated 2026-10-16
/plugin marketplace add phuryn/pm-skills
/plugin install pm-product-strategy@pm-skillsWhat market-scan does
The /market-scan command takes a product, market, or industry description and runs four frameworks in sequence. First it clarifies scope: what you're analyzing, the purpose (strategic planning, market entry, board prep, annual review), and whether to focus on specific frameworks or run all four.
Then it applies skills in order. SWOT surfaces internal strengths and weaknesses alongside external opportunities and threats, with actions for each quadrant. PESTLE assesses political, economic, social, technological, legal, and environmental factors with impact and timeline. Porter's Five Forces rates competitive rivalry, supplier power, buyer power, threat of substitutes, and threat of new entrants. Ansoff Matrix breaks down market penetration, development, product development, and diversification with risk-adjusted priorities.
The report includes tables for each framework plus a synthesis section where they inform each other: converging signals across frameworks, must-do actions, highest-priority risks, and best growth opportunities relative to risk. The command uses web research to ground analysis in current market data rather than generalizations. Output saves as markdown and suggests next steps like competitor deep-dives or pricing strategy.
What it helps with
- understand competitive landscape before market entry
- assess industry attractiveness for investors or board review
- spot critical threats and growth vectors simultaneously
- prepare strategic analysis with multiple frameworks at once
- compare markets using consistent evaluation criteria
Example prompts for the agent
- Scan the EdTech market for corporate learning
- Analyze our fintech product ahead of the board strategy review
- Run market analysis on the enterprise SaaS space
How to install market-scan
1Plugin marketplace
/plugin marketplace add phuryn/pm-skills/plugin install pm-product-strategy@pm-skills2Manually: put the files in place
.claude/commands/market-scan.mdCall it with /market-scan. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/market-scan.mdCall it with /prompts:market-scan. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/market-scan.prompt.mdManually: put the files in place
.gemini/commands/market-scan.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about market-scan
How do I install market-scan in Claude Code?
Run /plugin marketplace add phuryn/pm-skills, then /plugin install pm-product-strategy@pm-skills. The command is available immediately after.
What does market-scan do?
It applies four strategic frameworks (SWOT, PESTLE, Porter's Five Forces, and Ansoff Matrix) to a market or product, then synthesizes the results into a single report with strategic recommendations.
Do I need to provide market data, or does it work from my description alone?
You provide the core context—product, market, or industry description—and answer clarifying questions. The command supplements your input with web research to ground the analysis in current market conditions.
Source text
market-scan.md · MIT
--- description: Comprehensive macro environment analysis — SWOT, PESTLE, Porter's Five Forces, and Ansoff Matrix in one scan argument-hint: "<product, market, or industry>" --- # /market-scan -- Macro Environment Analysis Run multiple strategic analysis frameworks to understand your competitive and macro environment. Combines SWOT, PESTLE, Porter's Five Forces, and Ansoff Matrix into a single strategic overview. ## Invocation ``` /market-scan EdTech market for corporate learning /market-scan [upload a market brief or strategy doc] /market-scan Our fintech product — preparing for board strategy review ``` ## Workflow ### Step 1: Understand the Context Ask: - What product, company, or market are you analyzing? - What's the purpose? (strategic planning, market entry, investor prep, annual review) - Any specific frameworks you want to focus on? Or run all four? - What's your current position in this market? ### Step 2: Run the Analysis Apply four skills in sequence, each building on insights from the previous: **SWOT Analysis** (apply **swot-analysis** skill): - Internal: Strengths and Weaknesses - External: Opportunities and Threats - Actionable recommendations for each quadrant **PESTLE Analysis** (apply **pestle-analysis** skill): - Political, Economic, Social, Technological, Legal, Environmental factors - Impact assessment and timeline for each factor **Porter's Five Forces** (apply **porters-five-forces** skill): - Competitive rivalry, supplier power, buyer power, threat of substitutes, threat of new entrants - Overall industry attractiveness rating **Ansoff Matrix** (apply **ansoff-matrix** skill): - Market penetration, market development, product development, diversification - Risk-adjusted growth opportunities ### Step 3: Synthesize Cross-reference findings across frameworks to identify: - **Converging signals**: What multiple frameworks agree on - **Strategic imperatives**: Actions that appear critical across analyses - **Key risks**: Threats and forces to mitigate - **Growth opportunities**: Where the best risk-adjusted opportunities lie ### Step 4: Generate Report ``` ## Strategic Market Scan: [Market/Product] **Date**: [today] **Purpose**: [strategic planning / market entry / etc.] ### Executive Summary [5-7 sentences covering the strategic situation and key recommendations] ### SWOT Analysis | Strengths | Weaknesses | |-----------|-----------| | [internal positives] | [internal negatives] | | Opportunities | Threats | |-------------|---------| | [external positives] | [external negatives] | **SWOT Actions**: [leverage S+O, mitigate W+T] ### PESTLE Analysis | Factor | Current State | Impact | Trend | Timeframe | |--------|-------------|--------|-------|-----------| ### Porter's Five Forces | Force | Intensity | Key Drivers | Implications | |-------|----------|------------|-------------| **Industry Attractiveness**: [High / Medium / Low] ### Ansoff Growth Matrix | Strategy | Opportunity | Risk Level | Investment | Priority | |----------|-----------|-----------|-----------|----------| | Market Penetration | [specifics] | Low | [est.] | [H/M/L] | | Market Development | [specifics] | Medium | [est.] | [H/M/L] | | Product Development | [specifics] | Medium | [est.] | [H/M/L] | | Diversification | [specifics] | High | [est.] | [H/M/L] | ### Cross-Framework Synthesis **Converging signals**: [what all frameworks agree on] **Strategic imperatives**: [must-do actions] **Key risks**: [highest-priority threats] **Best opportunities**: [risk-adjusted growth plays] ### Strategic Recommendations 1. [Recommendation with supporting evidence from multiple frameworks] 2. ... 3. ... ### Monitoring Plan | Signal | What to Watch | Source | Check Frequency | |--------|-------------|--------|----------------| ``` Save as markdown. ### Step 5: Offer Next Steps - "Want me to **build a product strategy** based on these findings?" - "Should I **analyze specific competitors** identified in Porter's analysis?" - "Want me to **design a pricing strategy** for the market penetration opportunity?" ## Notes - Use web research to ground the analysis in current market data, not just general knowledge - PESTLE factors should include specific regulations, market data, and trend signals — not generic observations - Porter's is most useful when you identify the *specific* forces, not just rate them abstractly - Ansoff should include concrete opportunities, not just generic "enter new markets" - The synthesis section is the most valuable part — it's where the frameworks talk to each other
© Paweł Huryn · MIT · phuryn/pm-skills