design

design is a command for Claude Code from openplanr/planr-pipeline. It costs 21 tokens per session (2,775 once invoked), scanned A, original, MIT.

A command for creating a visual feature design and a design-spec.md file before breaking the feature into implementation tasks. It can produce an interactive screen, a multi-screen walkthrough, or a pan-and-zoom board of artboards.

In plain words
What is it for?
Use it before planning a feature when you need a prototype, walkthrough, or canvas, including in automated or headless runs with the available confirmation flags.
Why use it?
It gives the planning process a concrete design to work from, reducing the chance that UI tasks are decomposed from an incomplete idea.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; names the TodoWrite tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the planr-pipeline plugin — 8 skills, 10 commands, 9 agents, 1 hook shipped together

Good fit Use it before planning a feature when you need a prototype, walkthrough, or canvas, including in automated or headless runs with the available confirmation flags.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openplanr/planr-pipeline
Claude Code
/plugin install planr-pipeline

Made for: Claude Code.

Or install planr-pipeline, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 9 agents, 1 hook.

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 design

README.md
[![agentmods](https://agentmods.dev/badge/commands/openplanr/planr-pipeline/design.svg)](https://agentmods.dev/commands/openplanr/planr-pipeline/design)
Your own site
<a href="https://agentmods.dev/commands/openplanr/planr-pipeline/design"><img src="https://agentmods.dev/badge/commands/openplanr/planr-pipeline/design.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 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,775 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.00021 $0.02775
Opus 5 $0.00010 $0.01388
Sonnet 5 $0.00004 $0.00555
Haiku 4.5 $0.00002 $0.00278

Measured 7d ago against content hash 738d2126a948, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

design 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 7d 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.

commands/design.md · 181 lines

How it starts

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

/planr-pipeline:design {feature-name}

Generates a visual design artifact for {slug} and authors design-spec.md, so the PO Phase decomposes real UI tasks. Run this before /planr-pipeline:plan — it is a standalone command, not a step inside /plan (SPEC-015 finding A1). It never auto-chains to /plan or /ship.

Three formats, one shared core:

Format What it is Substrate
prototype one interactive, self-contained screen vanilla + Pretext
walkthrough multi-screen gallery, grouped sidebar (anchor ≤8 / lazy >8 screens) vanilla + Pretext
canvas Figma-like pan/zoom board of artboards (export + view-only) vendored React

Flags

  • --format / --from — when both are supplied, the clarification prompt (Phase B) is skipped entirely → fully non-interactive (CI/headless), exactly like /ship --yes.
  • --yes — auto-confirm overwrite/extract decisions (assume the recommended branch).
  • --dry-run — resolve mode + design context + the recommended format, print the plan, and STOP (no generation, no writes). Fatal errors obey fatal-error-format.md (two lines).

This command NEVER auto-chains. It stops after writing the artifact + design-spec.md. A human reviews, then runs /planr-pipeline:plan {slug}. Enforced by ${CLAUDE_PLUGIN_ROOT}/docs/rules.md R1 (and the new design clause).

Review and sharing are explicit

Generation never publishes or uploads the design. The handoff may offer these optional, separate actions:

planr artifact <artifact-file>                 # local review only
planr artifact share <artifact-file>           # explicit immutable share
planr artifact import "<returned-review-url>"  # explicit feedback import

Opening or completing /design, approving locally, or continuing to /plan never invokes artifact share. A remote reviewer returns a new review URL; importing it is also a deliberate user action and does not start /plan or /ship.

Read the full file on GitHub · 181 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. 7d ago First seen · 181 lines · 21 tokens per session scan A 738d2126a948

Subscribe to this mod's changes

design is a command published in the GitHub repository openplanr/planr-pipeline (2 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 2,775 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.