plan-do

An execution command that follows the current implementation plan, including coding and review.

In plain words
What is it for?
It locates and validates `PLANNER_EXECUTION.md`, checks that it is current before work begins, then carries out the planned implementation and review.
Why use it?
It stops work when the required plan is missing, invalid, or out of date, reducing the risk of implementing the wrong design.

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/spumer/i-m-senior-developer/plan-do
Clone the repo
git clone --depth 1 https://github.com/spumer/i-m-senior-developer
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,426 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.00014 $0.04426
Opus 5 $0.00007 $0.02213
Sonnet 5 $0.00003 $0.00885
Haiku 4.5 $0.00001 $0.00443

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

Security

Grade A, and why

plan-do 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 2d 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/planner/commands/plan-do.md · 188 lines

How it starts

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

Задача

Выполни план реализации для: $ARGUMENTS

1. Разреши файлы плана

Определи каталог фичи по переданному каталогу или файлу. Актуальный план выполнения — PLANNER_EXECUTION.md в этом каталоге.

Не запускай ни одного агента, если:

  • аргумент не указывает на читаемый путь;
  • PLANNER_EXECUTION.md отсутствует или недоступен для чтения;
  • заголовок плана не указывает на читаемый архитектурный документ;
  • пути архитектуры и плана совпадают.

Если плана выполнения нет, сообщи человеку точную команду:

/planner:plan <путь-к-архитектуре>

Не считай старый PLANNER_OUTPUT.md актуальным планом выполнения.

2. Проверяй свежесть перед каждым вызовом агента

Перед каждым рабочим вызовом агента запускай помощник состояния:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/planner/assets/plan_state.py" check <путь-к-PLANNER_EXECUTION.md>

Интерпретируй код завершения:

  • 0 — план актуален, можно продолжать;
  • 2 — план устарел, остановись до вызова агента;
  • 3 — план недействителен или нечитаем, остановись до вызова агента;
  • 64 — вызов помощника составлен неверно; исправь его и повтори проверку до вызова агента.

Перед первым рабочим вызовом после успешной проверки покажи человеку work_hint.message. Затем покажи все work_hint.paths: путь, его scope, а для проверенного пути — полный commit и committed_at; для непроверенного — reason. Это сведения, а не новый гейт. В частности, outputs_changed означает лишь изменение хотя бы одного объявленного выхода после сборки: не останавливай цикл, не пропускай фазу и не объявляй план выполненным. При следующих гейтах не повторяй подсказку, пока объект work_hint не изменился. Коды свежести обрабатывай по правилам выше при любом статусе подсказки.

Если план устарел, покажи reason, записанную и текущую версии архитектуры из вывода помощника. Причину показывай и при одинаковых версиях. Затем укажи команду пересборки:

/planner:plan <разрешённый-путь-к-архитектуре>

Подтверждение человека не отменяет этот гейт. Повторяй проверку непосредственно перед каждым следующим вызовом агента: архитектура может измениться во время долгой реализации.

Read the full file on GitHub · 188 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. 2d ago First seen · 188 lines · 14 tokens per session scan A a7500c3a8dfb

Subscribe to this mod's changes

plan-do is a command published in the GitHub repository spumer/i-m-senior-developer (11 stars, last pushed 11d ago), licensed MIT. It adds 14 tokens to every session and 4,426 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.