html-to-generateblocks

html-to-generateblocks is a skill for Claude Code, Codex from wpgaurav/generateblocks-skills. It costs 20 tokens per session (6,545 once invoked), scanned C, original, no licence file.

A conversion workflow for turning HTML and CSS layouts into GenerateBlocks V2 layouts for WordPress, using styles placed directly in the blocks. HTML structures page content, and CSS controls its appearance.

In plain words
What is it for?
Use it to convert HTML/CSS page layouts into GenerateBlocks V2 markup with inline styles.
Why use it?
It reduces the manual work of recreating an existing web layout in WordPress blocks.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to convert HTML/CSS page layouts into GenerateBlocks V2 markup with inline styles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wpgaurav/generateblocks-skills/html-to-generateblocks
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 wpgaurav/generateblocks-skills --skill html-to-generateblocks
Clone the repo
git clone --depth 1 https://github.com/wpgaurav/generateblocks-skills

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 html-to-generateblocks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wpgaurav/generateblocks-skills/html-to-generateblocks"><img src="https://agentmods.dev/badge/skills/wpgaurav/generateblocks-skills/html-to-generateblocks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,545 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 unknown 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.00020 $0.06545
Opus 5 $0.00010 $0.03272
Sonnet 5 $0.00004 $0.01309
Haiku 4.5 $0.00002 $0.00654

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

Security

Grade C, and why

html-to-generateblocks 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- wp:query {"queryId":1,"query":{"perPage":12,"postType":"post","order":"desc","orderBy":"date","taxQuery":{"category":{"terms":[],"operator":"NOT IN"}}}} -->
skills/html-to-generateblocks/SKILL.md · 441 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. 10d ago First seen · 441 lines · 20 tokens per session scan C bc972241a135

Subscribe to this mod's changes

html-to-generateblocks is a skill published in the GitHub repository wpgaurav/generateblocks-skills (124 stars, last pushed 9d ago), with no licence file. It adds 20 tokens to every session and 6,545 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

elementor-v3-builder

Stonewright Elementor V3 builder for native-first implementation from Figma, screenshots, images, or briefs, plus pages, widgets, Loop Grid, templates, kit styles, responsive edits, and safe batch mutations. Use whenever a task reads, plans, builds, or repairs an Elementor V3 page or template.

cosmincraciun97/stonewright-wp-mcp · 68 tokens

popular-web-designs

54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.

NousResearch/hermes-agent · 23 tokens

reimagine-it

Content-Derived Design — reads existing HTML and writes a stronger standalone page from headings, facts, names, dates, numbers, links, emails, and colors already in that file. CLI: npx reimagine-it --auto -i page.html -o out.html; also variations, lock, and audit. Use when the user says /reimagine-it, "reimagine it"…

Kayforkind/reimagine-it · 230 tokens

reimagine-it-extract

Emit the content signals reimagine-it reads from an HTML file — title, anchors, proper nouns, dates, numbers, emails, links, source hex colors, and the derived palette — as JSON without generating a redesign. Use when the user says /reimagine-it extract, "what does the engine see in this page", "extract the palette"…

Kayforkind/reimagine-it · 133 tokens

preline-mcp

Add, integrate, or build Preline UI components and blocks into HTML files via the Preline MCP server. Use when the user mentions "preline", says "/preline", asks to add a UI component, or requests a Preline block (a ready-made page section) using Preline UI.

htmlstreamofficial/preline · 66 tokens

preline-theme-generator

Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated…

htmlstreamofficial/preline · 89 tokens