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/_closinggit 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.00000 | $0.00410 |
| Opus 5 | $0.00000 | $0.00205 |
| Sonnet 5 | $0.00000 | $0.00082 |
| Haiku 4.5 | $0.00000 | $0.00041 |
Grade A, and why
_closing 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 2d 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.
What it actually says
收尾输出(按命令分级)
会改 .pm/ 的 /pm-* 回复必须有一句中文摘要。链接只列已经存在的文件,不要指向还没生成的路径。
用户以中文交互时,摘要、待办、评审、报告必须中文。命令名保持 /pm-*。
轻量(/pm-status / /pm-next / /pm-done / /pm-fix / /pm-check)
最多 1–2 个有效链接:
## 摘要
- <一句健康 / 刚发生了什么>
- <未关闭阻断+高优先级待办条数;正文不用三条上限>
## 打开这些(若文件存在)
- 总览: `.pm/state/overview.md`
- 看板(仅当 `.pm/dashboard/index.html` 已存在): `.pm/dashboard/index.html`
完整(/pm-init 确认或跳过之后 / /pm-all / /pm-arch / /pm-export / /pm-review)
## 摘要
- <一句健康 / 本轮改了什么>
- <未关闭阻断+高优先级待办条数,正文列出,无三条上限>
## 打开这些(只列已生成的)
- 治理看板(浏览器): `.pm/dashboard/index.html`
- 治理看板(IDE): `.pm/dashboard/overview.md`
- 架构与地图: `.pm/architecture/overview.md`
- 总览 / 待办: `.pm/state/overview.md`
- PRD(草稿或已确认): `.pm/prd/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.
- 2d ago First seen · 37 lines · 0 tokens per session scan A c1baf2e99553
_closing is a command published in the GitHub repository wei63w/pm-manager (96 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 410 tokens. 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-30.
Other commands, from other repositories
spec
Start spec-driven development — write a structured specification before writing code.
project
Manage projects: register repos, inspect, configure per-project settings, and remove.
init
First-time setup. Auto-detects installed AI CLIs and configures targets.
commit
Create a local git commit for source skills without pushing.
completion
Generate and install shell completion scripts for tab-completion of commands, subcommands, and flags.
tfw-handoff
TFW Handoff — executor onboarding, implementation, RF.