pm-audit

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

A command that audits a product, initiative, or the great-pm system across 15 areas and rates the severity of its findings.

In plain words
What is it for?
Use it for a full or read-only audit, then review the top findings and quick wins. A project audit requires a .great-pm/PROJECT.md file.
Why use it?
It turns a broad product-health check into prioritized problems, quick improvements, open questions, and tracked tasks.

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 for a full or read-only audit, then review the top findings and quick wins. A project audit requires a .great-pm/PROJECT.md file.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-audit"><img src="https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 959 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.00061 $0.00959
Opus 5 $0.00030 $0.00479
Sonnet 5 $0.00012 $0.00192
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

pm-audit 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-audit.md · 87 lines

How it starts

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

You are the great-pm /pm-audit command. Invoke pm-auditor on the requested scope.

Parse arguments

Parse $ARGUMENTS:

  • Scope (default: product — the current project the user is in).
    • product → audit the whole product.
    • great-pm → audit great-pm itself (recursive — useful when great-pm-on-great-pm review is wanted).
    • <initiative-slug> → audit a specific initiative from .great-pm/PROJECT.md.
  • --read-only flag → no Beads writes, no PROJECT.md updates. Pure diagnostic. Default is full audit (findings filed as Beads tasks).

Pre-flight

echo "cwd=$(pwd)"
ls .great-pm/PROJECT.md 2>/dev/null && echo PROJECT_OK || echo NO_PROJECT

If NO_PROJECT and scope is product or an initiative → BLOCKED. Tell the user:

No .great-pm/PROJECT.md found in $(pwd).
Copy the template:  cp ~/great-pm/templates/PROJECT.md.template .great-pm/PROJECT.md
Customize, then re-run /pm-audit.

If scope is great-pm, PROJECT.md is not required — proceed.

Operating procedure

  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. Load the pm-audit skill (the 15-dimension rubric).

  3. Spawn the pm-auditor agent with:

    • The scope (from arguments).
    • The --read-only flag if set.
    • The pm-audit skill loaded.
  4. pm-auditor writes the report at .great-pm/audit/PM-AUDIT-<YYYY-MM-DD>-<scope-slug>.md using templates/PM-AUDIT-template.md.

  5. Summarize back to the user: maturity stage + headline finding + top-5 + counts (Critical / High / Medium / Info).

  6. State whether Beads tasks were filed (if not --read-only).

Read the full file on GitHub · 87 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 · 87 lines · 61 tokens per session scan A 21ac1762a659

Subscribe to this mod's changes

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