html-to-block-theme

html-to-block-theme is a skill for Claude Code from a8cteam51/claude-code-plugins. It costs 188 tokens per session (14,052 once invoked), scanned A, original, MIT.

A workflow for turning static HTML, CSS, JavaScript, images, and fonts into an editable WordPress block theme. A block theme uses WordPress templates and content blocks so site owners can edit the design and pages in WordPress.

In plain words
What is it for?
It is for converting static design files into WordPress themes, templates, reusable sections, styles, and page content.
Why use it?
It removes the manual work of translating a finished static design into WordPress while keeping the result close to the original layout.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

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 html-to-block-theme plugin — 2 skills, 2 agents shipped together

Good fit It is for converting static design files into WordPress themes, templates, reusable sections, styles, and page content.

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 a8cteam51/claude-code-plugins
Claude Code
/plugin install html-to-block-theme

Made for: Claude Code.

Or install html-to-block-theme, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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 html-to-block-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/html-to-block-theme/github.svg)](https://agentmods.dev/skills/a8cteam51/claude-code-plugins/html-to-block-theme)
Your own site
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/html-to-block-theme"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/html-to-block-theme/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 html-to-block-theme

Your own site · 80×15
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/html-to-block-theme"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/html-to-block-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,052 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.00188 $0.14052
Opus 5.5 $0.00075 $0.05621
Sonnet 5.5 $0.00038 $0.02810
Haiku 4.5 $0.00019 $0.01405

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

Security

Grade A, and why

html-to-block-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 6d 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/html-to-block-theme/skills/html-to-block-theme/SKILL.md · 358 lines

How it starts

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

Build a WordPress block theme from a set of static HTML designs

End-to-end conversion of a directory of static Claude Design files (HTML + linked CSS + JS + assets) into a standards-driven WordPress block theme on a local Studio site. The output reproduces the designs as closely as possible using WordPress primitives — theme.json, templates, template parts, block styles, and page content an editor can change — not hand-written CSS. Custom behaviour comes from core features first, then from the A8C Special Projects blocks monorepo; the skill never creates a block inside a theme.

Work in phases and do not skip the blueprint. Plan the whole mapping first, get it on disk, then build view by view and refine each against the original in a real browser. The reference guides under ${CLAUDE_PLUGIN_ROOT}/skills/html-to-block-theme/references/ are the source of truth for every mapping, standards, and tooling decision — load the relevant one before acting in each phase.

The plugin's own directory is ${CLAUDE_PLUGIN_ROOT}. The reference guides are files you read, so nothing fills that path in for them: where one writes <plugin-root>, it means this directory. The shell does not have it as a variable.

Inputs

  • Design directory (required) — absolute path to a folder of static .html files plus their linked .css, .js, image, and font assets. The user provides this.
  • Or a live site to rebuild. When the source is a running site, load references/live-site-guide.md first: it says what to ask, how to mirror the pages into a design directory, and how to treat the original's defects. The mirror is then the design directory for the rest of the run.
  • Design documents (optional) — DESIGN.md, decisions.md and views.md, as a design handoff leaves them, in the design directory or its parent. Phase 1, step 5 reads them.
  • Project repository (optional) — a repository generated from a8cteam51/a8csp-project-template. When the Studio site's wp-content is a clone of one, the run is in template mode (detected in Preconditions): it builds into that repository's theme and features mu-plugin under the template's conventions, per references/project-template-guide.md.
  • Studio site — path or registered name of the target Studio site. If the user named neither, list the sites (studio site list --format=json) and ask which one, unless there is exactly one. Never pick a site by the look of its name: the run changes the site it is given.
  • Theme (optional) — the theme to build into, when the user names one. Otherwise the run makes a new theme, or in template mode uses the repository's (Preconditions step 10).

Read the full file on GitHub · 358 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +6 lines 2bb6f5f87a10
  2. 9d ago Changed · +1 lines 34439e494f13
  3. 21d ago Changed · +5 lines 967347c2f796
  4. 27d ago Changed · +1 lines 694304654e25
  5. 29d ago Changed · +191 lines · +39 tokens per session 6576e565130f
  6. 1mo ago Changed · +11 lines f641e955f289
  7. 1mo ago Changed · +16 lines · +29 tokens per session d74873d4cd02
  8. 2mo ago First seen · 127 lines · 120 tokens per session scan A ed11976c96ce

Subscribe to this mod's changes

html-to-block-theme is a skill published in the GitHub repository a8cteam51/claude-code-plugins (6 stars, last pushed 5d ago), licensed MIT. It adds 188 tokens to every session and 14,052 once invoked, about $0.0008 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

html-to-block-theme compared with skills from other repositories

html-to-block-theme next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
html-to-block-themea8cteam51/claude-code-pluginsSkill65d agoMITA188Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill50ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34kyesterdayMITA52Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1ktodayMITA104Claude Code
prototype-webnexu-io/html-anythingSkill9.5ktodayApache-2.0A24Claude Code, Codex