Pack Availability Guard
Before telling the user to run a skill from another project-local pack, check .agents/project.json.enabled_packs. If the target pack is not enabled, recommend /pack install <pack> instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
ICP — Research-Driven Customer Discovery
Report-First Approval Gate
Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.
Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.
When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. Do not include Recommended next skill, Recommended next command, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
Automated research that identifies multiple ICP candidates, maps their pain points and value props, scores them, and selects a primary ICP. Replaces interview-driven approaches with web search + codebase analysis. Input is a spec file path, concept/idea as $ARGUMENTS, or research/concept-brief.md / research/{app}/concept-brief.md when present.
The output preserves the canonical 9-section format at the top level (for downstream compatibility with /spec-interview, /mvp-gap, /roadmap, /journey-map) while adding multi-ICP analysis, cross-ICP prioritization, and a supplementary section 10 (## Discovery & Evaluation Behavior) that captures how personas find, evaluate, and choose solutions.
Process
0. App Scope Resolution (Monorepo Support)
Before parsing input, determine the app scope:
- If
$ARGUMENTS specifies an app name matching a subdirectory of research/, use it.
- If
research/ contains subdirectories (excluding files), list them and ask the user which app to target. If only one subdirectory exists, use it automatically.
- If no subdirectories exist, proceed with flat structure (single-product mode).
When app scope {app} is active:
- Read/write research from
research/{app}/ instead of research/
- Read/write specs from
specs/{app}/ instead of specs/
- Prefer
research/{app}/concept-brief.md as concept context when present
- Also read
research/icp.md (cross-app overview) for broader context
1. Parse Input & Gather Context
Read $ARGUMENTS:
- If it's a file path, read the file for product/concept context
- If it's text, treat it as the concept or idea description
- If empty, check for
research/{app}/concept-brief.md in app scope or research/concept-brief.md in flat scope first; then check specs/spec.md, specs/plan.md, or README for context — if nothing exists, ask the user what product or idea to research
Read concept brief if present:
Read research/{app}/concept-brief.md in app scope, or research/concept-brief.md in flat scope, whenever it exists. Treat it as starting context and source hypotheses, not as settled truth. Use its problem hypothesis, beneficiary hypothesis, value wedge, constraints, non-goals, and ICP readiness notes to frame search queries and candidate generation. If $ARGUMENTS conflicts with the concept brief, flag the mismatch at the first checkpoint and ask which premise should guide ICP research.
Read codebase (if it exists):
Read CLAUDE.md, README, package config, key source files, routes, and data models to understand what's been built. This grounds the research in reality rather than pure market abstraction.
Read existing research (research/icp.md, research/competitive-analysis.md, etc.) and specs if they exist — use as background context but do not treat as settled. This research may reshape direction.
Detect monorepo structure:
Check for monorepo indicators (turbo.json, pnpm-workspace.yaml, lerna.json, nx.json, or package.json workspaces). If found, identify sub-apps or packages that serve distinct user-facing products (ignore shared libraries, configs, and internal tooling). When multiple distinct products exist, run the full ICP process separately for each — produce research/{app-name}/icp.md per app, plus a unified research/icp.md that cross-references all app-level ICPs with a top-level prioritization of which app/ICP to pursue first. If the monorepo contains only one user-facing product, proceed as normal with a single research/icp.md.
Migrate old convention: If research/icp-{app}.md files exist (old naming), offer to move them to research/{app}/icp.md (and corresponding search logs to research/{app}/icp-search-log.md). Create the subdirectories as needed.
2. Broad Market Research
Use WebSearch with 8–12 diverse query strategies to cast a wide net. Log every search query and key findings to the research log.
Query strategies (adapt to the specific domain):
- Direct persona searches — "who buys [category]", "[category] buyer persona"
- Pain point searches — "[domain] biggest challenges", "[workflow] frustrations"
- Market segment searches — "[category] market segments", "[category] by company size"
- Trend searches — "[category] trends 2025 2026", "future of [domain]"
- Competitor user searches — "[competitor] customers", "[competitor] case studies", "[competitor] reviews"
- Forum/community searches — "[domain] reddit complaints", "[domain] community pain points"
- Job posting searches — "[related role] job description responsibilities" (reveals workflows)
- Industry report searches — "[category] market report", "[category] TAM"
- Switching trigger searches — "why switch from [incumbent]", "[category] migration"
- Adjacent market searches — "[related category] users", "[upstream/downstream] tools"
- Geographic/regulatory searches (if the domain has regional constraints) — "[category] by region", "[domain] regulations by country", "[category] adoption [region]"
- Named account searches (B2B) — "[competitor] customer list", "companies using [incumbent]", "[industry] companies that [trigger event]", "[category] case studies"
- Business model searches — "[category] business model", "[product] PLG vs sales-led", "[category] B2B vs B2C", "[category] marketplace", "[category] go-to-market motion"
- Willingness-to-pay signal searches — "[category] pricing complaints", "[category] budget", "[category] ROI", "[category] cost of manual process", "[competitor] pricing reviews", "[category] switching cost"
Use WebFetch to pull in particularly relevant pages for deeper analysis when search snippets aren't enough.
Classify the business model into one or more of: B2B SaaS (PLG), B2B SaaS (SLG), B2C, B2C subscription, marketplace/platform, B2B2C, D2C, open-source/open-core, API/developer-first. Document the classification with evidence in the search log. This classification gates which sub-sections appear in the ## Discovery & Evaluation Behavior.
3. Identify ICP Candidates — Present & Validate
From the research evidence, cluster findings into 2–5 distinct ICP candidates. For each candidate, note:
- Who they are (role, company type, size)
- What pain evidence exists
- How accessible they are (can we reach them?)
- How much value we could deliver
- How strong the WTP signal is: paid alternatives, budget owner/context, current spend or time-cost proxy, switching-cost tolerance, economic urgency, and pricing sensitivity cues
Checkpoint 1 — Present candidates to the user. Use the AskUserQuestion tool to show the ICP candidates with a brief rationale for each — cite the pain evidence found, accessibility signals, and value delivery reasoning from your search findings for each candidate. Then ask:
- "Do any of these surprise you? Is there a segment I'm missing?"
- "Any of these clearly wrong for your situation?"
Incorporate feedback before proceeding.
4. Deep Research Per ICP
For each validated ICP candidate, run targeted searches to fill the 9-section framework:
- Customer Profile — buyer persona, budget authority, discovery channels. Include conditional sub-sections:
- Geographic Focus (include only if the product has regulatory, language, compliance, or market-specific constraints) — initial target geography/region, why that region first, and expansion sequence. Search for "[category] by region", "[domain] regulations by country".
- Named Accounts (include for B2B ICPs) — 5–10 real companies that fit this ICP. For each, note company name, approximate size, industry, and why they fit (e.g., uses the incumbent, recently hit a trigger event, posted a relevant job listing). Search for "[competitor] customer list", "companies using [incumbent]", "[industry] companies that [trigger event]".
- Business Model & Go-to-Market Motion — model type (B2B/B2C/marketplace/B2B2C/D2C/hybrid) with evidence; primary motion (PLG, sales-led, community-led, partner-led, or hybrid); buyer-user relationship (same person, different people, or multi-sided).
- User Profile(s) — daily users, technical sophistication, goals, frustrations
- Trigger Events — what causes someone to start looking NOW? Job changes, growth milestones, compliance deadlines, tool sunsets, contract renewals, team scaling pain, funding events, new regulations. Search for "[category] buying triggers", "why companies switch [category]", "[incumbent] churn reasons". Rank by frequency and urgency.
- Current State Journey — step-by-step workflow without our product
- Pain Map — where the current state breaks down, severity, frequency
- Current Alternatives (User Perspective) — what users say they currently use or have tried, in their own words. Capture tool/process names without analysing competitors
- Market Sizing — TAM (total addressable market), SAM (serviceable), SOM (obtainable). Search for "[category] market size", "[category] TAM", "[category] number of companies". Use company counts, average deal size signals, and segment data to build bottom-up estimates. Flag confidence level (strong data vs. rough extrapolation).
- Stated Value Drivers — what customers say matters to them in their own language; the "aha moment" as users describe it, not strategic positioning. Include Willingness-to-Pay Signals as a bounded evidence subsection: paid alternatives, budget owner/context, current spend or time-cost proxy, switching-cost tolerance, economic urgency, and pricing sensitivity cues. Do not recommend prices, packages, or monetization strategy here.
- Customer ↔ User Dynamics — post-purchase buyer-user relationship: provisioning, onboarding, admin vs end-user dynamics. For B2B, the detailed buying process and decision-making unit live in
## Discovery & Evaluation Behavior; this section focuses on the post-purchase relationship.
- Discovery & Evaluation Behavior — how this persona found, evaluated, and chose solutions. Capture behavioural signals only (where they searched, who they asked, what they compared) — not channel strategy or GTM analysis. Use findings to populate section 10.
5. Score & Select Primary ICP — Present & Validate
Build a Value x Accessibility scoring matrix:
Value score (how much we can help):
- Pain severity and frequency
- Willingness to pay quality: active spend on alternatives, clear budget owner/context, high cost of inaction, tolerance for switching costs, urgency tied to measurable economic outcomes
- Size of the segment
- Alignment with what we've built (if codebase exists)
Accessibility score (how easy to reach and convert):
- Can we reach them through available channels?
- How long is the sales cycle?
- How complex is the buying process?
- Is there an existing community we can tap?
- Sales cycle length (shorter = higher score)
- DMU complexity (how many people must say yes)
- Champion availability (obvious internal advocate?)
- Budget alignment (budget cycle favors near-term purchase?)
Checkpoint 2 — Present the scoring matrix and primary ICP selection to the user. Use the AskUserQuestion tool to show the full matrix with scores and rationale, then ask:
- "Does this ranking match your intuition? Any factors I'm not weighing correctly?"
- If scores are close between candidates, ask which trade-offs the user prefers
Incorporate feedback before proceeding.
6. Cross-ICP Analysis — Present & Validate
Analyze across all ICP candidates:
- Shared pains — what pain points appear across multiple ICPs?
- Conflicts — where would serving one ICP hurt another?
- Product line recommendations — could different ICPs be served by different tiers/plans?
- Build sequence — which ICP to target first, second, third and why?
- Lowest-hanging fruit x most value — the prioritization sweet spot
- Discovery & evaluation comparison — how discovery and evaluation behavior differs across ICPs; do different ICPs find and choose solutions through different paths?
Checkpoint 3 — Present the cross-ICP analysis and recommended build sequence to the user. Use the AskUserQuestion tool to show the analysis with evidence: shared pains with source data from each ICP, conflicts with specific examples, and build sequence rationale grounded in the scoring matrix. Then ask:
- "Does this sequencing make sense for where you are right now?"
- If conflicts exist between ICPs, ask the user to weigh in on the trade-offs
Incorporate feedback before proceeding.
7. Populate Next Steps
Before writing, check which files exist to populate the ## Next Steps section contextually. Include 3–5 applicable items with "Pick one:" framing:
- ALWAYS:
/competitive-analysis — Research competitors and market gaps for this ICP
- IF no
specs/ directory or it's empty: /competitive-analysis — Map the competitive landscape for this ICP's market
- IF
specs/ exist but no research/journey-map.md: /journey-map — Map how this ICP flows through the product
- IF codebase exists:
/mvp-gap — Evaluate what's built against this ICP
- IF
research/competitive-analysis.md exists: /brainstorm — Generate ideas from ICP needs + competitive gaps
Impact-aware adjustments:
- IF downstream impact is Major: prepend
/reconcile-research — [N] conflicts found in downstream docs as the first item
- IF downstream impact is Minor: annotate relevant skill suggestions with "(stale — [brief description])"
- If downstream impact has not been classified yet, run the downstream impact check against the proposed output before selecting the final recommendation. Do not emit a Minor/Major impact recommendation speculatively.
8. Final Review & Write
Present the complete findings summary to the user — primary ICP, key sections, cross-ICP analysis, and build sequence. Ask:
- "Ready to write this to
research/icp.md? Anything to adjust first?"
Only after the user confirms, write the output files.
After writing is complete, repeat the Recommended next step from the generated ## Next Steps section in the final chat response.
9. Downstream Impact Check
After writing, check for downstream research documents that may be affected by what was just decided. Only check documents that exist on disk.
Downstream documents to check (use {app}/ prefix when app scope is active):
research/competitive-analysis.md
research/journey-map.md
research/metrics.md
research/gtm.md
research/monetization.md
research/enterprise-icp.md
research/customer-feedback.md
For each existing downstream document:
- Read it — focus on
> Based on: header, ## Summary, and sections that reference concepts this skill just defined or changed
- Identify specific conflicts: claims, assumptions, or references that contradict what was just decided. Examples:
- A persona name or description that no longer matches the ICP
- Competitive analysis positioning built on a different primary ICP
- Journey stages mapped for a different user profile
- Metric targets anchored to assumptions about a different ICP segment
- GTM messaging addressing pain points that shifted
- Monetization pricing tied to willingness-to-pay signals from a different ICP
- Enterprise ICP referencing a primary ICP that changed
- Customer feedback categorized against ICP segments that were restructured
- Note each conflict: downstream file, section, the stale claim (quote it), and what it should now say
Classify the impact:
- None: No downstream documents exist, or no conflicts found. Skip display entirely.
- Minor (1–2 small conflicts): Display conflicts to user inline.
- Major (3+ conflicts OR a foundational assumption changed — e.g., primary ICP shifted, key pain points redefined, user profiles restructured, value proposition changed): Display conflicts and strongly recommend
/reconcile-research.
Display to the user after showing the written file confirmation. This should be quick — one read per downstream doc, scan for conflicts against key decisions. Not a deep reconciliation.
Output
Write two files:
research/icp.md
Structure — the Primary ICP fills the canonical top-level sections:
# ICP: [Primary ICP Name]
> Primary ICP selected from [N] candidates. See Additional ICPs and Cross-ICP Analysis below.
> Search log: research/icp-search-log.md
## Customer Profile
[Buyer persona, budget authority, discovery channels]
### Geographic Focus
[Include only if the product has regulatory, language, or market-specific constraints.
Initial target geography/region, why that region first, expansion sequence.]
### Named Accounts
[Include for B2B ICPs. 5–10 real companies that fit this profile.
For each: company name, approximate size, industry, and why they fit.]
## User Profile(s)
[Daily user persona(s), technical sophistication, goals, frustrations]
## Trigger Events
[What causes them to start looking NOW — ranked by frequency and urgency.
Job changes, growth milestones, compliance deadlines, tool sunsets, contract renewals, etc.]
## Current State Journey
[Step-by-step workflow without our product]
## Pain Map
[Where the current state breaks down — severity, frequency]
## Current Alternatives (User Perspective)
[What users say they currently use or have tried — tool/process names in user language, not a competitive breakdown]
## Market Sizing
[TAM / SAM / SOM with methodology and confidence level.
Bottom-up: number of target companies × estimated deal size.
Top-down: industry reports, competitor revenue signals.]
## Stated Value Drivers
[What customers say matters — their language for the value they need, the "aha moment" as they describe it]
### Willingness-to-Pay Signals
[Evidence only: current paid alternatives, current spend or time-cost proxy, budget owner/context, switching-cost tolerance,
economic urgency, procurement or subscription constraints, and pricing sensitivity cues.
Do not recommend pricing or packaging; route raw signals to monetization.]
## Customer ↔ User Dynamics
[Post-purchase buyer-user relationship: provisioning, onboarding, admin vs end-user dynamics.
For B2B, the detailed buying process and DMU live in Discovery & Evaluation Behavior below;
this section focuses on the post-purchase relationship.]
## Discovery & Evaluation Behavior
### How They Find Solutions
[Where this persona searches — communities, review sites, peer recommendations, Google, events]
[Who they ask — colleagues, online communities, consultants, analysts]
### How They Evaluate
[What they compare — features, pricing, reviews, case studies, free trials]
[Decision-making process — solo, team, committee; timeline]
### How They Choose
[What tips the decision — peer recommendation, trial experience, brand trust, integration fit]
[Deal-breakers and must-haves from the user's perspective]
## Additional ICPs
### [ICP 2 Name]
#### Customer Profile
[Include Geographic Focus, Named Accounts, and Business Model & Go-to-Market Motion sub-sections where applicable]
...
#### User Profile(s)
...
#### Trigger Events
...
#### Current State Journey
...
#### Pain Map
...
#### Current Alternatives (User Perspective)
...
#### Market Sizing
...
#### Stated Value Drivers
...
#### Willingness-to-Pay Signals
...
#### Customer ↔ User Dynamics
...
#### Discovery & Evaluation Behavior
[Condensed: how they find, evaluate, and choose solutions — include only sub-sections relevant to this ICP]
### [ICP 3 Name]
...
## Cross-ICP Analysis
### Prioritization Matrix
| ICP | Value Score | Accessibility Score | Combined | Rationale |
|-----|------------|-------------------|----------|-----------|
| ... | | | | |
Scoring rationale must explicitly distinguish pain intensity from WTP quality. Strong WTP evidence includes active spend on alternatives, clear budget owner/context, high cost of inaction, tolerance for switching costs, and urgency tied to measurable economic outcomes. Weak WTP evidence includes verbal interest without budget, free-only behavior, unclear owner, or price sensitivity that outweighs pain.
### Shared Pain Points
[Pains that appear across multiple ICPs]
### Conflicts & Trade-offs
[Where serving one ICP would hurt another]
### Product Line Recommendations
[How different ICPs could map to tiers, plans, or product variants]
### Recommended Build Sequence
[Which ICP to target first → second → third, with reasoning]
### Discovery & Evaluation Comparison
[How discovery and evaluation behavior differs across ICPs]
[Do different ICPs find and choose solutions through different paths?]
<!-- Include this section only when downstream impact is Minor or Major. Omit entirely for None. -->
## Downstream Impact
> Checked: [list of downstream docs checked]
> Impact: Minor | Major
### Conflicts Found
1. **research/[file].md** — [Section Name]
- **Stale**: "[exact quote from downstream doc]"
- **Now**: [what this skill's output says instead]
[For Major only:]
> **Recommended action**: Run `/reconcile-research` to audit and fix all affected downstream documents.
## Next Steps
Pick one:
- `/competitive-analysis` — Research competitors and market gaps for this ICP
- [conditional items from step 7 — only include items whose conditions are met]
## Signals for Downstream Research
> Raw signals captured during research. These are unvalidated observations —
> use the linked skill to verify, validate, and explore alternatives.
### → /competitive-analysis
- [signal]: competitor names mentioned by users
- [signal]: tools users compare or say they evaluated
- [signal]: stated alternatives and what users say about them
### → /positioning
- [signal]: value language users use to describe what matters
- [signal]: differentiation claims users respond to
- [signal]: how users describe the problem in their own words
### → /monetization
- [signal]: budget ownership/context and willingness-to-pay evidence
- [signal]: current paid alternatives, spend proxies, or time-cost proxies
- [signal]: switching-cost tolerance and cost-of-inaction language
- [signal]: pricing sensitivity cues from user conversations
- [signal]: how users describe cost of current alternatives
### → /gtm
- [signal]: where users say they found or heard about solutions
- [signal]: community or channel mentions during research
- [signal]: peer recommendation patterns observed
research/icp-search-log.md
Raw research log containing:
- Every WebSearch query executed and why
- Key findings from each search (with source attribution)
- Evidence that supported or contradicted each ICP candidate
- The scoring rationale for primary ICP selection
- Any data gaps or areas where research was inconclusive
Create the research/ directory if it doesn't exist.
Monorepo Output Convention
When a monorepo has multiple distinct user-facing products, write:
research/{app-name}/icp.md — full 9-section ICP per app (same structure as above)
research/{app-name}/icp-search-log.md — search log per app
research/icp.md — unified cross-app summary that references each app-level ICP, with a top-level prioritization of which app/ICP combination to pursue first
Task Classification
When this skill produces follow-up work, file it by execution semantics:
- Immediately actionable implementation or documentation work goes in
tasks/todo.md.
- Human-only external actions tied to automated steps go in
tasks/manual-todo.md with _(blocks: Step N.X)_ or _(after: Step N.X)_; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stay in tasks/todo.md.
- One-time condition-gated records, baselines, or future measurements go in
tasks/record-todo.md with source, condition, non-blocking reason, evidence, and promotion rule.
- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in
tasks/recurring-todo.md with cadence, owner/agent, next due, evidence path, and escalation conditions.
- Do not put non-blocking records or recurring obligations in
tasks/todo.md unless they have been explicitly promoted into current execution work.
Constraints
- Stay in problem space. Do not propose features, architecture, UI, or technical solutions. That is
/spec-interview's job.
- Evidence-based. Every claim in the ICP document must trace back to research evidence logged in
research/icp-search-log.md. Do not fabricate personas from assumptions.
- In existing-project mode, note misalignments between what's built and what the ICP research suggests, but do not prescribe fixes — that's
/mvp-gap's job.
- Primary ICP must use the canonical 9 top-level
## sections — downstream skills (/spec-interview, /mvp-gap, /roadmap, /journey-map, /competitive-analysis) parse these exact headers. The renamed sections (Current Alternatives (User Perspective), Stated Value Drivers) replace the former Market Landscape and Value Proposition headers. Section 10 (## Discovery & Evaluation Behavior) is supplementary and does not affect downstream parsing.
- Section 10 captures behavioural signals only — how personas find, evaluate, and choose solutions. Do not include GTM strategy, channel analysis, budget authority, procurement process, or pricing expectations — those belong in downstream skills (
/gtm, /monetization, /enterprise-icp).
- WTP is evidence, not pricing strategy. Capture budget ownership, paid alternatives, current spend/time-cost proxies, switching-cost tolerance, economic urgency, and price sensitivity cues only as segment-fit and urgency evidence. Do not convert WTP evidence into pricing recommendations, packaging, discounting, ARPA targets, or monetization strategy; route those raw signals to
/monetization.
- Do not overwrite existing
research/icp.md without asking the user first.
- Minimum research depth: at least 8 WebSearch queries before identifying ICP candidates, then at least 2–3 targeted queries per candidate.
- Present before writing. Never write output files until findings have been presented to the user and validated through the checkpoint questions. The user must see and approve the analysis before anything is written to disk.
Alignment Page
Follow the shared Alignment Page convention in CLAUDE.md. Output: alignment/icp-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---
2name: icp-11
3description: Research-driven ICP discovery — web search + codebase analysis to identify multiple ICPs, pain points, value props, and cross-ICP prioritization
4type: research
5version: v0.3
6argument-hint: <spec file path, concept/idea, or empty to use concept brief>
7metadata:
8 source: https://skillmd.com/skills/georgeqle/icp-11
9---
10
11## Pack Availability Guard
12
13Before telling the user to run a skill from another project-local pack, check `.agents/project.json.enabled_packs`. If the target pack is not enabled, recommend `/pack install <pack>` instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
14
15# ICP — Research-Driven Customer Discovery
16
17## Report-First Approval Gate
18
19Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.
20
21Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.
22
23When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
24
25Automated research that identifies **multiple ICP candidates**, maps their pain points and value props, scores them, and selects a primary ICP. Replaces interview-driven approaches with web search + codebase analysis. Input is a spec file path, concept/idea as `$ARGUMENTS`, or `research/concept-brief.md` / `research/{app}/concept-brief.md` when present.
26
27The output preserves the canonical 9-section format at the top level (for downstream compatibility with `/spec-interview`, `/mvp-gap`, `/roadmap`, `/journey-map`) while adding multi-ICP analysis, cross-ICP prioritization, and a supplementary section 10 (`## Discovery & Evaluation Behavior`) that captures how personas find, evaluate, and choose solutions.
28
29## Process
30
31### 0. App Scope Resolution (Monorepo Support)
32
33Before parsing input, determine the app scope:
34
351. If `$ARGUMENTS` specifies an app name matching a subdirectory of `research/`, use it.
362. If `research/` contains subdirectories (excluding files), list them and ask the user which app to target. If only one subdirectory exists, use it automatically.
373. If no subdirectories exist, proceed with flat structure (single-product mode).
38
39When app scope `{app}` is active:
40- Read/write research from `research/{app}/` instead of `research/`
41- Read/write specs from `specs/{app}/` instead of `specs/`
42- Prefer `research/{app}/concept-brief.md` as concept context when present
43- Also read `research/icp.md` (cross-app overview) for broader context
44
45### 1. Parse Input & Gather Context
46
47**Read `$ARGUMENTS`:**
48- If it's a file path, read the file for product/concept context
49- If it's text, treat it as the concept or idea description
50- If empty, check for `research/{app}/concept-brief.md` in app scope or `research/concept-brief.md` in flat scope first; then check `specs/spec.md`, `specs/plan.md`, or README for context — if nothing exists, ask the user what product or idea to research
51
52**Read concept brief if present:**
53Read `research/{app}/concept-brief.md` in app scope, or `research/concept-brief.md` in flat scope, whenever it exists. Treat it as starting context and source hypotheses, not as settled truth. Use its problem hypothesis, beneficiary hypothesis, value wedge, constraints, non-goals, and ICP readiness notes to frame search queries and candidate generation. If `$ARGUMENTS` conflicts with the concept brief, flag the mismatch at the first checkpoint and ask which premise should guide ICP research.
54
55**Read codebase (if it exists):**
56Read CLAUDE.md, README, package config, key source files, routes, and data models to understand what's been built. This grounds the research in reality rather than pure market abstraction.
57
58**Read existing research** (`research/icp.md`, `research/competitive-analysis.md`, etc.) and specs if they exist — use as background context but do not treat as settled. This research may reshape direction.
59
60**Detect monorepo structure:**
61Check for monorepo indicators (`turbo.json`, `pnpm-workspace.yaml`, `lerna.json`, `nx.json`, or `package.json` workspaces). If found, identify sub-apps or packages that serve **distinct user-facing products** (ignore shared libraries, configs, and internal tooling). When multiple distinct products exist, run the full ICP process separately for each — produce `research/{app-name}/icp.md` per app, plus a unified `research/icp.md` that cross-references all app-level ICPs with a top-level prioritization of which app/ICP to pursue first. If the monorepo contains only one user-facing product, proceed as normal with a single `research/icp.md`.
62
63**Migrate old convention:** If `research/icp-{app}.md` files exist (old naming), offer to move them to `research/{app}/icp.md` (and corresponding search logs to `research/{app}/icp-search-log.md`). Create the subdirectories as needed.
64
65### 2. Broad Market Research
66
67Use WebSearch with **8–12 diverse query strategies** to cast a wide net. Log every search query and key findings to the research log.
68
69Query strategies (adapt to the specific domain):
701. **Direct persona searches** — "who buys [category]", "[category] buyer persona"
712. **Pain point searches** — "[domain] biggest challenges", "[workflow] frustrations"
723. **Market segment searches** — "[category] market segments", "[category] by company size"
734. **Trend searches** — "[category] trends 2025 2026", "future of [domain]"
745. **Competitor user searches** — "[competitor] customers", "[competitor] case studies", "[competitor] reviews"
756. **Forum/community searches** — "[domain] reddit complaints", "[domain] community pain points"
767. **Job posting searches** — "[related role] job description responsibilities" (reveals workflows)
778. **Industry report searches** — "[category] market report", "[category] TAM"
789. **Switching trigger searches** — "why switch from [incumbent]", "[category] migration"
7910. **Adjacent market searches** — "[related category] users", "[upstream/downstream] tools"
8011. **Geographic/regulatory searches** (if the domain has regional constraints) — "[category] by region", "[domain] regulations by country", "[category] adoption [region]"
8112. **Named account searches** (B2B) — "[competitor] customer list", "companies using [incumbent]", "[industry] companies that [trigger event]", "[category] case studies"
8213. **Business model searches** — "[category] business model", "[product] PLG vs sales-led", "[category] B2B vs B2C", "[category] marketplace", "[category] go-to-market motion"
8314. **Willingness-to-pay signal searches** — "[category] pricing complaints", "[category] budget", "[category] ROI", "[category] cost of manual process", "[competitor] pricing reviews", "[category] switching cost"
84
85Use WebFetch to pull in particularly relevant pages for deeper analysis when search snippets aren't enough.
86
87**Classify the business model** into one or more of: B2B SaaS (PLG), B2B SaaS (SLG), B2C, B2C subscription, marketplace/platform, B2B2C, D2C, open-source/open-core, API/developer-first. Document the classification with evidence in the search log. This classification gates which sub-sections appear in the `## Discovery & Evaluation Behavior`.
88
89### 3. Identify ICP Candidates — Present & Validate
90
91From the research evidence, cluster findings into **2–5 distinct ICP candidates**. For each candidate, note:
92- Who they are (role, company type, size)
93- What pain evidence exists
94- How accessible they are (can we reach them?)
95- How much value we could deliver
96- How strong the WTP signal is: paid alternatives, budget owner/context, current spend or time-cost proxy, switching-cost tolerance, economic urgency, and pricing sensitivity cues
97
98**Checkpoint 1 — Present candidates to the user.** Use the AskUserQuestion tool to show the ICP candidates with a brief rationale for each — cite the pain evidence found, accessibility signals, and value delivery reasoning from your search findings for each candidate. Then ask:
99- "Do any of these surprise you? Is there a segment I'm missing?"
100- "Any of these clearly wrong for your situation?"
101
102Incorporate feedback before proceeding.
103
104### 4. Deep Research Per ICP
105
106For each validated ICP candidate, run **targeted searches** to fill the 9-section framework:
107
108- **Customer Profile** — buyer persona, budget authority, discovery channels. Include conditional sub-sections:
109 - **Geographic Focus** (include only if the product has regulatory, language, compliance, or market-specific constraints) — initial target geography/region, why that region first, and expansion sequence. Search for "[category] by region", "[domain] regulations by country".
110 - **Named Accounts** (include for B2B ICPs) — 5–10 real companies that fit this ICP. For each, note company name, approximate size, industry, and why they fit (e.g., uses the incumbent, recently hit a trigger event, posted a relevant job listing). Search for "[competitor] customer list", "companies using [incumbent]", "[industry] companies that [trigger event]".
111 - **Business Model & Go-to-Market Motion** — model type (B2B/B2C/marketplace/B2B2C/D2C/hybrid) with evidence; primary motion (PLG, sales-led, community-led, partner-led, or hybrid); buyer-user relationship (same person, different people, or multi-sided).
112- **User Profile(s)** — daily users, technical sophistication, goals, frustrations
113- **Trigger Events** — what causes someone to start looking NOW? Job changes, growth milestones, compliance deadlines, tool sunsets, contract renewals, team scaling pain, funding events, new regulations. Search for "[category] buying triggers", "why companies switch [category]", "[incumbent] churn reasons". Rank by frequency and urgency.
114- **Current State Journey** — step-by-step workflow without our product
115- **Pain Map** — where the current state breaks down, severity, frequency
116- **Current Alternatives (User Perspective)** — what users say they currently use or have tried, in their own words. Capture tool/process names without analysing competitors
117- **Market Sizing** — TAM (total addressable market), SAM (serviceable), SOM (obtainable). Search for "[category] market size", "[category] TAM", "[category] number of companies". Use company counts, average deal size signals, and segment data to build bottom-up estimates. Flag confidence level (strong data vs. rough extrapolation).
118- **Stated Value Drivers** — what customers say matters to them in their own language; the "aha moment" as users describe it, not strategic positioning. Include **Willingness-to-Pay Signals** as a bounded evidence subsection: paid alternatives, budget owner/context, current spend or time-cost proxy, switching-cost tolerance, economic urgency, and pricing sensitivity cues. Do not recommend prices, packages, or monetization strategy here.
119- **Customer ↔ User Dynamics** — post-purchase buyer-user relationship: provisioning, onboarding, admin vs end-user dynamics. For B2B, the detailed buying process and decision-making unit live in `## Discovery & Evaluation Behavior`; this section focuses on the post-purchase relationship.
120- **Discovery & Evaluation Behavior** — how this persona found, evaluated, and chose solutions. Capture behavioural signals only (where they searched, who they asked, what they compared) — not channel strategy or GTM analysis. Use findings to populate section 10.
121
122### 5. Score & Select Primary ICP — Present & Validate
123
124Build a **Value x Accessibility** scoring matrix:
125
126**Value score** (how much we can help):
127- Pain severity and frequency
128- Willingness to pay quality: active spend on alternatives, clear budget owner/context, high cost of inaction, tolerance for switching costs, urgency tied to measurable economic outcomes
129- Size of the segment
130- Alignment with what we've built (if codebase exists)
131
132**Accessibility score** (how easy to reach and convert):
133- Can we reach them through available channels?
134- How long is the sales cycle?
135- How complex is the buying process?
136- Is there an existing community we can tap?
137- Sales cycle length (shorter = higher score)
138- DMU complexity (how many people must say yes)
139- Champion availability (obvious internal advocate?)
140- Budget alignment (budget cycle favors near-term purchase?)
141
142**Checkpoint 2 — Present the scoring matrix and primary ICP selection to the user.** Use the AskUserQuestion tool to show the full matrix with scores and rationale, then ask:
143- "Does this ranking match your intuition? Any factors I'm not weighing correctly?"
144- If scores are close between candidates, ask which trade-offs the user prefers
145
146Incorporate feedback before proceeding.
147
148### 6. Cross-ICP Analysis — Present & Validate
149
150Analyze across all ICP candidates:
151- **Shared pains** — what pain points appear across multiple ICPs?
152- **Conflicts** — where would serving one ICP hurt another?
153- **Product line recommendations** — could different ICPs be served by different tiers/plans?
154- **Build sequence** — which ICP to target first, second, third and why?
155- **Lowest-hanging fruit x most value** — the prioritization sweet spot
156- **Discovery & evaluation comparison** — how discovery and evaluation behavior differs across ICPs; do different ICPs find and choose solutions through different paths?
157
158**Checkpoint 3 — Present the cross-ICP analysis and recommended build sequence to the user.** Use the AskUserQuestion tool to show the analysis with evidence: shared pains with source data from each ICP, conflicts with specific examples, and build sequence rationale grounded in the scoring matrix. Then ask:
159- "Does this sequencing make sense for where you are right now?"
160- If conflicts exist between ICPs, ask the user to weigh in on the trade-offs
161
162Incorporate feedback before proceeding.
163
164### 7. Populate Next Steps
165
166Before writing, check which files exist to populate the `## Next Steps` section contextually. Include 3–5 applicable items with "Pick one:" framing:
167
168- ALWAYS: `/competitive-analysis` — Research competitors and market gaps for this ICP
169- IF no `specs/` directory or it's empty: `/competitive-analysis` — Map the competitive landscape for this ICP's market
170- IF `specs/` exist but no `research/journey-map.md`: `/journey-map` — Map how this ICP flows through the product
171- IF codebase exists: `/mvp-gap` — Evaluate what's built against this ICP
172- IF `research/competitive-analysis.md` exists: `/brainstorm` — Generate ideas from ICP needs + competitive gaps
173
174**Impact-aware adjustments:**
175- IF downstream impact is **Major**: prepend `/reconcile-research — [N] conflicts found in downstream docs` as the first item
176- IF downstream impact is **Minor**: annotate relevant skill suggestions with "(stale — [brief description])"
177- If downstream impact has not been classified yet, run the downstream impact check against the proposed output before selecting the final recommendation. Do not emit a Minor/Major impact recommendation speculatively.
178
179### 8. Final Review & Write
180
181Present the **complete findings summary** to the user — primary ICP, key sections, cross-ICP analysis, and build sequence. Ask:
182- "Ready to write this to `research/icp.md`? Anything to adjust first?"
183
184Only after the user confirms, write the output files.
185
186**After writing is complete, repeat the Recommended next step from the generated `## Next Steps` section in the final chat response.**
187
188### 9. Downstream Impact Check
189
190After writing, check for downstream research documents that may be affected by what was just decided. Only check documents that exist on disk.
191
192**Downstream documents to check** (use `{app}/` prefix when app scope is active):
193- `research/competitive-analysis.md`
194- `research/journey-map.md`
195- `research/metrics.md`
196- `research/gtm.md`
197- `research/monetization.md`
198- `research/enterprise-icp.md`
199- `research/customer-feedback.md`
200
201For each existing downstream document:
2021. Read it — focus on `> Based on:` header, `## Summary`, and sections that reference concepts this skill just defined or changed
2032. Identify **specific conflicts**: claims, assumptions, or references that contradict what was just decided. Examples:
204 - A persona name or description that no longer matches the ICP
205 - Competitive analysis positioning built on a different primary ICP
206 - Journey stages mapped for a different user profile
207 - Metric targets anchored to assumptions about a different ICP segment
208 - GTM messaging addressing pain points that shifted
209 - Monetization pricing tied to willingness-to-pay signals from a different ICP
210 - Enterprise ICP referencing a primary ICP that changed
211 - Customer feedback categorized against ICP segments that were restructured
2123. Note each conflict: downstream file, section, the stale claim (quote it), and what it should now say
213
214**Classify the impact**:
215- **None**: No downstream documents exist, or no conflicts found. Skip display entirely.
216- **Minor** (1–2 small conflicts): Display conflicts to user inline.
217- **Major** (3+ conflicts OR a foundational assumption changed — e.g., primary ICP shifted, key pain points redefined, user profiles restructured, value proposition changed): Display conflicts and strongly recommend `/reconcile-research`.
218
219Display to the user after showing the written file confirmation. This should be quick — one read per downstream doc, scan for conflicts against key decisions. Not a deep reconciliation.
220
221## Output
222
223Write two files:
224
225### `research/icp.md`
226
227Structure — the **Primary ICP** fills the canonical top-level sections:
228
229```markdown
230# ICP: [Primary ICP Name]
231
232> Primary ICP selected from [N] candidates. See Additional ICPs and Cross-ICP Analysis below.
233> Search log: research/icp-search-log.md
234
235## Customer Profile
236[Buyer persona, budget authority, discovery channels]
237
238### Geographic Focus
239[Include only if the product has regulatory, language, or market-specific constraints.
240 Initial target geography/region, why that region first, expansion sequence.]
241
242### Named Accounts
243[Include for B2B ICPs. 5–10 real companies that fit this profile.
244 For each: company name, approximate size, industry, and why they fit.]
245
246## User Profile(s)
247[Daily user persona(s), technical sophistication, goals, frustrations]
248
249## Trigger Events
250[What causes them to start looking NOW — ranked by frequency and urgency.
251 Job changes, growth milestones, compliance deadlines, tool sunsets, contract renewals, etc.]
252
253## Current State Journey
254[Step-by-step workflow without our product]
255
256## Pain Map
257[Where the current state breaks down — severity, frequency]
258
259## Current Alternatives (User Perspective)
260[What users say they currently use or have tried — tool/process names in user language, not a competitive breakdown]
261
262## Market Sizing
263[TAM / SAM / SOM with methodology and confidence level.
264 Bottom-up: number of target companies × estimated deal size.
265 Top-down: industry reports, competitor revenue signals.]
266
267## Stated Value Drivers
268[What customers say matters — their language for the value they need, the "aha moment" as they describe it]
269
270### Willingness-to-Pay Signals
271[Evidence only: current paid alternatives, current spend or time-cost proxy, budget owner/context, switching-cost tolerance,
272economic urgency, procurement or subscription constraints, and pricing sensitivity cues.
273Do not recommend pricing or packaging; route raw signals to monetization.]
274
275## Customer ↔ User Dynamics
276[Post-purchase buyer-user relationship: provisioning, onboarding, admin vs end-user dynamics.
277 For B2B, the detailed buying process and DMU live in Discovery & Evaluation Behavior below;
278 this section focuses on the post-purchase relationship.]
279
280## Discovery & Evaluation Behavior
281
282### How They Find Solutions
283[Where this persona searches — communities, review sites, peer recommendations, Google, events]
284[Who they ask — colleagues, online communities, consultants, analysts]
285
286### How They Evaluate
287[What they compare — features, pricing, reviews, case studies, free trials]
288[Decision-making process — solo, team, committee; timeline]
289
290### How They Choose
291[What tips the decision — peer recommendation, trial experience, brand trust, integration fit]
292[Deal-breakers and must-haves from the user's perspective]
293
294## Additional ICPs
295
296### [ICP 2 Name]
297#### Customer Profile
298[Include Geographic Focus, Named Accounts, and Business Model & Go-to-Market Motion sub-sections where applicable]
299...
300#### User Profile(s)
301...
302#### Trigger Events
303...
304#### Current State Journey
305...
306#### Pain Map
307...
308#### Current Alternatives (User Perspective)
309...
310#### Market Sizing
311...
312#### Stated Value Drivers
313...
314#### Willingness-to-Pay Signals
315...
316#### Customer ↔ User Dynamics
317...
318#### Discovery & Evaluation Behavior
319[Condensed: how they find, evaluate, and choose solutions — include only sub-sections relevant to this ICP]
320
321### [ICP 3 Name]
322...
323
324## Cross-ICP Analysis
325
326### Prioritization Matrix
327| ICP | Value Score | Accessibility Score | Combined | Rationale |
328|-----|------------|-------------------|----------|-----------|
329| ... | | | | |
330
331Scoring rationale must explicitly distinguish pain intensity from WTP quality. Strong WTP evidence includes active spend on alternatives, clear budget owner/context, high cost of inaction, tolerance for switching costs, and urgency tied to measurable economic outcomes. Weak WTP evidence includes verbal interest without budget, free-only behavior, unclear owner, or price sensitivity that outweighs pain.
332
333### Shared Pain Points
334[Pains that appear across multiple ICPs]
335
336### Conflicts & Trade-offs
337[Where serving one ICP would hurt another]
338
339### Product Line Recommendations
340[How different ICPs could map to tiers, plans, or product variants]
341
342### Recommended Build Sequence
343[Which ICP to target first → second → third, with reasoning]
344
345### Discovery & Evaluation Comparison
346[How discovery and evaluation behavior differs across ICPs]
347[Do different ICPs find and choose solutions through different paths?]
348
349<!-- Include this section only when downstream impact is Minor or Major. Omit entirely for None. -->
350## Downstream Impact
351
352> Checked: [list of downstream docs checked]
353> Impact: Minor | Major
354
355### Conflicts Found
356
3571. **research/[file].md** — [Section Name]
358 - **Stale**: "[exact quote from downstream doc]"
359 - **Now**: [what this skill's output says instead]
360
361[For Major only:]
362> **Recommended action**: Run `/reconcile-research` to audit and fix all affected downstream documents.
363
364## Next Steps
365
366Pick one:
367- `/competitive-analysis` — Research competitors and market gaps for this ICP
368- [conditional items from step 7 — only include items whose conditions are met]
369
370## Signals for Downstream Research
371
372> Raw signals captured during research. These are unvalidated observations —
373> use the linked skill to verify, validate, and explore alternatives.
374
375### → /competitive-analysis
376- [signal]: competitor names mentioned by users
377- [signal]: tools users compare or say they evaluated
378- [signal]: stated alternatives and what users say about them
379
380### → /positioning
381- [signal]: value language users use to describe what matters
382- [signal]: differentiation claims users respond to
383- [signal]: how users describe the problem in their own words
384
385### → /monetization
386- [signal]: budget ownership/context and willingness-to-pay evidence
387- [signal]: current paid alternatives, spend proxies, or time-cost proxies
388- [signal]: switching-cost tolerance and cost-of-inaction language
389- [signal]: pricing sensitivity cues from user conversations
390- [signal]: how users describe cost of current alternatives
391
392### → /gtm
393- [signal]: where users say they found or heard about solutions
394- [signal]: community or channel mentions during research
395- [signal]: peer recommendation patterns observed
396```
397
398### `research/icp-search-log.md`
399
400Raw research log containing:
401- Every WebSearch query executed and why
402- Key findings from each search (with source attribution)
403- Evidence that supported or contradicted each ICP candidate
404- The scoring rationale for primary ICP selection
405- Any data gaps or areas where research was inconclusive
406
407Create the `research/` directory if it doesn't exist.
408
409### Monorepo Output Convention
410
411When a monorepo has multiple distinct user-facing products, write:
412- `research/{app-name}/icp.md` — full 9-section ICP per app (same structure as above)
413- `research/{app-name}/icp-search-log.md` — search log per app
414- `research/icp.md` — unified cross-app summary that references each app-level ICP, with a top-level prioritization of which app/ICP combination to pursue first
415
416## Task Classification
417
418When this skill produces follow-up work, file it by execution semantics:
419
420- Immediately actionable implementation or documentation work goes in `tasks/todo.md`.
421- Human-only external actions tied to automated steps go in `tasks/manual-todo.md` with `_(blocks: Step N.X)_` or `_(after: Step N.X)_`; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stay in `tasks/todo.md`.
422- One-time condition-gated records, baselines, or future measurements go in `tasks/record-todo.md` with source, condition, non-blocking reason, evidence, and promotion rule.
423- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in `tasks/recurring-todo.md` with cadence, owner/agent, next due, evidence path, and escalation conditions.
424- Do not put non-blocking records or recurring obligations in `tasks/todo.md` unless they have been explicitly promoted into current execution work.
425
426## Constraints
427
428- **Stay in problem space.** Do not propose features, architecture, UI, or technical solutions. That is `/spec-interview`'s job.
429- **Evidence-based.** Every claim in the ICP document must trace back to research evidence logged in `research/icp-search-log.md`. Do not fabricate personas from assumptions.
430- **In existing-project mode**, note misalignments between what's built and what the ICP research suggests, but do not prescribe fixes — that's `/mvp-gap`'s job.
431- **Primary ICP must use the canonical 9 top-level `##` sections** — downstream skills (`/spec-interview`, `/mvp-gap`, `/roadmap`, `/journey-map`, `/competitive-analysis`) parse these exact headers. The renamed sections (`Current Alternatives (User Perspective)`, `Stated Value Drivers`) replace the former `Market Landscape` and `Value Proposition` headers. Section 10 (`## Discovery & Evaluation Behavior`) is supplementary and does not affect downstream parsing.
432- **Section 10 captures behavioural signals only** — how personas find, evaluate, and choose solutions. Do not include GTM strategy, channel analysis, budget authority, procurement process, or pricing expectations — those belong in downstream skills (`/gtm`, `/monetization`, `/enterprise-icp`).
433- **WTP is evidence, not pricing strategy.** Capture budget ownership, paid alternatives, current spend/time-cost proxies, switching-cost tolerance, economic urgency, and price sensitivity cues only as segment-fit and urgency evidence. Do not convert WTP evidence into pricing recommendations, packaging, discounting, ARPA targets, or monetization strategy; route those raw signals to `/monetization`.
434- **Do not overwrite existing `research/icp.md`** without asking the user first.
435- **Minimum research depth**: at least 8 WebSearch queries before identifying ICP candidates, then at least 2–3 targeted queries per candidate.
436- **Present before writing.** Never write output files until findings have been presented to the user and validated through the checkpoint questions. The user must see and approve the analysis before anything is written to disk.
437
438## Alignment Page
439
440Follow the shared Alignment Page convention in CLAUDE.md. Output: `alignment/icp-{topic}.html`.
441
442## Default Shipping Contract
443
444Follow the shared shipping contract convention in CLAUDE.md.