prototype-iterate

prototype-iterate is a command for Claude Code from navraj007in/architecture-cowork-plugin. It costs 12 tokens per session (1,703 once invoked), scanned A, original, Apache-2.0.

A command for making focused changes to an existing clickable prototype without rebuilding the whole project. It updates only the files affected by the requested change.

In plain words
What is it for?
Use it to adjust selected screens, components, or interactions after the prototype has been completed.
Why use it?
It avoids losing unrelated work or waiting through a full regeneration when only part of a prototype needs changing.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the architect plugin — 48 skills, 63 commands, 19 agents, 7 MCP servers shipped together

Good fit Use it to adjust selected screens, components, or interactions after the prototype has been completed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/navraj007in/architecture-cowork-plugin/prototype-iterate
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/navraj007in/architecture-cowork-plugin

Made for: Claude Code.

Or install architect, the plugin that ships this one along with the rest of its 48 skills, 63 commands, 19 agents, 7 MCP servers.

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 prototype-iterate

README.md
[![agentmods](https://agentmods.dev/badge/commands/navraj007in/architecture-cowork-plugin/prototype-iterate/github.svg)](https://agentmods.dev/commands/navraj007in/architecture-cowork-plugin/prototype-iterate)
Your own site
<a href="https://agentmods.dev/commands/navraj007in/architecture-cowork-plugin/prototype-iterate"><img src="https://agentmods.dev/badge/commands/navraj007in/architecture-cowork-plugin/prototype-iterate/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 prototype-iterate

Your own site · 80×15
<a href="https://agentmods.dev/commands/navraj007in/architecture-cowork-plugin/prototype-iterate"><img src="https://agentmods.dev/badge/commands/navraj007in/architecture-cowork-plugin/prototype-iterate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 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,703 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.00012 $0.01703
Opus 5 $0.00006 $0.00851
Sonnet 5 $0.00002 $0.00341
Haiku 4.5 $0.00001 $0.00170

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

Security

Grade A, and why

prototype-iterate 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 8d 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/prototype-iterate.md · 168 lines

How it starts

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

/architect:prototype-iterate

Trigger

/architect:prototype-iterate — run only after /architect:prototype has completed (phase_complete === 4). The change request should follow the command in the conversation.

Purpose

Apply targeted, surgical changes to an existing prototype. This command reads the change request from the conversation, identifies only the affected files, rewrites them, and leaves everything else untouched.

This is NOT a rebuild — do not regenerate the entire prototype.


Step 0: Validate

Check that prototype/_manifest.json exists and phase_complete === 4.

  • If the file does not exist, or phase_complete is less than 4: stop and tell the user to run /architect:prototype first.
  • If validation passes: continue.

Step 1: Read Context

Read the following files to understand the current state of the prototype:

  1. architecture-output/_state.json — project name, design tokens (palette, fonts), entities, personas
  2. prototype/_manifest.json — full manifest: screens array, appName, personality, files_written

Then, based on the change request, selectively read only the relevant files:

  • If the change affects specific screens: read only those screen files (use the screens array from manifest to identify file paths — typically prototype/src/pages/{id}.tsx or prototype/src/screens/{id}.tsx)
  • If the change affects shared components: Grep prototype/src/components/ for the relevant component(s)
  • If the change affects theme/design: read prototype/src/styles/globals.css and prototype/tailwind.config.ts
  • If the change affects mock data: read prototype/src/data/mock.ts
  • If the change affects routing/navigation: read prototype/src/App.tsx

Do NOT read all files unless the change request is global (e.g. "redesign the entire UI"). Be selective.


Step 2: Understand Change Request

Parse the change request from the conversation (the text that follows the /architect:prototype-iterate command).

Read the full file on GitHub · 168 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. 8d ago First seen · 168 lines · 12 tokens per session scan A 2fcdc9accd87

Subscribe to this mod's changes

prototype-iterate is a command published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 1,703 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-03.