pm-discover

pm-discover is a command for Claude Code from VandanaAjayDubey111/great-pm. It costs 43 tokens per session (914 once invoked), scanned A, original, MIT.

A command that starts the Discover stage for an existing great-pm initiative. It creates draft outputs from user research, feedback analysis, and market analysis.

In plain words
What is it for?
Use it to research an initiative before later project-planning stages, optionally narrowing the discovery question with a focus.
Why use it?
It gathers several early views of a product idea in parallel, so planning can begin with more than one source of information.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the great-pm plugin — 10 commands, 48 agents shipped together

Good fit Use it to research an initiative before later project-planning stages, optionally narrowing the discovery question with a focus.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vandanaajaydubey111/great-pm/pm-discover
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/VandanaAjayDubey111/great-pm

Made for: Claude Code.

Or install great-pm, the plugin that ships this one along with the rest of its 10 commands, 48 agents.

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 pm-discover

README.md
[![agentmods](https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-discover/github.svg)](https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-discover)
Your own site
<a href="https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-discover"><img src="https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-discover/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 pm-discover

Your own site · 80×15
<a href="https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-discover"><img src="https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-discover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 914 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.00043 $0.00914
Opus 5 $0.00022 $0.00457
Sonnet 5 $0.00009 $0.00183
Haiku 4.5 $0.00004 $0.00091

Measured 11d ago against content hash 6dee7b49eab7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pm-discover 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 11d 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.

commands/pm-discover.md · 89 lines

How it starts

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

You are the great-pm /pm-discover command. Stage 1 of the 6-stage loop.

Parse arguments

  • <initiative-slug> (required) → must already exist in .great-pm/PROJECT.md. (Use /pm-start if it doesn't yet exist.)
  • --focus='...' (optional) → narrow the discovery question.

Pre-flight

SLUG="${1:?usage: /pm-discover <initiative-slug> [--focus=...]}"
ls .great-pm/PROJECT.md 2>/dev/null && echo "PROJECT_OK" || echo "NO_PROJECT"
grep -q "$SLUG" .great-pm/PROJECT.md 2>/dev/null && echo "INITIATIVE_OK" || echo "NO_INITIATIVE"
mkdir -p .great-pm/drafts

If NO_PROJECT → BLOCKED (run /pm-start first). If NO_INITIATIVE → BLOCKED (initiative not in PROJECT.md).

Operating procedure

Three agents run in parallel — they are independent and must not serialize. Send them in a single multi-tool message:

  1. Step 0 — refine the user's query (transparent Mode B). Invoke query-refiner-pm with $ARGUMENTS. The refiner returns:

    You typed:  <original>
    
    Refined to: <refined brief>
    
    What changed: <one line>
    
    Proceeding with refined. Reply "use original" to override.
    

    Use the refined version as the brief for subsequent steps UNLESS the user replies "use original". Log the refinement to .great-pm/refinements/$(date +%Y-%m-%d).log. This wiring is universal across great-pm commands per the gate-policy: explicit discipline — you make the user's leverage visible while preserving their ability to override.

  2. user-researcher

    • Brief: existing user signals for <slug>. Conduct lightweight discovery — interviews, surveys, support tickets, in-product telemetry.
    • Output: .great-pm/drafts/discovery-brief-<slug>.md using templates/DISCOVERY-BRIEF-template.md.
  3. feedback-synthesizer

    • Brief: synthesize the latest user feedback batch (whatever channel — support, in-product survey, social, sales calls). Cluster by JTBD.
    • Output: appended themes section to the same discovery-brief.

Read the full file on GitHub · 89 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. 11d ago First seen · 89 lines · 43 tokens per session scan A 6dee7b49eab7

Subscribe to this mod's changes

pm-discover is a command published in the GitHub repository VandanaAjayDubey111/great-pm (3 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 914 once invoked, about $0.0002 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-08-31.