ppm-close

ppm-close is a command for Claude Code from miyatti777/ai-plc. It costs 98 tokens per session (535 once invoked), scanned A, original, MIT.

An end-of-day command that reviews a day’s planned tasks, records what happened, and decides what to do with unfinished work. It asks for approval before writing the review and updating task statuses.

In plain words
What is it for?
Use it to calculate completion, write a short reflection, mark tasks as carried over, return them to a task list, or drop them, and prepare for the next day.
Why use it?
It provides a consistent way to close the day instead of leaving unfinished tasks and urgent items unclear. It separates planned work from other completed work.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to calculate completion, write a short reflection, mark tasks as carried over, return them to a task list, or drop them, and prepare for the next day.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/miyatti777/ai-plc/ppm-close
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/miyatti777/ai-plc

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 ppm-close

README.md
[![agentmods](https://agentmods.dev/badge/commands/miyatti777/ai-plc/ppm-close/github.svg)](https://agentmods.dev/commands/miyatti777/ai-plc/ppm-close)
Your own site
<a href="https://agentmods.dev/commands/miyatti777/ai-plc/ppm-close"><img src="https://agentmods.dev/badge/commands/miyatti777/ai-plc/ppm-close/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 ppm-close

Your own site · 80×15
<a href="https://agentmods.dev/commands/miyatti777/ai-plc/ppm-close"><img src="https://agentmods.dev/badge/commands/miyatti777/ai-plc/ppm-close.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 535 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 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.1 $0.00098 $0.00535
Opus 5.5 $0.00039 $0.00214
Sonnet 5.5 $0.00020 $0.00107
Haiku 4.5 $0.00010 $0.00053

Measured 5d ago against content hash 0798fc83a501, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ppm-close 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.

claude/commands/ppm-close.md · 17 lines

What it actually says

Read the skill at .claude/skills/ppm-close/SKILL.md and execute it.

Target date: $ARGUMENTS(省略時は今日)

Steps:

  1. Run date +%Y-%m-%d alone. Read the day's WillDo with python3 .claude/skills/ppm/ppm_files.py willdo --date <day>; if missing, stop and point to /ppm-plan.
  2. Count total / done / carried / rate (the day's diary 緊急 rows are listed separately, outside the rate). Re-collect today's completions at this point (Layer tasks are found only when they have completed_at; ask the user for the rest).
  3. Draft FUN / DONE / DONE(WillDo外) / LEARN, ask for 満足度, and propose a disposition for each unfinished row and each open 緊急 row (carry over / back to the TODO list / drop — dropping always needs the user's yes; unfinished Daily rows get no mark unless the user wants them tomorrow). Rewrite rows to be carried or sent back. Show all of it in ONE message and STOP.
  4. After OK, in the same turn: write the 振り返り into the WillDo, append the mark ( → 繰り越し, → 繰り越し: <rewritten row>, → TODO へ, → やめた) to the end of each decided row (keep - [ ]), and add rows sent back into the TODO list's misc section. Do NOT write carried rows into the next day's diary (ppm-plan reads the marks).
  5. Then run the ppm-plan steps for the next day (its own OK). Do not rewrite the TODO list's in-progress rows; point to /ppm-todo if it is installed.
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 · 17 lines · 98 tokens per session scan A 0798fc83a501

Subscribe to this mod's changes

ppm-close is a command published in the GitHub repository miyatti777/ai-plc (54 stars, last pushed 2d ago), licensed MIT. It adds 98 tokens to every session and 535 once invoked, about $0.0004 per session on Opus 5.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-11-26.

Related

ppm-close compared with commands from other repositories

ppm-close next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ppm-closemiyatti777/ai-plcCommand542d agoMITA98Claude Code
cancel-ralphanthropics/claude-plugins-officialCommand49ktodayApache-2.0A4Claude Code
wsdanielmiessler/LifeOSCommand21k12d agoMITA0Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand4321mo agoMITA11Claude Code
promote-lessonskumaran-is/claude-code-onboardingCommand37todayMITA25Claude Code
focusData-Wise/claude-pluginsCommand7todayMITA0Claude Code
stuckData-Wise/claude-pluginsCommand7todayMITA0Claude Code