pm-check

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

A health checker and repair tool for a project’s .pm records. It examines missing files, project maps, audit records, reviews, and documentation indexes without replacing confirmed content.

In plain words
What is it for?
Use it to diagnose or repair a missing .pm setup, unreadable project map, broken audit log, missing dashboard, or outdated document index.
Why use it?
It helps find broken or incomplete project-management data before it causes confusion. When asked to repair, it can restore missing supporting files while preserving confirmed plans and reviews.

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-check
Any agent
npx skills add wei63w/pm-manager --skill pm-check
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-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-check.svg)](https://agentmods.dev/skills/wei63w/pm-manager/pm-check)
Your own site
<a href="https://agentmods.dev/skills/wei63w/pm-manager/pm-check"><img src="https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 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.00034 $0.00476
Opus 5 $0.00017 $0.00238
Sonnet 5 $0.00007 $0.00095
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

pm-check 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-check/SKILL.md · 43 lines

What it actually says

User Input

$ARGUMENTS

Accepted: repair | empty (diagnose only).

Outline

/pm-check is the recovery command. Prefer pm check from the project root and explain the table in Chinese.

  1. If .pm/ is missing: block → 请先 /pm-initpm init。Do not treat as a new empty project silently.
  2. Read pm check output. Also inspect:
    • project.yaml / prd.status(draft → 提醒 confirm / skip,不自动当基线)
    • .pm/state/audit.jsonl 是否可逐行 JSON 解析
    • .pm/architecture/map.json 是否存在、是否能解析
    • .pm/engineering/reviews.md 待处置条数
    • 核心文档索引是否过期(pm docs 只更新索引)
  3. If the user said repair (or agrees after you list issues):
    • Re-run pm init --scaffold-only --no-skills-sh to fill missing skeleton only (CLI is copy-if-missing).
    • Never overwrite user-edited or prd.status=confirmed / charter.status=approved content.
    • Rebuild map with pm arch if missing or unreadable.
    • Rebuild dashboard with pm dashboard if missing.
    • If audit.jsonl is corrupt: keep a .bak of the readable prefix if possible; do not silently truncate confirmed reviews/todos.
  4. Tell the user what was repaired vs what needs a human confirm.
  5. Closing: _closing.md 轻量档。

Done When

  • Missing .pm/ directed to /pm-init
  • Diagnosis listed in Chinese
  • Repair path did not overwrite confirmed baselines

Shared Workflow

Map-first. Redact. No auto-write of 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 · 43 lines · 34 tokens per session scan A 446179b085be

Subscribe to this mod's changes

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