Skip to content
Back to skills

Page Builders

ASecurity

Detect the builder, read its tree, and change one element per hash-checked, snapshotted write.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsdatabase

Works with

  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add wpmcp/wpmcp --skill page-builders --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Page Builders?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Page Builders
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wpmcp-page-builders/badge)](https://www.skillsdirectory.com/skills/wpmcp-page-builders)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Builder pages: Bricks, Breakdance, Divi, Oxygen and others
description: Detect the builder, read its tree, and change one element per hash-checked, snapshotted write.
version: 1.0.0
tier: pro
tags: [integrations, builders]
requires_any:
  - wpmcp/get-builder-content
---

# Editing builder pages

Every builder stores a page in its own format (JSON trees, shortcodes, HTML).
The rule is the same as for Elementor: never regenerate a whole page. Read
the tree, change one element by its path, and leave everything you did not
model untouched. For Elementor, check list-skills for an Elementor editing
skill and follow it when this site has one; for the block editor,
`wpmcp-block-editing`.

## Orient first

1. `wpmcp/detect-builder` on the post. It names the builder (bricks, divi,
   wpbakery, avada, beaver-builder, breakdance, oxygen, oxygen-classic,
   thrive, cornerstone, gutenberg, classic). Pass that name as `builder` on
   every builder call.
2. `wpmcp/get-builder-content` with the post id and builder. It returns the
   element tree with a path for each element and, for most builders, a hash
   of what you read.
3. For a widget or element whose settings you have not seen, read its
   controls with `scope: "catalog"` and the element name, instead of guessing
   setting keys. A guessed key is silently ignored by most builders.

## Change one element

`wpmcp/update-builder-content` takes an `operation`:

- update: `path` plus the `attrs` and/or `text` to change. Unchanged
  settings keep their values.
- add: `to` (a parent path, empty for the top level), `index` and the new
  `element`.
- remove: `path`.
- move: `path`, `to` and `index`.

Pass `expected_hash` from your last read whenever the read returned a hash
(Divi 5, WPBakery, Avada, Oxygen, Thrive, Cornerstone and BeTheme require
it). If someone edited the page since, the write is refused: read again and
re-plan rather than forcing it. Bricks
and Divi 4 take a whole content document instead of an operation; for those,
change only the element you need inside the tree you read and send it back
with nothing else altered.

## Worked example: change a heading

User: "On the Services page, change the hero heading to Book a free call."

1. `wpmcp/detect-builder` says breakdance.
2. `wpmcp/get-builder-content`, find the heading element in the hero section
   and note its path (and the hash, if the read returned one).
3. `wpmcp/update-builder-content` with operation update, that path and the
   new text.
4. `wpmcp/get-builder-content` again, then `wpmcp/clear-cache` and
   `wpmcp/get-rendered-html` to confirm visitors see it. Builders cache CSS
   and HTML per page.

## Site-wide design

Colors, typography, global classes and variables (Bricks, Breakdance, Avada)
live in `scope: "design_system"`, and WPBakery templates in
`scope: "templates"`. A global change restyles every page: list the pages
that will change and confirm first.

## Undo

Supported writes are snapshotted; `wpmcp/rollback-operation` restores the page as
it was. Never fall back to `wpmcp/set-post-meta` or the database tools to
write builder data: that bypasses the hash check and the builder's own
format validation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.