pp-migrate

A migration command that reorganizes an existing project’s scattered Markdown files and documentation into the `.context/project/` Project Progress structure. It scans the codebase and documents, identifies subprojects, and can move files into suitable locations.

In plain words
What is it for?
Use it when adopting Project Progress in an established project, especially when documentation is spread across multiple folders or the project has several modules.
Why use it?
It turns an informal collection of notes and project files into a consistent structure while preserving useful existing information.

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-migrate
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 1,138 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.01138
Opus 5 $0.00000 $0.00569
Sonnet 5 $0.00000 $0.00228
Haiku 4.5 $0.00000 $0.00114

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

Security

Grade A, and why

pp-migrate 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-migrate.md · 176 lines

How it starts

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

Migrate Existing Project to Project Planning Structure

Convert an existing project (with scattered markdown/docs) to use .context/project/ structure.

Note: For small projects needing only one subproject, use the name "main" as the default.

Arguments

$ARGUMENTS

Overview

This command:

  1. Launches explorer agents to scan and understand your project
  2. Discovers existing markdown files, subprojects, and current state
  3. Creates .context/project/ structure with pre-filled content
  4. Optionally moves existing files to proper locations

Execution Instructions

Step 1: Initial Scan with Explorer Agents

Launch 5 parallel explorer agents to gather project information:

Agent 1: Markdown Discovery

Find all markdown files in the project. For each file:
- Path
- Title/purpose (from content)
- Type: documentation, decision log, notes, readme, spec, etc.
Report as structured list.

Agent 2: Project Structure Analysis

Analyze the codebase structure:
- Main directories and their purposes
- Identify potential subprojects/modules (e.g., frontend/, backend/, api/)
- Key technologies used
- Entry points and main files
Report the logical structure.

Agent 3: Current State Discovery

Find indicators of current project state:
- TODOs in code comments
- README status sections
- Any existing tracking files
- Recent git commits (last 10) for context
- Package.json, requirements.txt, etc. for dependencies
Report what's working, what's in progress.

Agent 4: Configuration & Environment

Find configuration details:
- Environment files (.env.example, config files)
- Build/deployment configs
- API endpoints or external services
- Database schemas if present
Report environment setup.

Agent 5: Documentation Quality

Assess existing documentation:
- Is there a main README?
- API docs?
- Architecture docs?
- Are docs up to date or stale?
Report documentation gaps and strengths.

Step 2: Synthesize Findings

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

Subscribe to this mod's changes

pp-migrate 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 1,138 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.