journal

journal is a command for Claude Code from wei63w/pm-manager. It costs 20 tokens per session (526 once invoked), scanned A, a copy of pm-journal, MIT.

A session journaling command for recording development intent, changes, conversation notes, timelines, and improvement suggestions. It stores these records in a project's .pm folder.

In plain words
What is it for?
Use it to log a session, refresh project-management journal files, record named files, and review recent changes or optimization suggestions.
Why use it?
It keeps a trace of what was discussed and changed without automatically modifying the application's business code.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to log a session, refresh project-management journal files, record named files, and review recent changes or optimization suggestions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wei63w/pm-manager/journal
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/wei63w/pm-manager

Made for: Claude Code.

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 journal

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/wei63w/pm-manager/journal"><img src="https://agentmods.dev/badge/commands/wei63w/pm-manager/journal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 526 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 100% copy Near-identical to another mod 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.00020 $0.00526
Opus 5.5 $0.00008 $0.00210
Sonnet 5.5 $0.00004 $0.00105
Haiku 4.5 $0.00002 $0.00053

Measured 3mo ago against content hash 66747e1b1a79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3mo 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.

Origin

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.

skills/pm-manager/templates/commands/journal.md · 45 lines

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 只管开发记录与意图。用户以中文交互时用中文回复。不监听后台对话;按需落盘。未确认不改业务代码。

  1. Require .pm/。缺则建议 /pm-init。
  2. 先读 .pm/state/session.json、timeline.md、suggestions.md、dialogue.md 与 map.json。禁止为找记录做无过滤全库递归。
  3. 若用户描述了本轮在做什么、贴了对话、或点名了文件:运行
    pm log --kind … --intent "…" --file <用户点名的路径> "脱敏摘录"
    不可判断就让 CLI 标 unresolved,禁止编造文件列表。
  4. 运行 pm journal,刷新并打开:
    • .pm/state/dialogue.md 对话落盘
    • .pm/state/session.json 本轮意图
    • .pm/state/changes.md 变更点
    • .pm/state/timeline.md 迭代时间线
    • .pm/state/suggestions.md 优化建议
  5. 中文汇报:场景(咨询/代码/修复/重构/文档)、目标、变更文件、P0/P1 建议、时间线最近几条。建议只提示,不自动建待办、不改业务树。
  6. 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 + 宪章。

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. 3mo ago First seen · 45 lines · 20 tokens per session scan A 66747e1b1a79

Subscribe to this mod's changes

journal is a command published in the GitHub repository wei63w/pm-manager (90 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 526 once invoked, about $0.0001 per session on Opus 5.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.

Related

journal compared with commands from other repositories

journal next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
journalwei63w/pm-managerCommand903mo agoMITA20Claude Code
webperfaddyosmani/agent-skillsCommand121k6d agoMITA13Claude Code
specaddyosmani/agent-skillsCommand121k6d agoMITA12Claude Code
constraintsvinvcn/addyosmani-agent-skills-zhCommand571mo agoMITA20Claude Code
reviewvinvcn/addyosmani-agent-skills-zhCommand571mo agoMITA16Claude Code
OPSX: ProposeZhaoYis/My-SkillsCommand21mo agononeA21Claude Code
debugPixel-Process-UG/superkit-agentsCommand48mo agoMITA9Claude Code