wpbakery-to-gutenberg

wpbakery-to-gutenberg is a skill for Claude Code from a8cteam51/claude-code-plugins. It costs 95 tokens per session (5,143 once invoked), scanned A, original, MIT.

A procedure for changing one local WordPress page from WPBakery, a visual page builder, into Gutenberg, WordPress’s built-in block editor. It converts the page’s shortcodes into block markup.

In plain words
What is it for?
Use it when given a local WordPress Studio page URL and, optionally, the site’s folder path.
Why use it?
It provides an end-to-end way to replace WPBakery content while following defined mappings for each shortcode. This avoids manually translating the page structure.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: positional $N argument; mentions Claude Code.

Part of the wpbakery-to-gutenberg plugin — 1 skill, 1 command shipped together

Good fit Use it when given a local WordPress Studio page URL and, optionally, the site’s folder path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a8cteam51/claude-code-plugins/wpbakery-to-gutenberg
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 a8cteam51/claude-code-plugins --skill wpbakery-to-gutenberg
Clone the repo
git clone --depth 1 https://github.com/a8cteam51/claude-code-plugins

Made for: Claude Code.

Or install wpbakery-to-gutenberg, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 wpbakery-to-gutenberg

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/wpbakery-to-gutenberg"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/wpbakery-to-gutenberg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00095 $0.05143
Opus 5.5 $0.00038 $0.02057
Sonnet 5.5 $0.00019 $0.01029
Haiku 4.5 $0.00010 $0.00514

Measured 3mo ago against content hash 7aaff486d42f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wpbakery-to-gutenberg scanned grade A 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **Studio's `wp` runs in a sandbox that cannot see the host `/tmp/` directory.** Any file that PHP must `file_get_contents()` from inside a `studio wp eval-file` has to live **inside the site directory** (`<site-path>/
plugins/wpbakery-to-gutenberg/skills/wpbakery-to-gutenberg/SKILL.md · 238 lines

How it starts

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

Convert a page from WPBakery to Gutenberg

End-to-end conversion of a single post/page on a local WordPress Studio site. The mappings reference at ${CLAUDE_SKILL_DIR}/references/shortcode-mappings.md is the source of truth for how each vc_* shortcode becomes Gutenberg block markup — load it before writing any conversion output.

Inputs

  • Page URL (required) — full permalink, e.g. http://localhost:8881/about-us/. The user provides this.
  • Site path (optional but preferred) — absolute path to the Studio site's WordPress root, e.g. /Users/<user>/Studio/my-site. If the user provides it, use it as-is. If they don't, infer it by matching the URL's host:port against studio site list --format=json (look at each entry's localhost.url field). If exactly one site matches, use its path; if zero or multiple match, stop and ask.

Critical environment quirks

Two non-obvious things will silently corrupt this skill's output if missed:

  1. Studio's wp runs in a sandbox that cannot see the host /tmp/ directory. Any file that PHP must file_get_contents() from inside a studio wp eval-file has to live inside the site directory (<site-path>/...). Files placed in /tmp/ are fine for host-side tools (curl, perl, Read) but invisible to studio wp. This skill stages PHP-readable files at <site-path>/.wpbakery-migration/ and cleans them up on the way out.
  2. studio wp eval-file - (stdin heredoc) can silently no-op — it returns exit 0 with no output and no error, but the database is unchanged. Always pass a real file path, and always have the PHP echo a sentinel line that the caller greps for. Trust nothing without the sentinel.

Why everything goes through studio wp, not bare wp

This skill invokes WP-CLI via studio wp [...] --path=<site-path>, not bare wp --path=<site-path>. Studio sites use SQLite as the database, and the Studio-managed wp wrapper handles that connection — bare wp from the host shell will fail or connect to nothing useful. The CLI surface used here is documented at https://developer.wordpress.com/docs/developer-tools/studio/cli/.

Read the full file on GitHub · 238 lines

Files

What ships with it

2 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. 3mo ago First seen · 238 lines · 95 tokens per session scan A 7aaff486d42f

Subscribe to this mod's changes

wpbakery-to-gutenberg is a skill published in the GitHub repository a8cteam51/claude-code-plugins (7 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 5,143 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

wpbakery-to-gutenberg compared with skills from other repositories

wpbakery-to-gutenberg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wpbakery-to-gutenberga8cteam51/claude-code-pluginsSkill7todayMITA95Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code