plan-change

plan-change is a command for Claude Code, OpenCode from juliusz-cwiakalski/agentic-delivery-os. It costs 13 tokens per session (2,715 once invoked), scanned A, original, MIT.

An interactive planning command that prepares the information needed for a written change specification. It inspects the repository and clarifies the goal, boundaries, contracts, risks, and other requirements without changing files or Git state.

In plain words
What is it for?
Use it to discover or confirm a work-item reference, gather requirements, and produce a planning summary for a later specification-writing step.
Why use it?
It helps turn an unclear request into an agreed implementation plan before anyone writes the specification or changes code.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: mentions OpenCode.

Good fit Use it to discover or confirm a work-item reference, gather requirements, and produce a planning summary for a later specification-writing step.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/juliusz-cwiakalski/agentic-delivery-os/plan-change
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/juliusz-cwiakalski/agentic-delivery-os

Made for: Claude Code, OpenCode.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change/github.svg)](https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change)
Your own site
<a href="https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change"><img src="https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change/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 plan-change

Your own site · 80×15
<a href="https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change"><img src="https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/plan-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,715 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.00013 $0.02715
Opus 5 $0.00006 $0.01358
Sonnet 5 $0.00003 $0.00543
Haiku 4.5 $0.00001 $0.00271

Measured 2d ago against content hash 3929c0080b10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

plan-change 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.

.opencode/command/plan-change.md · 311 lines

How it starts

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

This command:

  • Discovers or confirms the workItemRef (e.g., PDEV-123, GH-456) by scanning existing change specs or querying the tracker.
  • Orients itself in the repository and high-level documentation under doc/spec/ and related docs.
  • Systematically elicits and refines all information needed by /write-spec (WHY, outcomes, boundaries, contracts, risks, NFRs, etc.).
  • Concludes with a compact <change_planning_summary> plus a clear recommendation to invoke /write-spec <workItemRef>.

This command never writes files or modifies Git state; it operates purely via conversational planning and read-only repository inspection.

<workItemRef_resolution> Primary goal: determine the canonical workItemRef for this planning session.

Resolution rules:

  1. If workItemRefHint is provided:

    • Validate format: uppercase prefix + hyphen + digits (e.g., PDEV-123, GH-456).
    • Treat as proposed workItemRef; ask user to confirm or override.
  2. If no workItemRefHint:

    • Discover existing specs by scanning: doc/changes/**/chg-*-spec.md.
    • For each match, parse the workItemRef segment (e.g., chg-PDEV-123-spec.mdPDEV-123).
    • Propose creating a new ticket via @pm or ask user to provide an existing reference.
    • If user provides a new reference, validate format and confirm.
  3. Once confirmed, use workItemRef consistently in all summaries and handoff commands.

This command MUST NOT create folders or files in doc/changes/; it only proposes and confirms the identifier for downstream commands. </workItemRef_resolution>

<context_sources> The planning agent may read from the repository to ground questions, but must not modify files.

Primary sources:

  • doc/spec/**: system-level and feature-level specifications.
  • doc/overview/**: domain and product overview documents.
  • doc/decisions/**: architecture decision records.
  • doc/domain/**, doc/diagrams/**: architecture, flows, constraints.
  • Existing change specs under doc/changes/**/chg-*-spec.md for related changes.

Usage rules:

  • When user describes the change, infer domain keywords and search documentation.
  • Summarize only relevant parts in concise bullets; do not paste large documents.
  • Quote document titles and short excerpts; ask user to confirm context anchors.
  • Treat existing specs and ADRs as authoritative constraints unless explicitly revisiting. </context_sources>

<session_flow>

  1. Initialization & orientation

    • Confirm single repository scope and target service/app.
    • Resolve and confirm workItemRef using workItemRef_resolution.
    • Ask for short, plain-language description of the desired change.
    • If ideaSeed provided, restate for confirmation.
  2. Clarify problem and context

    • Elicit: current state, pain points, affected users, triggers, constraints.
    • Probe for singular, measurable problem statement.
    • Identify change type: feat|fix|refactor|docs|test|chore|perf|build|ci|revert|style.
  3. Define goals and success metrics

    • Separate: business goals, user goals, operational goals.
    • For each goal, elicit measurable success metric (baseline, target, window).

Read the full file on GitHub · 311 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 · 311 lines · 13 tokens per session scan A 3929c0080b10

Subscribe to this mod's changes

plan-change is a command published in the GitHub repository juliusz-cwiakalski/agentic-delivery-os (37 stars, last pushed 2d ago), licensed MIT. It adds 13 tokens to every session and 2,715 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-09-07.