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/journalgit 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.00020 | $0.00526 |
| Opus 5 | $0.00010 | $0.00263 |
| Sonnet 5 | $0.00004 | $0.00105 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
journal 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.
This is a copy
100% identical to pm-journal — 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: empty | a short session note | --kind consult|code|fix|docs|refactor | file paths the user actually named.
Outline
/pm-journal 只管开发记录与意图。用户以中文交互时用中文回复。不监听后台对话;按需落盘。未确认不改业务代码。
- Require
.pm/。缺则建议/pm-init。 - 先读
.pm/state/session.json、timeline.md、suggestions.md、dialogue.md与map.json。禁止为找记录做无过滤全库递归。 - 若用户描述了本轮在做什么、贴了对话、或点名了文件:运行
pm log --kind … --intent "…" --file <用户点名的路径> "脱敏摘录"
不可判断就让 CLI 标unresolved,禁止编造文件列表。 - 运行
pm journal,刷新并打开:.pm/state/dialogue.md对话落盘.pm/state/session.json本轮意图.pm/state/changes.md变更点.pm/state/timeline.md迭代时间线.pm/state/suggestions.md优化建议
- 中文汇报:场景(咨询/代码/修复/重构/文档)、目标、变更文件、P0/P1 建议、时间线最近几条。建议只提示,不自动建待办、不改业务树。
- Closing:
_closing.md轻量档。指向已存在的 timeline / suggestions / dialogue。
Done When
- 对话已脱敏落盘(或明确无需新笔记)
- 时间线与建议已刷新
- 未编造文件;无秘密原文
Shared Workflow
On-demand only. Map-first. Redact before write. Confirm-before-write for app code. 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.
- 2d ago First seen · 45 lines · 20 tokens per session scan A 66747e1b1a79
journal is a command published in the GitHub repository wei63w/pm-manager (96 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 526 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-journal, 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.
project
Manage projects: register repos, inspect, configure per-project settings, and remove.
install
Add skills from GitHub repos, git URLs, or local paths.
audit-rules
Browse, enable, disable, and customize audit rules.
search
Discover and install skills from GitHub repositories.