pp-resume

A command that starts a new chat with the project's saved notes and current work status loaded.

In plain words
What is it for?
Use it when resuming work on a project, optionally focusing the session on a particular direction or task.
Why use it?
It avoids manually reconstructing the project's structure, rules, decisions, and unfinished tasks at the start of each session.

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-resume
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 776 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.00776
Opus 5 $0.00000 $0.00388
Sonnet 5 $0.00000 $0.00155
Haiku 4.5 $0.00000 $0.00078

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

Security

Grade A, and why

pp-resume 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-resume.md · 124 lines

How it starts

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

Resume Project Session

Start a new chat session with full project context loaded.

Arguments

$ARGUMENTS

Purpose

This is the FIRST command to run when starting a new chat session. It:

  1. Loads all project context into memory
  2. Understands current state
  3. Prepares to continue work
  4. Optionally focuses on specific direction from query

Execution Instructions

Step 1: Verify Project Exists

ls .context/project/INDEX.md

If not found, inform user: "No project structure found. Run /pp-init first."

Step 2: Read Root Context

Read these files in order:

  1. .context/project/INDEX.md - Project overview, subprojects, active subproject, high-level status
  2. .context/project/WORKFLOW.md - How this system works
  3. .context/project/PRINCIPLES.md - Methodology and rules
  4. .context/project/LESSONS.md - Past learnings

Step 3: Read Active Subproject Context

From INDEX.md, identify active subproject, then read:

  1. .context/project/{active}/STATUS.md
  2. .context/project/{active}/TODO.md
  3. .context/project/{active}/CODEBASE.md
  4. .context/project/{active}/LESSONS.md
  5. .context/project/{active}/PRINCIPLES.md (if exists - overrides root)

Step 4: Read Recent Changes

Read last 3-5 entries from:

  • .context/project/{active}/CHANGELOG.md

Step 5: Process Optional Query

If query provided:

  • Parse for direction (e.g., "continue booking flow", "fix the API bug")
  • Focus context on relevant TODO items
  • Identify relevant LESSONS if debugging

Step 6: Check for Next Session Instructions (NEW)

After loading all standard files, check for continuation instructions:

ls .context/project/{active}/NEXT.md

If NEXT.md exists:

  1. Read .context/project/{active}/NEXT.md
  2. Extract history file path from NEXT.md
  3. Read that history file for previous session context
  4. Note the full chat transcript path (but DO NOT load it)

If NEXT.md does NOT exist:

  • Skip this step, proceed to summary

Step 7: Generate Resume Summary

Read the full file on GitHub · 124 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 · 124 lines · 0 tokens per session scan A bdc5c5fdaf15

Subscribe to this mod's changes

pp-resume 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 776 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.