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.
npx agentmods add commands/wei63w/pm-manager/reviewgit clone --depth 1 https://github.com/wei63w/pm-managerWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00019 | $0.00704 |
| Opus 5 | $0.00010 | $0.00352 |
| Sonnet 5 | $0.00004 | $0.00141 |
| Haiku 4.5 | $0.00002 | $0.00070 |
Grade A, and why
review 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 3d 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.
This is a copy
100% identical to pm-review — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
User Input
$ARGUMENTS
Accepted extra words: confirm REV-xxx | false_positive REV-xxx | later REV-xxx | annotate REV-xxx | --cross | --path=... | --verbose.
Outline
/pm-review 是可见的质量闭环。用户以中文交互时用中文回复。未确认不改业务代码。
A. New review (no disposition words)
- Require
.pm/。缺则建议/pm-init。 - 先跑
pm gate --path <root>与pm review --path <root>。读.pm/state/review-draft.md、guard.md。无 diff 则说 没有可评的变更 并停止,不许编造通过。 - 地图优先。加载
.pm/engineering/rules.md启用规则。对照旧/新行为。碰到risk_files必须打断并单独成行。 - 只润色或补合格行(
summary+reasoning+snippet+severity+file/line)。缺推理或片段禁止落盘。 - 建议再跑
pm review --cross,对照.pm/state/cross-review.md用另一套检查单(安全 vs 完成度/文档),禁止复制初评空话、禁止同一 snippet 再标 new。 - P0 打断。P1/P2 进报告。单测缺口只警告。
- 若当前仓库为 Vue:额外核对
v-html(XSS)与v-for缺:key;结论仍须推理链 + 片段。 - 请用户回复
confirm REV-xxx/false_positive REV-xxx/later REV-xxx。回填用pm review annotate REV-xxx(只写.pm/reviews/annotations/)。
B. Disposition
confirm→pm review confirm REV-xxx(或最新 unset)。仅合格行可进rules.md。false_positive→ 不进规范。later→ 待优化,留在表里。
C. After write
刷新总览待处置数。追加审计(含推理)。Closing:_closing.md 完整档。
Done When
- 无 diff 时说了没有可评的变更
- 每条落盘发现有推理 + 片段
- 仅 confirmed 进入 rules.md
- 回填未写入业务树
- 业务代码未改,除非用户另确认修复
Shared Workflow
Map-first. Redact snippets. Confirm-before-write. Design baseline: docs/prd.md + 宪章。
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.
- 3d ago First seen · 54 lines · 19 tokens per session scan A 0316ffd6c7e8
review is a command published in the GitHub repository wei63w/pm-manager (96 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 704 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pm-review, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
webperf
Run a web performance audit via the web-performance-auditor persona.
spec
Start spec-driven development — write a structured specification before writing code.
install
Add skills from GitHub repos, git URLs, or local paths.
audit-rules
Browse, enable, disable, and customize audit rules.
init
First-time setup. Auto-detects installed AI CLIs and configures targets.
search
Discover and install skills from GitHub repositories.