update-plan

update-plan is a command for Claude Code from spree/spree. It costs 0 tokens per session (925 once invoked), scanned A, original, BSD-3-Clause.

A command for updating an existing development plan in the Spree Commerce project. It finds the relevant plan, preserves its structure, records decisions, and updates its date and status references.

In plain words
What is it for?
Use it to revise plans in `docs/plans/`, resolve their open questions, record implementation decisions, and update the project instructions when a plan's status changes.
Why use it?
It keeps architectural and feature plans current instead of leaving decisions or open questions scattered across files. It also requires unresolved questions to be settled before the update is finished.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Good fit Use it to revise plans in docs/plans/, resolve their open questions, record implementation decisions, and update the project instructions when a plan's status changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/spree/spree/update-plan
About the project

Spree is a self-hostable, open-source commerce platform for building online stores, B2B systems, and multi-vendor marketplaces. It provides a commerce backend with a REST API, TypeScript SDK, administration interface, and Next.js storefront. The catalogue add-ons teach coding agents how to customize, operate, and upgrade Spree projects.

spree/spree · 15,860 stars · on GitHub · spreecommerce.org

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.

Clone the repo
git clone --depth 1 https://github.com/spree/spree

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 update-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/spree/spree/update-plan/github.svg)](https://agentmods.dev/commands/spree/spree/update-plan)
Your own site
<a href="https://agentmods.dev/commands/spree/spree/update-plan"><img src="https://agentmods.dev/badge/commands/spree/spree/update-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/spree/spree/update-plan"><img src="https://agentmods.dev/badge/commands/spree/spree/update-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00925
Opus 5.5 $0.00000 $0.00370
Sonnet 5.5 $0.00000 $0.00185
Haiku 4.5 $0.00000 $0.00093

Measured 2mo ago against content hash ad065616874a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-plan 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 2mo 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.

.claude/commands/update-plan.md · 79 lines

How it starts

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

Update an existing plan document.

Instructions: $ARGUMENTS

  1. List all plans in docs/plans/ (excluding _template.md)
  2. Identify the relevant plan based on the instructions
  3. Read the current plan content
  4. Apply the requested changes while preserving the document structure
  5. Resolve open questions interactively before finishing — see below
  6. Update the Last updated date
  7. If status changed, update the plan's status accordingly
  8. Mirror the change to the plan's trackers — see below

Resolving open questions (required)

Never leave a plan sitting on unresolved open questions after an edit. Before finishing, check the plan's Open Questions section and use the AskUserQuestion tool to settle anything the author can decide now — both questions that were already there and any your changes introduced.

  • Ask them together in one call where possible (the tool takes up to 4 questions), so the author sees the whole decision surface at once.
  • For each question give 2–4 concrete options, not an open prompt. Lead with your recommendation and mark it (Recommended).
  • Use the preview field to show the actual shape of each option — the code, the config, or the schema it implies.
  • State the cost of each option in its description, not just what it does.

Then fold the answers back into the plan:

  • Move each resolved question out of Open Questions into Key Decisions, phrased as a decision with its date and the reasoning that settled it.
  • Record any accepted trade-off explicitly, and if it constrains how other code must be written, add it to Constraints on Current Work.
  • Leave Open Questions holding only genuinely deferred items, each with a note on what would unblock it.
  • If the last blocking question is now settled, move the status off Draft.

If a question genuinely cannot be answered yet — it depends on work that hasn't landed, or on information nobody has — say so and leave it deferred with the reason. That is a resolution too; silently leaving it unexamined is not.

Read the full file on GitHub · 79 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. 2mo ago Changed · +30 lines ad065616874a
  2. 2mo ago Changed 8067d7ab429c
  3. 3mo ago First seen · 49 lines · 0 tokens per session scan A b1ae0f320e03

Subscribe to this mod's changes

update-plan is a command published in the GitHub repository spree/spree (15,860 stars, last pushed today), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 925 tokens. 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

update-plan compared with commands from other repositories

update-plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-planspree/spreeCommand16ktodayBSD-3-ClauseA0Claude Code
contactstinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A11Claude Code
assigntinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A14Claude Code
resettinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A17Claude Code
sessionstinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A10Claude Code
usetinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A12Claude Code
agentstinyhumansai/tiny.placeCommand1473mo agoGPL-3.0A17Claude Code