prototype

prototype is a skill for Claude Code, Codex from tsai09495/matt-pocock-engineering. It costs 40 tokens per session (694 once invoked), scanned A, original, MIT.

A throwaway prototype is a small experiment made to answer one question about code or design. It can be a self-contained HTML file for logic and state, or several switchable page variations for visual ideas.

In plain words
What is it for?
Use it to explore state models, difficult cases, interactive walkthroughs, or alternative interface designs in one place.
Why use it?
It helps test an idea quickly before committing to production code. Choosing the wrong prototype type can waste the experiment.

Skill for Claude CodeCodex

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 skills/tsai09495/matt-pocock-engineering/prototype
Any agent
npx skills add tsai09495/matt-pocock-engineering --skill prototype
Clone the repo
git clone --depth 1 https://github.com/tsai09495/matt-pocock-engineering

Made for: Claude Code, Codex.

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/skills/tsai09495/matt-pocock-engineering/prototype.svg)](https://agentmods.dev/skills/tsai09495/matt-pocock-engineering/prototype)
Your own site
<a href="https://agentmods.dev/skills/tsai09495/matt-pocock-engineering/prototype"><img src="https://agentmods.dev/badge/skills/tsai09495/matt-pocock-engineering/prototype.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 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.00040 $0.00694
Opus 5 $0.00020 $0.00347
Sonnet 5 $0.00008 $0.00139
Haiku 4.5 $0.00004 $0.00069

Measured 3d ago against content hash eaa15fde3252, 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 3d 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.

plugins/matt-engineering/skills/prototype/SKILL.md · 31 lines

How it starts

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

Prototype

A prototype is throwaway code that answers a question. The question decides the shape.

Pick an artifact

Identify which question is being answered — from the user's prompt, the surrounding code, or by asking if the user is around:

  • "Does this logic / state model feel right?"LOGIC.md. Build one self-contained HTML file that exposes the state, free-play controls, and guided walkthroughs for difficult cases.
  • "What should this look like?"UI.md. Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.

The two branches produce very different artifacts — getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.

Rules that apply to both

  1. Throwaway from day one, and clearly marked as such. Before creating files, state the intended prototype location and what question it answers; ask if the location is ambiguous. A standalone logic artifact normally belongs in the OS temp directory. Use a clearly named repository scratch location only when it must reuse project code or runtime conventions. For throwaway UI routes, obey the existing routing convention. Never create a branch or worktree automatically.
  2. One obvious way to run. A logic prototype opens directly by double-clicking its HTML file. A project-hosted prototype uses one existing task-runner command or one shareable route. Do not add a package manager, server, or build step solely for the prototype.
  3. No persistence by default. State lives in memory. Persistence is the thing the prototype is checking, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE — wipe me" name.
  4. Skip the polish. No tests, no error handling beyond what makes the prototype runnable, no abstractions. The point is to learn something fast and then delete it.
  5. Surface the state. After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
  6. Choose the outcome when done. Present four choices: delete the prototype, retain it temporarily with its throwaway status clear, absorb the validated decision into production work, or preserve it as explicitly approved durable evidence. Ask before deleting files, creating a branch/worktree, writing durable notes, creating an ADR/issue/commit, or modifying production code unless the current request explicitly authorizes that exact outcome.

Read the full file on GitHub · 31 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 31 lines · 40 tokens per session scan A eaa15fde3252

Subscribe to this mod's changes

prototype is a skill published in the GitHub repository tsai09495/matt-pocock-engineering (2 stars, last pushed 9d ago), licensed MIT. It adds 40 tokens to every session and 694 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 skills, from other repositories

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

marshal

Meta-orchestrator that takes any direction — broad, specific, or vague — and autonomously chains skills and context into actionable work. Gathers context from codebase, docs, and memory. Only asks the user when it genuinely cannot proceed. Single-session orchestrator.

SethGammon/Citadel · 56 tokens

wiki

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.

SethGammon/Citadel · 56 tokens

code-comment-generator

Generates meaningful comments and documentation for code to improve maintenance and readability. Use when adding documentation to Python or Java code, including function/method docstrings, class documentation, inline explanations for complex logic, and code annotations (TODO, FIXME). Analyzes existing comment style in…

ArabelaTso/Skills-4-SE · 91 tokens