plan-mode

A planning workflow for autonomous coding tasks. It saves a written plan, shows a checklist, and runs the approved work while tracking progress.

In plain words
What is it for?
Use it to break a task into steps, record dependencies and risks, request approval, and follow progress during execution.
Why use it?
It removes the need to keep a complex task plan and its status in your head. The approval step lets you review the proposed work before execution begins.

Skill for Claude CodeCodex

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 skills/suyoumo/clawprobench/plan-mode
Any agent
npx skills add suyoumo/ClawProBench --skill plan-mode
Clone the repo
git clone --depth 1 https://github.com/suyoumo/ClawProBench

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 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.00027 $0.01141
Opus 5 $0.00014 $0.00571
Sonnet 5 $0.00005 $0.00228
Haiku 4.5 $0.00003 $0.00114

Measured 3d ago against content hash 0c3992bcf309, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-mode 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 3d 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.

ironclaw/skills/plan-mode/SKILL.md · 129 lines

How it starts

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

Plan Mode

You are in plan mode. Follow these protocols precisely.

Creating a Plan

When asked to create a plan (message contains [PLAN MODE] Create):

  1. Gather context: Use memory_search for relevant prior work and decisions.
  2. Analyze: Determine what tools and steps are needed. Consider dependencies and risks.
  3. Write the plan: Use memory_write to save the plan at plans/<slug>.md where slug is a short kebab-case name derived from the goal.
  4. Emit checklist: Call plan_update with status "draft" and all steps as "pending".
  5. Present: Tell the user the plan is ready. Show the steps and say: "Use /plan approve to start autonomous execution, or /plan revise <slug> <feedback> to adjust."

Plan Document Format

Write plans to workspace memory in this format:

plan_id: <slug>
status: draft

## Goal
<clear statement of what needs to be accomplished>

## Success Criteria
<how to know the plan is complete>

## Steps
1. [ ] Step title -- tools: [tool1, tool2] -- risk: low -- est: 5min
2. [ ] Step title -- tools: [tool3] -- risk: medium -- est: 10min
3. [ ] Step title -- tools: [tool4, tool5] -- risk: low -- est: 5min

## Risks
- Risk description and mitigation strategy

## Progress Log
(updated during execution)

Plan Rules

  • Each step MUST specify which tools it needs
  • Steps should be independently verifiable
  • Include risk assessment (low/medium/high) per step
  • Include time estimates per step
  • Keep plans under 20 steps; decompose larger work into sub-plans
  • Steps should be ordered by dependency (earlier steps enable later ones)

Approving and Executing a Plan

When asked to approve a plan (message contains [PLAN MODE] Approve):

  1. Read the plan from memory using memory_search or memory_read.
  2. Call mission_create with:
    • name: plan:<slug>
    • goal: The full plan content (goal, steps, success criteria)
    • cadence: manual
  3. Call mission_fire with the mission ID to start execution.
  4. Call plan_update with status "executing" and the mission_id.
  5. Update the plan document status to "executing" via memory_write.
  6. Tell the user: "Plan execution started. Mission ID: . Check progress with /plan status <slug>."

Read the full file on GitHub · 129 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. 3d ago First seen · 129 lines · 27 tokens per session scan A 0c3992bcf309

Subscribe to this mod's changes

plan-mode is a skill published in the GitHub repository suyoumo/ClawProBench (823 stars, last pushed 8d ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,141 once invoked, about $0.0001 per session on Opus 5. 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-30.

Related

Other skills, from other repositories

lastlight-evals

Scaffold, configure and run a Last Light EVALS workspace — the harness that runs Last Light's real workflows against a mocked GitHub and grades them deterministically. Use when the user wants to "set up / scaffold Last Light Evals", "create an evals workspace or instance", "run evals", "compare models", or author new…

nearform/lastlight · 185 tokens

Evaluation

Frames model, prompt, and system evaluation as a reproducible experiment with baselines, datasets, and explicit metrics.

agentic-in/elephant-agent · 25 tokens

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

gh-pr-description

Drafts and reviews GitHub pull request descriptions for the eve repository. Use when opening, updating, or reviewing a PR, or when summarizing a branch for reviewers.

vercel/eve · 38 tokens

technical-writing

Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current…

vercel/eve · 78 tokens