scaffold-plugin

scaffold-plugin is a skill for Claude Code, Codex from orin-dx/agent-plugins. It costs 40 tokens per session (640 once invoked), scanned A, original, MIT.

A tool for creating a new Codex add-on from a description and plugin identifier. It produces the required plugin manifest, skills, and supporting agent files.

In plain words
What is it for?
Use it when building a plugin from scratch, including its plugin.json file, skill instructions, and one placeholder agent file for each declared agent.
Why use it?
It removes the repetitive setup work and helps ensure a new add-on has the expected installable structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when building a plugin from scratch, including its plugin.json file, skill instructions, and one placeholder agent file for each declared agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orin-dx/agent-plugins/scaffold-plugin
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.

Any agent
npx skills add orin-dx/agent-plugins --skill scaffold-plugin
Clone the repo
git clone --depth 1 https://github.com/orin-dx/agent-plugins

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/orin-dx/agent-plugins/scaffold-plugin/github.svg)](https://agentmods.dev/skills/orin-dx/agent-plugins/scaffold-plugin)
Your own site
<a href="https://agentmods.dev/skills/orin-dx/agent-plugins/scaffold-plugin"><img src="https://agentmods.dev/badge/skills/orin-dx/agent-plugins/scaffold-plugin/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/orin-dx/agent-plugins/scaffold-plugin"><img src="https://agentmods.dev/badge/skills/orin-dx/agent-plugins/scaffold-plugin.svg" alt="Reviewed on agentmods" width="80" 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 640 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.00040 $0.00640
Opus 5.5 $0.00016 $0.00256
Sonnet 5.5 $0.00008 $0.00128
Haiku 4.5 $0.00004 $0.00064

Measured 2mo ago against content hash 8e66ea0933f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 2mo 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.

harnesses/codex/plugins/mason/skills/scaffold-plugin/SKILL.md · 45 lines

How it starts

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

State material concerns, evidence, consequence, and confidence directly. Do not soften blockers, manufacture praise, or claim certainty beyond the evidence.

Scaffold an ecosystem-conformant plugin

Start by turning the requested purpose into explicit skills, cognitive modes, artifact boundaries, and release surface. Do not create a folder full of placeholders that leaves the next author to rediscover the contract.

Discovery

Read shared/constitution.md before choosing the structure. Inspect neighboring plugins for the closest domain pattern, but do not copy a workflow merely because its directory layout looks similar.

Establish:

  • Plugin ID, description, user trigger phrases, and independent skill routes.
  • Which cognitive modes need agents and the model/effort tier justified by their work.
  • Every structured handoff and its existing or new shared/schemas/<name>@<version>.json contract.
  • Which harness-specific adaptation trees are needed, rather than assuming Claude instructions are portable.
  • The shortest direct wording that preserves each action, condition, evidence requirement, and consequence.
  • Which operations require fixed order; express other work through outcomes and decision criteria.
  • Which verification claims need boundary, semantic-candidate, generator/oracle, fresh-state, completion, or evaluation-provenance evidence. Do not add unrelated methods.
  • Which runtime references need outcome, applicability, evidence, refutation, and disposition guidance. Do not universalize one codebase's preference or omit a named language or platform.
  • Which cognitive concern owns each runtime reference. Use the language as the filename only when its evidence is language-specific; keep human indexes out of runtime load paths.

Build order

  1. Define a new shared schema before authoring a producer or consumer that needs it.
  2. Read shared/harness-authoring.md when the plugin will ship to more than one harness. Create the source plugin manifest, skills, agent prompts, README, changelog, and shared linkage according to the constitution.
  3. Register the plugin in the applicable marketplace source.
  4. Create the Codex-native tree under harnesses/codex/plugins/<id>/ with its own manifest and skill workflows when Codex is in scope.
  5. Run the repository's structural validators and the Codex plugin validator against the resulting trees.

Read the full file on GitHub · 45 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. 2mo ago Changed · +4 lines 8e66ea0933f8
  2. 2mo ago Changed · +3 lines c0f352d82068
  3. 2mo ago Changed · +10 lines · -69 tokens per session 1839a73de8c1
  4. 3mo ago First seen · 28 lines · 109 tokens per session scan A 016632b7e52e

Subscribe to this mod's changes

scaffold-plugin is a skill published in the GitHub repository orin-dx/agent-plugins (1 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 640 once invoked, about $0.0002 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-08-31.

Related

scaffold-plugin compared with skills from other repositories

scaffold-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-pluginorin-dx/agent-pluginsSkill12mo agoMITA40Claude Code, Codex
ai-code-generation-guardrailssickn33/agentic-awesome-skillsSkill51kyesterdayMITA35Claude Code
accessibility-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA25Claude Code, Codex
bdd-cucumberAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA26Claude Code, Codex
flaky-test-fixerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA29Claude Code, Codex
integration-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA24Claude Code, Codex
load-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA24Claude Code, Codex