pp-edit

A natural-language editing command for Project Progress documentation. It finds a requested file, section, and change, then updates the matching project or subproject document.

In plain words
What is it for?
Use it to add, update, remove, or replace content in files such as `INDEX.md`, `TODO.md`, `STATUS.md`, and `CHANGELOG.md`.
Why use it?
It removes the need to locate documentation files and make small edits by hand.

Command

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 commands/unclecode/claude-code-tools/pp-edit
Clone the repo
git clone --depth 1 https://github.com/unclecode/claude-code-tools
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 820 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.00820
Opus 5 $0.00000 $0.00410
Sonnet 5 $0.00000 $0.00164
Haiku 4.5 $0.00000 $0.00082

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

Security

Grade A, and why

pp-edit 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 yesterday.

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.

plugins/unclecode-cc-toolkit/commands/pp-edit.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Edit Project Progress Files

Quick, natural language edits to project planning files.

Arguments

$ARGUMENTS

Query describing what to edit.

Purpose

Make direct edits to PP files using natural language without manually finding and editing files.

Execution Instructions

Step 1: Parse Edit Query

Extract from query:

  1. Target file (INDEX.md, WORKFLOW.md, PRINCIPLES.md, STATUS.md, TODO.md, etc.)
  2. Action (add, update, remove, change)
  3. Content (what to add/change/remove)
  4. Location (root or subproject)

Query patterns:

  • "add X to Y" → append content
  • "update X in Y to Z" → replace content
  • "remove X from Y" → delete content
  • "change X to Y" → replace content

Step 2: Identify File Location

Root files (in .context/project/):

  • INDEX.md
  • WORKFLOW.md
  • PRINCIPLES.md
  • LESSONS.md

Subproject files (in .context/project/{subproject}/):

  • STATUS.md
  • TODO.md
  • CHANGELOG.md
  • CODEBASE.md
  • LESSONS.md
  • PRINCIPLES.md (if exists)

If query doesn't specify subproject and file is subproject-level:

  • Read INDEX.md to get active subproject
  • Apply edit to active subproject's file

Step 3: Validate Target

Check if target file exists:

ls .context/project/{target_file}
# or
ls .context/project/{subproject}/{target_file}

If file doesn't exist, inform user and ask if they want to create it.

Step 4: Apply Edit

For "add" operations:

  • Append content to appropriate section
  • Maintain markdown formatting
  • Add to end of file or specific section if mentioned

For "update/change" operations:

  • Find existing content
  • Replace with new content
  • Preserve formatting

For "remove" operations:

  • Find and delete content
  • Clean up extra blank lines

Step 5: Confirm Changes

Show diff or summary:

## Edit Applied

**File**: .context/project/PRINCIPLES.md
**Action**: Added new principle

**Content added**:
> Always use TypeScript strict mode

**Location**: End of file

File updated successfully.

Read the full file on GitHub · 130 lines

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. yesterday First seen · 130 lines · 0 tokens per session scan A fad1956159e5

Subscribe to this mod's changes

pp-edit is a command published in the GitHub repository unclecode/claude-code-tools (4 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 820 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-31.