scaffold-plugin.eval

scaffold-plugin.eval is a command for Claude Code from davistroy/claude-marketplace. It costs 0 tokens per session (590 once invoked), scanned C, original, MIT.

A command that creates the starting files and folders for a new plugin, including metadata, commands, skills, and marketplace registration.

In plain words
What is it for?
Use it to start a plugin with a valid plugin.json file, standard directories, starter content, and an entry in the marketplace list.
Why use it?
It removes the repetitive setup work and helps produce a plugin structure that can pass validation immediately.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery.

Good fit Use it to start a plugin with a valid plugin.json file, standard directories, starter content, and an entry in the marketplace list.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/davistroy/claude-marketplace/scaffold-plugin.eval
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/davistroy/claude-marketplace

Made for: Claude Code.

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 scaffold-plugin.eval

README.md
[![agentmods](https://agentmods.dev/badge/commands/davistroy/claude-marketplace/scaffold-plugin.eval/github.svg)](https://agentmods.dev/commands/davistroy/claude-marketplace/scaffold-plugin.eval)
Your own site
<a href="https://agentmods.dev/commands/davistroy/claude-marketplace/scaffold-plugin.eval"><img src="https://agentmods.dev/badge/commands/davistroy/claude-marketplace/scaffold-plugin.eval/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 scaffold-plugin.eval

Your own site · 80×15
<a href="https://agentmods.dev/commands/davistroy/claude-marketplace/scaffold-plugin.eval"><img src="https://agentmods.dev/badge/commands/davistroy/claude-marketplace/scaffold-plugin.eval.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 590 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00590
Opus 5 $0.00000 $0.00295
Sonnet 5 $0.00000 $0.00118
Haiku 4.5 $0.00000 $0.00059

Measured 9d ago against content hash adfc7bb80768, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

scaffold-plugin.eval scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf plugins/test-plugin plugins/analytics-plugin
evals/commands/scaffold-plugin.eval.md · 101 lines

How it starts

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

Eval: /scaffold-plugin

Purpose

Creates a new plugin with the proper directory structure, metadata files, and starter files. Good output: a complete, valid plugin skeleton that passes /validate-plugin immediately after creation.

Fixtures

None — generates directory structure in the marketplace repo.

Setup

Run on a feature branch to avoid polluting main with test plugins.

Test Scenarios

S1: Happy path — scaffold a new plugin

Invocation: /scaffold-plugin (then answer prompts)

Interaction:

  • Plugin name: test-plugin
  • Description: Test plugin for eval purposes

Must:

  • Creates plugins/test-plugin/ directory
  • Creates plugins/test-plugin/.claude-plugin/plugin.json with correct metadata
  • Creates plugins/test-plugin/commands/ directory
  • Creates plugins/test-plugin/skills/ directory
  • plugin.json has name, version, description fields
  • Registers the new plugin in .claude-plugin/marketplace.json

Should:

  • Creates a starter command file with placeholder content
  • Creates a references/ directory
  • Reports which files were created

Must NOT:

  • Create files with invalid JSON (plugin.json must be valid)
  • Skip registering in marketplace.json
  • Use a flat skill file (skills/help.md) instead of nested structure

S2: Validate scaffold immediately

After S1, run:

Invocation: /validate-plugin test-plugin

Must:

  • Plugin passes all structural validation checks
  • No "missing required file" errors

S3: Plugin name as argument

Invocation: /scaffold-plugin analytics-plugin

Must:

  • Uses analytics-plugin without prompting for name
  • Creates plugins/analytics-plugin/ with all required files

S4: Error — plugin already exists

Invocation: /scaffold-plugin personal-plugin

Must:

  • Detects that plugins/personal-plugin/ already exists
  • Prompts to confirm overwrite or aborts
  • Does not overwrite existing plugin silently

Read the full file on GitHub · 101 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. 9d ago First seen · 101 lines · 0 tokens per session scan C adfc7bb80768

Subscribe to this mod's changes

scaffold-plugin.eval is a command published in the GitHub repository davistroy/claude-marketplace (5 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 590 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.