pm-journal

pm-journal is a skill for Claude Code, Codex from wei63w/pm-manager. It costs 24 tokens per session (533 once invoked), scanned A, original, MIT.

A session journal for software projects that records what you intended to do, what changed, and what to improve next. It stores these notes in a project’s .pm folder.

In plain words
What is it for?
Use it to log a coding, fixing, refactoring, documentation, or consultation session, refresh the project timeline, and review optimization suggestions.
Why use it?
It prevents development decisions and progress from being lost between sessions. It also reduces the risk of recording secrets or claiming that files changed when they did not.

Skill for Claude CodeCodex

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 skills/wei63w/pm-manager/pm-journal
Any agent
npx skills add wei63w/pm-manager --skill pm-journal
Clone the repo
git clone --depth 1 https://github.com/wei63w/pm-manager

Made for: Claude Code, Codex.

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 pm-journal

README.md
[![agentmods](https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-journal.svg)](https://agentmods.dev/skills/wei63w/pm-manager/pm-journal)
Your own site
<a href="https://agentmods.dev/skills/wei63w/pm-manager/pm-journal"><img src="https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-journal.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 533 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.00024 $0.00533
Opus 5 $0.00012 $0.00267
Sonnet 5 $0.00005 $0.00107
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

pm-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 5d 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.

adapters/cursor/skills/pm-journal/SKILL.md · 46 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.jsontimeline.mdsuggestions.mddialogue.mdmap.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. 5d ago First seen · 46 lines · 24 tokens per session scan A 617584f7aeee

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

test-driven-development

Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

addyosmani/agent-skills · 50 tokens

documentation-and-adrs

Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

addyosmani/agent-skills · 43 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

skillshare-update-docs

Update website docs to match recent code changes, cross-validating every flag against source. Use this skill whenever the user asks to: update documentation, sync docs with code, document a new flag or command, fix stale docs, or update the README. This skill covers all website/docs/ categories (commands, reference…

runkids/skillshare · 123 tokens