pp-checkpoint

pp-checkpoint is a command for Claude Code from unclecode/claude-code-tools. It costs 0 tokens per session (1,666 once invoked), scanned A, original, MIT.

A session-saving command that records the current chat state and prepares instructions for the next coding session. It can also include a specific question or priority in the next-session instructions.

In plain words
What is it for?
Use it before ending a session, when nearing a token limit, or when you want to preserve priorities such as fixing a particular bug or skipping a task.
Why use it?
It prevents important context and unfinished work from being lost when a session ends or approaches its limits. The next session can resume with a concise history and clear next steps.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/unclecode/devs/project.

Part of the unclecode-cc-toolkit plugin — 2 skills, 15 commands shipped together

Good fit Use it before ending a session, when nearing a token limit, or when you want to preserve priorities such as fixing a particular bug or skipping a task.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add unclecode/claude-code-tools
Claude Code
/plugin install unclecode-cc-toolkit

Made for: Claude Code.

Or install unclecode-cc-toolkit, the plugin that ships this one along with the rest of its 2 skills, 15 commands.

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 pp-checkpoint

README.md
[![agentmods](https://agentmods.dev/badge/commands/unclecode/claude-code-tools/pp-checkpoint/github.svg)](https://agentmods.dev/commands/unclecode/claude-code-tools/pp-checkpoint)
Your own site
<a href="https://agentmods.dev/commands/unclecode/claude-code-tools/pp-checkpoint"><img src="https://agentmods.dev/badge/commands/unclecode/claude-code-tools/pp-checkpoint/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 pp-checkpoint

Your own site · 80×15
<a href="https://agentmods.dev/commands/unclecode/claude-code-tools/pp-checkpoint"><img src="https://agentmods.dev/badge/commands/unclecode/claude-code-tools/pp-checkpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 1,666 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.00000 $0.01666
Opus 5.5 $0.00000 $0.00666
Sonnet 5.5 $0.00000 $0.00333
Haiku 4.5 $0.00000 $0.00167

Measured 1mo ago against content hash c5921a0c7045, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pp-checkpoint 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 1mo 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.

plugins/unclecode-cc-toolkit/commands/pp-checkpoint.md · 248 lines

How it starts

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

Save Session Checkpoint

Save current chat session state and prepare instructions for next session.

Arguments

$ARGUMENTS

Optional query to add extra guidance for the next session. This query will be incorporated into the "What To Do Next" section of NEXT.md.

Examples:

  • /pp-checkpoint focus on fixing the auth bug first
  • /pp-checkpoint user will provide new API docs tomorrow
  • /pp-checkpoint skip T260, move directly to T262

Purpose

Called at the end of a chat session (or before hitting token limits) to:

  1. Create compact summary of current session (history file)
  2. Save comprehensive "what to do next" instructions (NEXT.md)
  3. Optionally create AI-compressed dump of chat history
  4. Link to full chat transcript

Execution Instructions

Step 1: Identify Current Session

# Get current working directory
pwd

# Convert to Claude projects path
# Example: /Users/unclecode/devs/project
# Becomes: ~/.claude/projects/-Users-unclecode-devs-project/

# Find most recent .jsonl file (exclude agent-* files)
ls -lt ~/.claude/projects/-Users-unclecode-devs-{converted-path}/*.jsonl | grep -v "agent-" | head -1

# Extract UUID from filename
# Example: 530170ff-52f5-4ad6-a333-22a09bd64773.jsonl
# UUID: 530170ff-52f5-4ad6-a333-22a09bd64773

Step 2: Determine Active Subproject

Read .context/project/INDEX.md to identify active subproject.

Step 3: Ask User About Chat History Dump

ALWAYS ask the user:

Before saving checkpoint, do you want me to create a compressed dump of this chat session?

This will use AI to compress the full conversation into a readable summary (~5-10% of original size) that captures all important details, decisions, and code changes.

Options:
1. **Yes** - Create compressed dump (takes ~30-60 seconds)
2. **No** - Skip dump, just save checkpoint files

Note: The raw .jsonl transcript is always available for grep/search regardless.

If user says Yes:

  • Run the /compress-chat command on the current session
  • Save compressed output to .context/project/{active}/history/{uuid}-{YYYY-MM-DD}-dump.md

Read the full file on GitHub · 248 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. 1mo ago First seen · 248 lines · 0 tokens per session scan A c5921a0c7045

Subscribe to this mod's changes

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

Related

Other commands, from other repositories

setup-context

Set up your Skill Memory — a pm-context.md every skill reads so outputs come back tailored to you.

mohitagw15856/pm-claude-skills · 21 tokens

brain

Set up or use your Professional Brain — init, ingest, recall, or review.

mohitagw15856/pm-claude-skills · 17 tokens

pull-learnings

Pulls shared organization patterns into local org-patterns.toon.

closedloop-ai/claude-plugins · 12 tokens

perf-difficult-conversation

Three-conversations framework rehearsal (Stone/Patton/Heen — Harvard Negotiation Project) for high-stakes conversations — termination, demotion, hard feedback, conflict surfacing. Produces three-conversations breakdown (what-happened / feelings / identity), conversation script with multiple opening choices, SCARF…

frankxai/Starlight-Intelligence-System · 93 tokens

culture-onboarding-90

Design a 90-day onboarding architecture for a role. First day (psychological safety + belonging activation), first week (relationship + role context + early wins), first month (skill ramp + integration + baseline), first quarter (autonomous performance + cultural integration check). Written-first elements for…

frankxai/Starlight-Intelligence-System · 101 tokens

reclaim-knowledge

Organize scattered professional material into a domain-based second-brain architecture. Maps existing sources (Canva, Drive, local folders, Notion, screenshots) to functional domains. Non-technical-friendly — produces folder structure + drag-and-drop instructions, not CLI commands.

frankxai/Starlight-Intelligence-System · 58 tokens