market-scan

market-scan is a command for Claude Code from phuryn/pm-skills. It costs 25 tokens per session (1,033 once invoked), scanned A, original, MIT.

A command for reviewing a market with four strategy tools: SWOT, PESTLE, Porter's Five Forces, and Ansoff Matrix. These examine internal strengths and weaknesses, outside conditions, competitive pressure, and growth options.

In plain words
What is it for?
Use it to assess a product, company, or market for planning, market entry, investor preparation, or a strategy review. It can combine the four analyses into one strategic overview.
Why use it?
It organizes a large amount of market information into a repeatable review. This helps teams see external risks, competitors, and possible directions for growth.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the pm-product-strategy plugin — 12 skills, 5 commands shipped together

Good fit Use it to assess a product, company, or market for planning, market entry, investor preparation, or a strategy review. It can combine the four analyses into one strategic overview.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/phuryn/pm-skills/market-scan
About the project

phuryn/pm-skills is a marketplace of reusable skills, commands, and plugins that guide AI assistants through product-management work such as discovery, strategy, planning, metrics, launches, and growth. It is for product managers and teams using Claude Code, Cowork, or compatible assistants. The catalogue entries are the project's own workflows and extensions.

phuryn/pm-skills · 26,507 stars · on GitHub · productcompass.pm

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/phuryn/pm-skills

Made for: Claude Code.

Or install pm-product-strategy, the plugin that ships this one along with the rest of its 12 skills, 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for market-scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/phuryn/pm-skills/market-scan/github.svg)](https://agentmods.dev/commands/phuryn/pm-skills/market-scan)
Your own site
<a href="https://agentmods.dev/commands/phuryn/pm-skills/market-scan"><img src="https://agentmods.dev/badge/commands/phuryn/pm-skills/market-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for market-scan

Your own site · 80×15
<a href="https://agentmods.dev/commands/phuryn/pm-skills/market-scan"><img src="https://agentmods.dev/badge/commands/phuryn/pm-skills/market-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01033
Opus 5 $0.00013 $0.00517
Sonnet 5 $0.00005 $0.00207
Haiku 4.5 $0.00003 $0.00103

Measured 7d ago against content hash 5220534f8b98, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-22, from the pricing page.

Security

Grade A, and why

market-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pm-product-strategy/commands/market-scan.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/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 |
|--------|-------------|--------|----------------|

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 128 lines · 25 tokens per session scan A 5220534f8b98

Subscribe to this mod's changes

market-scan is a command published in the GitHub repository phuryn/pm-skills (26,507 stars, last pushed 7d ago), licensed MIT. It adds 25 tokens to every session and 1,033 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.