plan-do-workflow

An experimental workflow command for carrying out a feature’s implementation plan through a separate workflow process.

In plain words
What is it for?
It checks that the supplied feature directory exists and is readable, verifies `PLANNER_EXECUTION.md`, and then starts the experimental plan-execution workflow when those checks pass.
Why use it?
It validates the feature directory and plan before starting, so an experimental run does not begin with an invalid path or missing execution file.

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-workflow
Clone the repo
git clone --depth 1 https://github.com/spumer/i-m-senior-developer
Per session 17 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,565 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.00017 $0.01565
Opus 5 $0.00009 $0.00783
Sonnet 5 $0.00003 $0.00313
Haiku 4.5 $0.00002 $0.00156

Measured 2d ago against content hash 63229d68035d, 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-workflow 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-workflow.md · 144 lines

How it starts

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

Экспериментальный запуск

Запусти экспериментальный workflow-вариант выполнения плана для $ARGUMENTS. Обычную команду /planner:plan-do этот режим не заменяет.

До успешной предварительной проверки не вызывай Workflow, агентов или другую команду выполнения. При любом отказе не переключайся на /planner:plan-do.

Полная форма вызова во всех отказах по аргументу или пути:

/planner:plan-do-workflow <каталог-фичи>

1. Проверь каталог и план

  1. Если $ARGUMENTS пуст, сообщи, что экспериментальному режиму нужен каталог фичи, покажи полную форму вызова и закончи работу.

  2. Считай весь $ARGUMENTS одним путём. Только read-only вызовом python3 разверни ~, разреши путь строго через Path.resolve(strict=True) и проверь: это существующий каталог, у процесса есть права чтения и прохода в него. Сохрани полученный канонический абсолютный путь как feature_directory. Если путь не существует, недоступен или является файлом либо другим узлом, назови исходный путь и причину, покажи полную форму вызова и закончи работу.

  3. Внутри feature_directory проверь обычный читаемый файл PLANNER_EXECUTION.md. Его канонический абсолютный путь — execution_path. Если файла нет или он недоступен, не запускай workflow. Сообщи, что нужен текущий план выполнения, и укажи точную команду его построения:

    /planner:plan <feature_directory>/ARCHITECTURE.md
    
  4. Прочитай execution_path целиком. В YAML-заголовке найди непустое architecture.path. Разреши относительный путь от каталога PLANNER_EXECUTION.md, а абсолютный оставь абсолютным. Получившийся architecture_path обязан быть читаемым обычным файлом и не совпадать с execution_path после канонического разрешения. Иначе назови нарушенное условие, покажи полную форму вызова и закончи работу.

  5. В текущем корне проекта проверь читаемый файл .claude/planner-context.md; его канонический абсолютный путь — planner_context_path. Отдельно через CLAUDE_PLUGIN_ROOT получи канонический абсолютный путь к skills/planner/assets/plan_state.py; это helper_path, и он должен быть читаемым обычным файлом. Если любой из этих файлов отсутствует или недоступен, назови его, покажи полную форму вызова и закончи работу.

Read the full file on GitHub · 144 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 · 144 lines · 17 tokens per session scan A 63229d68035d

Subscribe to this mod's changes

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