planmode

planmode is a skill for Claude Code from ZeroMadLife/sage-agent. It costs 13 tokens per session (174 once invoked), scanned A, original, MIT.

A planning-mode workflow that makes the coding agent design and submit a plan before changing files.

In plain words
What is it for?
Use it to plan coding tasks, inspect the existing project structure, record the plan in a file, and wait for approval before execution.
Why use it?
It reduces rushed implementation by making the goal, steps, affected files, and risks explicit for review first.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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/zeromadlife/sage-agent/planmode
Any agent
npx skills add ZeroMadLife/sage-agent --skill planmode
Clone the repo
git clone --depth 1 https://github.com/ZeroMadLife/sage-agent

Made for: Claude Code.

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 planmode

README.md
[![agentmods](https://agentmods.dev/badge/skills/zeromadlife/sage-agent/planmode.svg)](https://agentmods.dev/skills/zeromadlife/sage-agent/planmode)
Your own site
<a href="https://agentmods.dev/skills/zeromadlife/sage-agent/planmode"><img src="https://agentmods.dev/badge/skills/zeromadlife/sage-agent/planmode.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 174 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.1 $0.00013 $0.00174
Opus 5 $0.00006 $0.00087
Sonnet 5 $0.00003 $0.00035
Haiku 4.5 $0.00001 $0.00017

Measured 6d ago against content hash ed8f5a6c2562, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

planmode 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 6d 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.

core/coding/skills/bundled/planmode/SKILL.md · 19 lines

What it actually says

进入计划模式,为以下任务制定详细方案:

$ARGUMENTS

请按以下步骤操作:

  1. 如 enter_plan_mode 工具不可用,先调用 tool_search 激活它
  2. 调用 enter_plan_mode 工具进入计划模式,topic 为上述任务描述
  3. 在计划模式下,阅读相关代码文件,理解现有架构
  4. 将计划写入 plan 文件(.coding/plans/ 目录下)
  5. 计划应包含:目标、步骤、涉及文件、风险评估
  6. 调用 exit_plan_mode 提交计划等待用户审批
  7. 用户审批后,按计划执行
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. 6d ago First seen · 19 lines · 13 tokens per session scan A ed8f5a6c2562

Subscribe to this mod's changes

planmode is a skill published in the GitHub repository ZeroMadLife/sage-agent (10 stars, last pushed 11d ago), licensed MIT. It adds 13 tokens to every session and 174 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-31.