scaffold-wp-theme

scaffold-wp-theme is a command for Claude Code from siddik-web/wp-block-theme-converter. It costs 18 tokens per session (842 once invoked), scanned A, original, MIT.

A command that creates the starting files for a WordPress block theme, a theme built from editable content blocks, without needing an existing website.

In plain words
What is it for?
Use it to start a blog, magazine, portfolio, business landing page, or WooCommerce store with a selected style and build system.
Why use it?
It removes the repetitive setup work involved in creating a valid theme structure and initial design settings.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wp-block-theme-converter plugin — 1 skill, 11 commands, 1 agent, 1 hook shipped together

Good fit Use it to start a blog, magazine, portfolio, business landing page, or…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/siddik-web/wp-block-theme-converter/scaffold-wp-theme
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/siddik-web/wp-block-theme-converter

Made for: Claude Code.

Or install wp-block-theme-converter, the plugin that ships this one along with the rest of its 1 skill, 11 commands, 1 agent, 1 hook.

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-wp-theme

README.md
[![agentmods](https://agentmods.dev/badge/commands/siddik-web/wp-block-theme-converter/scaffold-wp-theme.svg)](https://agentmods.dev/commands/siddik-web/wp-block-theme-converter/scaffold-wp-theme)
Your own site
<a href="https://agentmods.dev/commands/siddik-web/wp-block-theme-converter/scaffold-wp-theme"><img src="https://agentmods.dev/badge/commands/siddik-web/wp-block-theme-converter/scaffold-wp-theme.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 842 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.00018 $0.00842
Opus 5 $0.00009 $0.00421
Sonnet 5 $0.00004 $0.00168
Haiku 4.5 $0.00002 $0.00084

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

Security

Grade A, and why

scaffold-wp-theme 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 7d 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.

commands/scaffold-wp-theme.md · 95 lines

How it starts

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

/scaffold-wp-theme

Purpose: Generate an empty, valid WordPress Block Theme scaffold with no source HTML to convert. Useful for starting a new theme from scratch.

Trigger

User types /scaffold-wp-theme followed by basic theme info.

Workflow

Step 1: Gather Minimum Inputs

Ask the user these questions in your response (one batch):

  1. Theme name — free text
  2. Style preset — single select: "Minimal blog", "Editorial magazine", "Portfolio", "Business landing", "WooCommerce store"
  3. Build system — single select: "Vite 6 (recommended)", "wp-scripts", "None (vanilla)"

If WooCommerce is selected, also ask: 4. WC features needed — multi-select: "Single product page", "Product archive", "Cart/Checkout", "My Account", "All of the above"

Step 2: Apply Style Preset

Each preset maps to a different default theme.json and starter patterns:

Preset Default Colors Default Fonts Starter Patterns
Minimal blog Black/white/gray Inter + Lora hero-blog, post-grid, newsletter
Editorial magazine Cream/black/red accent Fraunces + Inter Tight hero-editorial, featured-grid, author-bio
Portfolio Dark theme, neon accent Space Grotesk + JetBrains Mono hero-portfolio, project-grid, contact
Business landing Blue/white Plus Jakarta Sans hero-saas, features, pricing, testimonials, cta, footer
WooCommerce store Black/white/gold Inter + Cormorant hero-product, product-grid, bundle, reviews, trust-badges

Step 3: Generate Files

Output the same file structure as /convert-to-wp-theme, but with placeholder content rather than converted source. Read references/file-structure.md.

Use templates from templates/ directory:

  • templates/style.css.tpl for the theme header
  • templates/theme.json.tpl for the theme.json
  • templates/functions.php.tpl for functions.php
  • templates/template-skeleton.html.tpl for empty templates
  • templates/pattern-header.php.tpl for pattern files
  • templates/package.json.tpl for package.json
  • templates/vite.config.js.tpl for Vite config

Read the full file on GitHub · 95 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. 7d ago First seen · 95 lines · 18 tokens per session scan A cf915a8f39a9

Subscribe to this mod's changes

scaffold-wp-theme is a command published in the GitHub repository siddik-web/wp-block-theme-converter (45 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 842 once invoked, about $0.0001 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-08-30.