prototype

prototype is a command for Claude Code from grainulation/grainulator. It costs 0 tokens per session (770 once invoked), scanned A, original, MIT.

A prototyping command for building a small, runnable proof of concept from the sprint’s research. It also creates a self-contained HTML demo so people can inspect the result without reading the code.

In plain words
What is it for?
Use it to choose a hypothesis, build a minimal project under prototypes, provide a way to run it, measure its output, and show it in a demo page.
Why use it?
It turns an idea or claim into something testable, rather than relying only on discussion or assumptions. The recorded results make the prototype’s findings part of the project evidence.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Part of the grainulator plugin — 20 skills, 21 commands, 1 agent, 2 hooks, 1 MCP server shipped together

Good fit Use it to choose a hypothesis, build a minimal project under prototypes, provide a way to run it, measure its output, and show it in a demo page.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/grainulation/grainulator/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/grainulation/grainulator

Made for: Claude Code.

Or install grainulator, the plugin that ships this one along with the rest of its 20 skills, 21 commands, 1 agent, 2 hooks, 1 MCP server.

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/grainulation/grainulator/prototype/github.svg)](https://agentmods.dev/commands/grainulation/grainulator/prototype)
Your own site
<a href="https://agentmods.dev/commands/grainulation/grainulator/prototype"><img src="https://agentmods.dev/badge/commands/grainulation/grainulator/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/commands/grainulation/grainulator/prototype"><img src="https://agentmods.dev/badge/commands/grainulation/grainulator/prototype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 770 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.00000 $0.00770
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured today against content hash d958a9ff32ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 today.

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.

packages/evidence/templates/commands/prototype.md · 79 lines

How it starts

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

/prototype — Build something testable

You are building a proof-of-concept for the current Grainulator sprint. Read CLAUDE.md for sprint context and claims.json for existing research claims.

Process

  1. Determine what to prototype: Based on the user's argument and existing research claims. If no argument given, look at the research and suggest the most promising option to test.

  2. Build it: Create a working prototype in prototypes/<name>/. This should be:

    • Minimal — just enough to test the hypothesis
    • Runnable — include a README or run script
    • Measurable — produce output that can be evaluated
  3. Also generate a demo artifact: Create prototypes/<name>/demo.html — a self-contained HTML page that shows what the prototype does, with screenshots, code snippets, or interactive elements. Non-technical stakeholders should be able to understand the prototype from this page alone.

Claim updates

Every prototype finding becomes a claim with evidence tier tested:

{
  "id": "p001",
  "type": "factual",
  "topic": "<what was tested>",
  "content": "<what we found — be specific with numbers>",
  "source": {
    "origin": "prototype",
    "artifact": "prototypes/<name>/",
    "connector": null
  },
  "evidence": "tested",
  "status": "active",
  "phase_added": "prototype",
  "timestamp": "<ISO timestamp>",
  "conflicts_with": [],
  "resolved_by": null,
  "tags": []
}

Critical: Check if any existing research claims (evidence: "web") are contradicted by prototype results. If so:

  • Set conflicts_with on both claims
  • The compiler will auto-resolve in favor of tested over web

Update meta.phase to "prototype" in claims.json if this is the first prototype.

Run the compiler

grainulator compile --summary

Report evidence upgrades (research claims superseded by prototype findings).

Version control

Preserve the user’s edits. Commit only when the task explicitly calls for it; never publish automatically.

Read the full file on GitHub · 79 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. today First seen · 79 lines · 0 tokens per session scan A d958a9ff32ca

Subscribe to this mod's changes

prototype is a command published in the GitHub repository grainulation/grainulator (86 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 770 tokens. 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-08.