prototype

prototype is a command for coding agents from mahmoudilyan/marmoui. It costs 36 tokens per session (916 once invoked), scanned A, original, MIT.

A command that creates a shareable Marmo prototype with built-in comments and an AI-edit overlay, then publishes it on Netlify, a web hosting service.

In plain words
What is it for?
Use it to make prototypes that people outside the engineering team can review, comment on, and edit with AI.
Why use it?
It prepares a reviewer-accessible prototype and checks required setup before deployment.

Command

Part of the marmo-ui plugin — 2 skills, 5 commands, 1 hook shipped together

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 commands/mahmoudilyan/marmoui/prototype
Clone the repo
git clone --depth 1 https://github.com/mahmoudilyan/marmoui

Or install marmo-ui, the plugin that ships this one along with the rest of its 2 skills, 5 commands, 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 prototype

README.md
[![agentmods](https://agentmods.dev/badge/commands/mahmoudilyan/marmoui/prototype.svg)](https://agentmods.dev/commands/mahmoudilyan/marmoui/prototype)
Your own site
<a href="https://agentmods.dev/commands/mahmoudilyan/marmoui/prototype"><img src="https://agentmods.dev/badge/commands/mahmoudilyan/marmoui/prototype.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 916 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.00036 $0.00916
Opus 5 $0.00018 $0.00458
Sonnet 5 $0.00007 $0.00183
Haiku 4.5 $0.00004 $0.00092

Measured 5d ago against content hash 7f5fb12fd194, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prototype 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 5d 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.

tools/claude-plugin/plugins/marmo-ui/commands/prototype.md · 83 lines

How it starts

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

/marmo-ui:prototype

Scaffold a new prototype using @marmoui/ui, wire up the @marmoui/prototype-overlay (Anthropic OAuth sign-in + inline comments

  • owner-only select-mode prompt-to-clipboard), and deploy to Netlify.

Run every step. Don't skip the MCP validation pass — prototypes are read by reviewers from outside the engineering team and any hallucinated prop or broken composition is going to surface in a comment thread inside an hour.

Steps

  1. Confirm prerequisites.

    • node --version ≥ 20
    • pnpm --version ≥ 9
    • netlify --version (suggest npm i -g netlify-cli if missing)
    • NPM_TOKEN set (required to install @marmoui/* from GH Packages)
    • MARMO_PROTOTYPE_OAUTH_CLIENT_ID and MARMO_PROTOTYPE_COMMENTS_API set in shell env (provisioned once per developer, point at the team Supabase project and Anthropic OAuth client). If missing, print the one-time setup instructions from apps/prototype-starter/README.md and stop.
  2. Choose a target directory outside the monorepo. Default: ~/Sites/marmo-prototype-<kebab-case-name>. If the dir exists and is non-empty, ask for a different name.

  3. Copy the starter template. Source = apps/prototype-starter/ in the marmo-ui monorepo (resolve via mcp__marmo-ui__get_knowledge_version().repoRoot if available, otherwise ask the user for the path). Copy excluding node_modules, dist, .turbo. Rewrite the package.json name field to match the new directory.

  4. Wire env vars. Create .env.local from .env.example with:

    VITE_COMMENTS_API=$MARMO_PROTOTYPE_COMMENTS_API
    VITE_ANTHROPIC_OAUTH_CLIENT_ID=$MARMO_PROTOTYPE_OAUTH_CLIENT_ID
    
  5. Generate the screen from the user's $ARGUMENTS description.

    • Call mcp__marmo-ui__get_knowledge_version once.
    • Call mcp__marmo-ui__get_design_guidelines once.
    • Pick the closest pattern via mcp__marmo-ui__get_pattern if one matches; otherwise mcp__marmo-ui__search_components and mcp__marmo-ui__get_component_info per component.
    • Write the JSX into src/App.tsx, replacing the placeholder.
    • Imports only from @marmoui/ui + react-icons/md.
    • Run mcp__marmo-ui__review_generated_code on the final file. Fix every error and warning until valid: true. Never ship code with errors.

Read the full file on GitHub · 83 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. 5d ago First seen · 83 lines · 36 tokens per session scan A 7f5fb12fd194

Subscribe to this mod's changes

prototype is a command published in the GitHub repository mahmoudilyan/marmoui (41 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 916 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-30.