_closing

A set of closing rules for project-management commands that change the .pm/ project-management folder. It controls the language of summaries and links shown in the final response.

In plain words
What is it for?
Use it when finishing commands such as initialization, scans, architecture reports, exports, reviews, status checks, and task updates.
Why use it?
It keeps replies consistent and avoids sending users to files that were not actually created.

Command

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.

agentmods
npx agentmods add commands/wei63w/pm-manager/_closing
Clone the repo
git clone --depth 1 https://github.com/wei63w/pm-manager
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00410
Opus 5 $0.00000 $0.00205
Sonnet 5 $0.00000 $0.00082
Haiku 4.5 $0.00000 $0.00041

Measured 2d ago against content hash c1baf2e99553, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

skills/pm-manager/templates/commands/_closing.md · 37 lines

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`

没有的文件不要列。明确请用户打开上面还在的链接。不要只写「完成」而不给路径。

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. 2d ago First seen · 37 lines · 0 tokens per session scan A c1baf2e99553

Subscribe to this mod's changes

_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.