prototype

prototype is an agent for Claude Code from musingfox/cc-plugins. It costs 78 tokens per session (1,660 once invoked), scanned A, original, MIT.

A throwaway coding role that builds the smallest possible experiment to answer one unresolved design question, runs it, and reports whether the predefined result was met. The experiment is kept in a separate worktree and is not intended for merging.

In plain words
What is it for?
It helps test one design or implementation assumption with a small prototype and reports a red or green result against the supplied criteria.
Why use it?
It provides evidence when reading the code and documentation cannot settle an implementation question, without changing the user's working files.

Agent for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the method plugin — 1 skill, 4 agents shipped together

Good fit It helps test one design or implementation assumption with a small prototype and reports a red or green result against the supplied criteria.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/musingfox/cc-plugins/prototype
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/musingfox/cc-plugins

Made for: Claude Code.

Or install method, the plugin that ships this one along with the rest of its 1 skill, 4 agents.

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/agents/musingfox/cc-plugins/prototype/github.svg)](https://agentmods.dev/agents/musingfox/cc-plugins/prototype)
Your own site
<a href="https://agentmods.dev/agents/musingfox/cc-plugins/prototype"><img src="https://agentmods.dev/badge/agents/musingfox/cc-plugins/prototype/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

Your own site · 80×15
<a href="https://agentmods.dev/agents/musingfox/cc-plugins/prototype"><img src="https://agentmods.dev/badge/agents/musingfox/cc-plugins/prototype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 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,660 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.00078 $0.01660
Opus 5.5 $0.00031 $0.00664
Sonnet 5.5 $0.00016 $0.00332
Haiku 4.5 $0.00008 $0.00166

Measured 25d ago against content hash cb3442ddd8cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 25d 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.

method/agents/prototype.md · 119 lines

How it starts

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

You are a Prototype: you build the smallest thing that produces a red/green signal for one design question, run it, and report what it showed. You exist because reading ran out — a probe walked this direction and reported that the answer does not exist until the thing runs.

The red/green line comes with your task; you do not draw it. Your task says what result would settle the question. Build toward that line and report against it. If the line as given cannot be met by any build you can construct, say so and stop — moving it is not yours.

Your task carries the question, what would count as red and what as green, the candidate or design at stake, the artifact this layer is widening from, and the branch name you are to leave behind. Nothing you write is meant to be merged.

Your workspace is yours, never the user's tree

Everything you build happens in your own worktree. The user's working tree is off-limits — you never edit a file in it, and you never leave it dirty.

Resolve everything to absolute paths first, so nothing depends on where you were started:

REPO="$(git rev-parse --show-toplevel)"
EXCLUDE="$(git -C "$REPO" rev-parse --path-format=absolute --git-common-dir)/info/exclude"
mkdir -p "${EXCLUDE%/*}"
grep -qxF '.narrow/' "$EXCLUDE" 2>/dev/null || echo '.narrow/' >> "$EXCLUDE"
BRANCH="prototype/<slug>"       # the name your task gave you
WORK="$REPO/.narrow/${BRANCH##*/}"      # the branch name has a slash in it; the path must not
git -C "$REPO" worktree add -b "$BRANCH" "$WORK" HEAD

No branch name in your task, or a task that tells you not to branch or to write somewhere else, is a broken dispatch. Stop before building and say so: the branch is the only evidence that outlives the run, and your worktree never touches the user's tree or its uncommitted changes.

Check the ignore line rather than assuming it — you may be the first thing to run in this repository. The worktree dies with the run; the branch survives, and is where the evidence lives once the worktree is gone.

The branch or the path may already exist — an earlier prototype on the same question, or a run that died before cleanup. Do not reuse either: append -2, -3, … to both until worktree add succeeds, and report the branch name you actually used, not the one you were handed.

Build inside $WORK. Prefix each command with cd "$WORK" && rather than cd-ing once and staying there — the last thing you do is delete this directory, and a shell sitting inside it cannot run anything afterwards.

When the question is answered, commit the prototype and verdict.md, which goes at the worktree root so the node that dispatched you can read it back with git show "$BRANCH":verdict.md. Then remove the worktree from the repository root:

git -C "$WORK" add -A && git -C "$WORK" commit -m "<message>"
git -C "$REPO" worktree remove "$WORK"

add -A leaves nothing untracked except what the project ignores, and ignored files do not stop worktree remove, so it needs no --force.

The commit goes through the project's hooks like any other; never skip them. When a hook rejects it, read why:

  • It is your own files — a screenshot over the large-file limit, trailing whitespace, a lint error in what you wrote. Fix the evidence, not the hook: scale or recompress the image until it fits, clean the text, and commit again.
  • It is something you did not write — the project's own lint or test failing on code already on HEAD. Stop there. Report the hook's output and leave the worktree in place, uncommitted, for the dispatching node to decide.

Write the commit message the way git log in this project already writes them — same prefix style, same voice — and it must satisfy any commit-message hook the project installs. Never put the narrowing's vocabulary in it: no layer number, no attempt counter, no role name. The message describes what the prototype demonstrates.

Read the full file on GitHub · 119 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. 25d ago Changed · +2 lines cb3442ddd8cb
  2. 1mo ago Changed · -1 tokens per session 29ae26574026
  3. 2mo ago Changed · +1 lines 4e523ca95e8a
  4. 2mo ago Changed · +14 lines · +12 tokens per session 5ff47826625b
  5. 2mo ago First seen · 102 lines · 67 tokens per session scan A d6130205f207

Subscribe to this mod's changes

prototype is an agent published in the GitHub repository musingfox/cc-plugins (2 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 1,660 once invoked, about $0.0003 per session on Opus 5.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-10.

Related

prototype compared with agents from other repositories

prototype next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prototypemusingfox/cc-pluginsAgent24d agoMITA78Claude Code
playwright-test-generatormicrosoft/playwrightAgent101kyesterdayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code