scaffold-plugin

scaffold-plugin is a skill for Claude Code from bdfinst/agentic-dev-team. It costs 81 tokens per session (1,111 once invoked), scanned A, original, MIT.

A tool that creates the starting directory and files for a Claude Code plugin. It checks the plugin name, avoids overwriting an existing directory, and aims to finish with a clean plugin audit.

In plain words
What is it for?
It is for creating a new plugin skeleton with folders for agents, skills, hooks, and shared knowledge, then checking that the result passes the plugin audit.
Why use it?
It removes the need to remember the required plugin folders, placeholder files, and validation steps when starting a plugin in a marketplace repository.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the marketplace-dev plugin — 10 skills, 1 agent shipped together

Good fit It is for creating a new plugin skeleton with folders for agents, skills, hooks, and shared knowledge, then checking that the result passes the plugin audit.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add bdfinst/agentic-dev-team
Claude Code
/plugin install marketplace-dev

Made for: Claude Code.

Or install marketplace-dev, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/scaffold-plugin.svg)](https://agentmods.dev/skills/bdfinst/agentic-dev-team/scaffold-plugin)
Your own site
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/scaffold-plugin"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/scaffold-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,111 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.00081 $0.01111
Opus 5 $0.00041 $0.00556
Sonnet 5 $0.00016 $0.00222
Haiku 4.5 $0.00008 $0.00111

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

Security

Grade A, and why

scaffold-plugin 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 2d 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/marketplace-dev/skills/scaffold-plugin/SKILL.md · 108 lines

How it starts

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

Scaffold Plugin

Role: implementation. Emit the shipped-plugin skeleton, then prove it clean.

Constraints

  1. Name is a hard gate. <plugin-name> must match ^[a-z][a-z0-9-]*$. On a mismatch, emit the rule and a kebab-case suggestion, then stop.
  2. Never overwrite. If the target dir already exists, report and stop.
  3. Only shipped files go under plugins/<name>/. Tests, eval fixtures, and build tooling live at the repo root — never scaffold them inside the plugin.
  4. End on a green audit. The deliverable is not the files; it is /plugin-audit plugins/<name> reporting zero findings.

Step 1 — Parse and validate

  • NAME = $0; validate against ^[a-z][a-z0-9-]*$ (Step constraint 1).
  • DIR = --dir value, else plugins/<NAME>.
  • DESC = --description value, else a one-line placeholder the user edits.
  • If DIR exists → report and stop.

Step 2 — Create the directory skeleton

mkdir -p "$DIR"/.claude-plugin "$DIR"/agents "$DIR"/skills "$DIR"/hooks "$DIR"/knowledge

agents/, skills/, hooks/, and knowledge/ start empty. Git does not track empty directories — add a .gitkeep to each so the skeleton survives commit:

for d in agents skills hooks knowledge; do : > "$DIR/$d/.gitkeep"; done

Step 3 — Write the required files

$DIR/.claude-plugin/plugin.jsonversion starts at 0.1.0; release-please keeps it in sync thereafter (do not hand-bump):

{
  "name": "<NAME>",
  "version": "0.1.0",
  "description": "<DESC>",
  "author": { "name": "", "email": "" }
}

$DIR/CLAUDE.md — plugin instructions that ship with the plugin: a one-line purpose, a table of the plugin's /commands (empty to start), and the conventions it enforces. Keep it small (it is always loaded).

$DIR/install.sh — the prerequisite checker with the Git-Bash-on-Windows guard. Copy the canonical pattern from ${CLAUDE_PLUGIN_ROOT}/install.sh (checks claude + jq, warns on optional tools, detects Windows-without-Git-Bash and points to https://git-scm.com/download/win), retitled for <NAME>. Then chmod +x "$DIR/install.sh".

Read the full file on GitHub · 108 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. 2d ago First seen · 108 lines · 81 tokens per session scan A e0a9ada71771

Subscribe to this mod's changes

scaffold-plugin is a skill published in the GitHub repository bdfinst/agentic-dev-team (280 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 1,111 once invoked, about $0.0004 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-09-05.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens