checkup-simplify

A workflow for making small, careful improvements to source files that have already been changed. It focuses on clearer code, simpler control flow, and consistent style while preserving behavior.

In plain words
What is it for?
Cleaning up files from a Git diff, removing dead code, simplifying logic, and checking the result without expanding the scope of the changes.
Why use it?
It removes unnecessary complexity from a bounded diff without turning a cleanup into a large redesign or changing uncertain behavior.

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/promptdriven/pdd/checkup-simplify
Any agent
npx skills add promptdriven/pdd --skill checkup-simplify
Clone the repo
git clone --depth 1 https://github.com/promptdriven/pdd

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 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.00000 $0.00471
Opus 5 $0.00000 $0.00235
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

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

Security

Grade A, and why

checkup-simplify 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 3d 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.

docs/skills/checkup-simplify/SKILL.md · 43 lines

What it actually says

Checkup simplify (multi-provider workflow)

Use this skill when the user asks for conservative cleanup of already changed source files, similar to Claude Code /simplify, but the active agent may be Cursor, Codex, Gemini, or OpenCode.

When to use

  • User mentions pdd checkup simplify, /simplify, or wants a verified, conservative cleanup of a bounded file set from a git diff.
  • User wants parity with PDD's simplify selection rules without running the full CLI.

When not to use

  • Greenfield feature work or large refactors across the repo.
  • Replacing pdd checkup PR review loops or contract/coverage gates.

Workflow

  1. Establish scope — Only files the user (or PDD) listed. Ask if the allowlist is unclear.
  2. Read the diff — Understand what already changed; simplify that, do not redesign.
  3. Three passes — Quality (dead code, clarity), efficiency (control flow), consistency (style).
  4. Edit minimally — Prefer the candidate touching the fewest files that still improves the code.
  5. Preserve behavior — Do not change semantics without tests; skip uncertain edits.
  6. Summarize — List files touched and what you intentionally skipped.

PDD parity rules (if emulating pdd checkup simplify)

  • Reject / refuse out-of-scope file edits.
  • With multiple attempts, only claim success when configured verification would pass.
  • For --staged workflows, never overwrite unstaged content on the same paths.
  • Load [tool.pdd.checkup.simplify] from the repository root, not the current subdirectory.

Provider notes

  • Claude Code — Production path uses /simplify via pdd checkup simplify --apply.
  • Codex / Gemini / OpenCode — Use the matching pdd/prompts/checkup_simplify_invoke_*_LLM.prompt asset as the invocation template until PDD wires them in code.

Reference prompts in repo

  • pdd/prompts/checkup_simplify_workflow_LLM.prompt
  • docs/checkup_simplify_providers.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. 3d ago First seen · 43 lines · 0 tokens per session scan A fd349a61396c

Subscribe to this mod's changes

checkup-simplify is a skill published in the GitHub repository promptdriven/pdd (861 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 471 tokens. 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