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…

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.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.svg" alt="Measured on agentmods" 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 $0.00048 $0.02572
Sonnet 5 $0.00019 $0.01029
Haiku 4.5 $0.00010 $0.00514

Measured 6d ago against content hash 7aaff486d42f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

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. 6d 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 (3 stars, last pushed 9d ago), licensed MIT. It adds 95 tokens to every session and 5,143 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

antfu/skills · 49 tokens