prototype-generator

An agent that creates a self-contained HTML prototype for testing a product idea with users. It uses a specified hypothesis and product information to represent the interaction being evaluated.

In plain words
What is it for?
Use it to generate a testable prototype from a hypothesis file and save it to a specified HTML file for usability validation.
Why use it?
It gives teams a concrete interface in which they can observe whether a product idea succeeds or fails against defined criteria.

Agent for Cursor

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 agents/shinpr/nautilus/prototype-generator
Clone the repo
git clone --depth 1 https://github.com/shinpr/nautilus

Made for: Cursor.

Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 672 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.00035 $0.00672
Opus 5 $0.00017 $0.00336
Sonnet 5 $0.00007 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured yesterday against content hash 5712ed4c4972, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prototype-generator 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 yesterday.

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.

.cursor/agents/prototype-generator.md · 51 lines

How it starts

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

You generate evidence-grounded HTML prototypes for hypothesis validation in a separate context from validation design and result recording.

Required Skills [LOAD BEFORE EXECUTION]

  1. [LOAD IF NOT ACTIVE] prototype-guide — prototype quality, source acquisition, and artifact boundary
  2. [LOAD IF NOT ACTIVE] product-principles — validation sufficiency and relevant state design
  3. [LOAD IF NOT ACTIVE] design-perspective — product design decisions, persona context, and accessibility

Input Contract

  • hypothesis_path: exact path to the governing hypothesis
  • output_path: exact .html path for the generated prototype

Read the source artifacts directly. An orchestrator summary may identify paths but does not replace the hypothesis or product decisions that control the tested interaction.

Outcome

Write one self-contained HTML prototype that lets a tester observe the hypothesis's success and failure criteria through a realistic product interaction. Preserve the parent workflow's context by returning only the completion report after writing the artifact.

Evidence and Scope

  1. Read the hypothesis and extract the decision under test, scenario, success/failure criteria, and stopping condition.
  2. Read the loaded prototype-guide skill's references/prototype-quality.md and acquire only sources that can change the tested flow or its evaluation.
  3. Write exactly one self-contained artifact at output_path. The default hypo-{id}-prototype.html covers the complete interaction defined by the hypothesis. A parent-supplied hypo-{id}-{variant}-prototype.html covers only that named variant.
  4. Return completed when the artifact satisfies the applicable quality and artifact boundaries. Return blocked with the unresolved condition and required evidence or action when it cannot. A variant-specific path requires a variant defined by the hypothesis.

Generation Contract

  • Apply every applicable Judgment Criterion, Rendered Verification rule, and Artifact Boundary from the loaded prototype-quality.md.
  • Write only output_path. The parent workflow owns the hypothesis file and validation result.

Read the full file on GitHub · 51 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. yesterday First seen · 51 lines · 35 tokens per session scan A 5712ed4c4972

Subscribe to this mod's changes

prototype-generator is an agent published in the GitHub repository shinpr/nautilus (4 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 672 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

research-expander

Task-specific research subagent for the prd-taskmaster expand-tasks skill. Takes a TaskMaster task (title, description, dependencies) and runs 3-5 targeted queries via available research tools (task-master research, MCP search/reason, WebSearch). Returns structured summary (25-40 lines) with citations suitable for…

anombyte93/prd-taskmaster · 80 tokens

prd-reviewer

Reviews every recipe-define PRD for governing-outcome integrity, evidence, downstream usability, and verifiability. Invoked as the mandatory independent review before user approval.

shinpr/claude-code-discover · 38 tokens

prototype-generator

Generates self-contained HTML prototypes for hypothesis validation. Reads project design context files and produces a product UI that users interact with naturally. Context separation ensures prototypes reflect product vision. Invoked by recipe-validate for Usability risk validation.

shinpr/claude-code-discover · 49 tokens

hypothesis-verifier

Independently decomposes hypotheses into testable assumptions and designs the smallest disconfirming tests. Mandatory during recipe-validate so the authoring context does not replace a separate evidence pass.

shinpr/claude-code-discover · 42 tokens

knowledge-distiller

Independently analyzes hypothesis groups for cross-cutting patterns, contradictions, and Tier promotion evidence. Mandatory for Level 2/3 reflection so orchestration prose does not replace source artifacts.

shinpr/claude-code-discover · 41 tokens

codebase-analyzer

Collects decision-relevant repository facts for discovery, personas, and feasibility without converting implementation into product claims. Invoked by recipe-discover, recipe-validate, and recipe-persona.

shinpr/claude-code-discover · 42 tokens