migrate-divi-to-gutenberg

migrate-divi-to-gutenberg is a skill for Claude Code from respira-press/agent-skills-wordpress. It costs 62 tokens per session (3,760 once invoked), scanned A, original, MIT.

A WordPress migration tool that turns Divi pages into native Gutenberg blocks. Gutenberg is WordPress's built-in block editor, and Divi is a separate page builder that stores content as shortcodes.

In plain words
What is it for?
Use it to plan and convert Divi sections and modules into core blocks, then carry their colors and typography into the block editor's global styles.
Why use it?
It helps remove dependence on Divi without manually rebuilding every page, while creating draft copies for review.

Skill for Claude Code

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

Part of the respira-wordpress-skills plugin — 50 skills shipped together

Good fit Use it to plan and convert Divi sections and modules into core blocks, then carry their colors and typography into the block editor's global styles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/respira-press/agent-skills-wordpress/migrate-divi-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 respira-press/agent-skills-wordpress --skill migrate-divi-to-gutenberg
Clone the repo
git clone --depth 1 https://github.com/respira-press/agent-skills-wordpress

Made for: Claude Code.

Or install respira-wordpress-skills, the plugin that ships this one along with the rest of its 50 skills.

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 migrate-divi-to-gutenberg

README.md
[![agentmods](https://agentmods.dev/badge/skills/respira-press/agent-skills-wordpress/migrate-divi-to-gutenberg/github.svg)](https://agentmods.dev/skills/respira-press/agent-skills-wordpress/migrate-divi-to-gutenberg)
Your own site
<a href="https://agentmods.dev/skills/respira-press/agent-skills-wordpress/migrate-divi-to-gutenberg"><img src="https://agentmods.dev/badge/skills/respira-press/agent-skills-wordpress/migrate-divi-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 migrate-divi-to-gutenberg

Your own site · 80×15
<a href="https://agentmods.dev/skills/respira-press/agent-skills-wordpress/migrate-divi-to-gutenberg"><img src="https://agentmods.dev/badge/skills/respira-press/agent-skills-wordpress/migrate-divi-to-gutenberg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,760 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 23
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 128
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00062 $0.03760
Opus 5 $0.00031 $0.01880
Sonnet 5 $0.00012 $0.00752
Haiku 4.5 $0.00006 $0.00376

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

Security

Grade A, and why

migrate-divi-to-gutenberg 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 11d 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.

skills/migrate-divi-to-gutenberg/SKILL.md · 346 lines

How it starts

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

Migrate Divi to Gutenberg

Version: 2.1.0 Updated: 2026-08-04 Freshly updated: v2.1.0 adds design-token awareness: conversion writes now register the colors and typography they carry as named design tokens in the block editor's own global styles, and converted pages reference those tokens instead of carrying value copies. Reuse registered tokens instead of re-inlining raw values, and report the registration in the migration summary.

Converts Divi-built WordPress pages to native Gutenberg blocks. Parses Divi's shortcode-based content from post_content, maps each module to its closest core block equivalent, generates a migration plan for approval, and writes clean block markup to the target pages. Use this skill whenever someone wants to move from Divi to Gutenberg, eliminate the Divi dependency, switch to native blocks, or simplify their WordPress stack by removing Elegant Themes' builder.

What This Skill Does

Divi stores everything as nested shortcodes directly in post_content — a fundamentally different approach from JSON-based builders. The content is a hierarchy of [et_pb_section], [et_pb_row], [et_pb_column], and [et_pb_module] shortcodes with settings as attributes. Converting this to Gutenberg blocks means parsing that shortcode tree, extracting content and settings, and generating the equivalent <!-- wp:block --> markup.

This is one of the more complex migrations because Divi shortcodes often contain escaped HTML, base64-encoded content, and deeply nested attribute strings that need careful parsing.

Handles:

  • et_pb_section → Group block with layout settings
  • et_pb_row/et_pb_column → Columns and Column blocks
  • et_pb_text → Paragraph blocks (with inline HTML preserved)
  • et_pb_blurb → Group block with Image + Heading + Paragraph
  • et_pb_image → Image block
  • et_pb_button → Buttons block
  • et_pb_video → Video or Embed block
  • et_pb_divider → Separator block
  • et_pb_slider/et_pb_slide → Gallery or Group blocks (simplified)
  • et_pb_accordion/et_pb_accordion_item → Details blocks (WP 6.3+)
  • et_pb_tabs/et_pb_tab → Group with heading blocks
  • et_pb_toggle → Details block (WP 6.3+)
  • et_pb_code → Custom HTML block
  • et_pb_sidebar → Widget block
  • et_pb_gallery → Gallery block
  • et_pb_counters → HTML approximation
  • Fullwidth variants (et_pb_fullwidth_*) → full-width Group blocks

Read the full file on GitHub · 346 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. 11d ago First seen · 346 lines · 62 tokens per session scan A 19184f7e5204

Subscribe to this mod's changes

migrate-divi-to-gutenberg is a skill published in the GitHub repository respira-press/agent-skills-wordpress (43 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 3,760 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

baoyu-markdown-to-html

Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, footnotes, alerts, infographics, and optional bottom citations for external links. Use when user asks for "markdown to html", "convert md to html", "md 转 html"…

JimLiu/baoyu-skills · 94 tokens

liveview-patterns

Build LiveView: async data (assignasync), PubSub (check connected?), phx-change events, form components/modals/uploads, streams for lists, livepatch. Use when handling interactions, debugging events, or tracking Presence.

oliver-kriska/claude-elixir-phoenix · 51 tokens

cesiumjs-camera

CesiumJS camera control - Camera, flyTo, lookAt, setView, ScreenSpaceCameraController, CameraEventAggregator, flight animation. Use when positioning the camera, creating flyTo animations, constraining user navigation, tracking entities, or converting between screen and world coordinates.

CesiumGS/cesiumjs-skills · 61 tokens

cesiumjs-custom-shader

CustomShader authoring — vertexShaderText and fragmentShaderText against VertexInput, FragmentInput, FeatureIds, Metadata, czmmodelMaterial. Use when reading EXTmeshfeatures or EXTstructuralmetadata property textures/tables, vertex displacement, or shading VoxelPrimitive.

CesiumGS/cesiumjs-skills · 61 tokens

cesiumjs-primitives

CesiumJS primitives and geometry - Primitive, GeometryInstance, Appearance, BufferPrimitive collections, GeoJsonPrimitive, Billboard/Label/PointPrimitive collections, built-in geometry shapes, ground primitives, classification. Use when rendering performance-critical static or vector geometry, loading GeoJSON without…

CesiumGS/cesiumjs-skills · 76 tokens

cesiumjs-time-properties

CesiumJS time, properties, and animation - Clock, JulianDate, TimeInterval, Property, SampledProperty, CallbackProperty, PathMode, interval and sampled path materials, interpolation, splines, CZML temporal data. Use when making entity attributes or path materials time-dynamic, configuring the simulation clock…

CesiumGS/cesiumjs-skills · 84 tokens