/clp:clp-planfrom clp
Plan a task with context budget awareness. Breaks work into context-sized chunks, estimates token cost per phase, and suggests when to checkpoint or use subagents. This skill should be used before starting any non-trivial task, when the user asks to "plan this", "estimate tokens", or "break this into phases".
Ships in clp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
<planning_steps> Check current context utilization with /clp:status. Calculate available working tokens for this task.
Break the task into phases that each fit within a single context window. Each phase should be independently completable — if compaction fires between phases, the handoff manifest should be sufficient to continue. Which phases involve heavy file reading or exploration? These should be delegated to subagents to keep the main context clean. Mark these as "subagent: true" in the plan. For each phase, estimate token cost: - File reads: ~100 tokens per KB of source code - Tool outputs: ~500-2000 tokens per bash command - Conversation: ~200 tokens per turn (user + assistant) - Skill loading: check estimated_tokens in skill-registry.json Insert /clp:checkpoint calls at natural breakpoints: - After each phase completes - Before any phase that might trigger compaction - Before switching from planning to implementation<plan_format>
Available budget: [X]k tokens remaining Estimated total cost: [Y]k tokens Phases: [N] | Checkpoints: [M] | Subagent tasks: [P]
...
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ryannle1/clp --plugin clp7 skills in this plugin
/clp-checkpointSave a structured checkpoint of the current working state. This skill should be used before compacting, before switching tasks, at natural breakpoints, or to preserve decisions and progress. It enriches the handoff manifest with the actual understanding of the session state./clp-doctorDiagnose and validate the CLP installation. Checks directory structure, configuration files, hook wiring, skill registry, and context optimization. This skill should be used when something seems wrong, after initial setup, or to audit the installation./clp-handoffGenerate or restore a session handoff. This skill should be used when starting a new session, transferring work to another developer, resuming after compaction, or preparing to hand off work. Supports both creating handoffs and loading existing ones.Other plugins' skills for the same job