Mcp Ai Builder Authoring
ASecurityHow to build or edit an Unbounce AI Builder page through Unbounce MCP — get_ai_builder_catalog, create_ai_builder_page, get_ai_builder_document, edit_ai_builder_page, create_ai_builder_variant for an A/B test, then publish_page — or start one from an Unbounce template with list_ai_builder_templates, and what makes the page good. Use by default when the user asks to create, build, design, or generate a new Unbounce landing page (AI Builder is the default route for a new page unless the account...
- 2 stars
- 0 votes
- 0 copies
- 2 views
- Added October 22, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add unbounce/agent-plugins --skill mcp-ai-builder-authoring --agent claude-codeAre you the author of Mcp Ai Builder Authoring?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/unbounce-mcp-ai-builder-authoring)---
name: mcp-ai-builder-authoring
description: How to build or edit an Unbounce AI Builder page through Unbounce MCP — get_ai_builder_catalog, create_ai_builder_page, get_ai_builder_document, edit_ai_builder_page, create_ai_builder_variant for an A/B test, then publish_page — or start one from an Unbounce template with list_ai_builder_templates, and what makes the page good. Use by default when the user asks to create, build, design, or generate a new Unbounce landing page (AI Builder is the default route for a new page unless the account's plan lacks it or they ask for a Classic or custom-HTML page), and whenever the page to edit, restyle, A/B test, or publish is an AI Builder page, including a colleague's. Carries a menu of design-system references to style a page from.
requires:
mcpServers:
- unbounce-mcp
---
# Authoring an Unbounce AI Builder page
An AI Builder page is stored as an **editor document**: a JSON component tree
(GrapesJS project data) built from the components in the client's AI Builder
catalog and styled with the client's style guide. You author that document;
Unbounce validates it, stores it, and renders it.
## Which route
Each account in `list_accounts_and_clients` carries `builders`: whether its
plan includes AI Builder (`ai_builder`) and the Classic Builder (`classic`),
each true, false, or null when it could not be read. Read it before choosing.
- **AI Builder is the default** for a new page unless `ai_builder` is false.
- Use the Classic HTML route (`create_page_from_html`, the `mcp-page-authoring`
skill) when `ai_builder` is false, when the user asks for a Classic or
custom-HTML page, or when the catalog genuinely cannot express a widget.
Custom page-level JavaScript on an AI Builder page is
`set_ai_builder_custom_code`, not a reason to switch to Classic. Not when
`classic` is false: that plan has no Classic Builder.
- With both false the plan includes neither of these builders (it may still
have another, such as Smart Builder), and no page can be created here. Tell
the user.
- Tell the user which route you took and why.
- An existing page stays on the route it was built with. A Classic page is
edited with the Classic tools; an AI Builder page with the tools below.
## These pages are editable in the Unbounce AI builder
A page made or changed here is an ordinary AI Builder page. The user — and
anyone else on the client — can open it and keep editing it in the Unbounce AI
builder (`create_ai_builder_page` returns its `editor_url`). The "cannot be edited
in the Unbounce builder" rule is about **Classic pages authored from HTML only**
and does not apply here; never tell the user an AI Builder page is MCP-only.
## What does not work on an AI Builder page
These tools refuse an AI Builder page, so say so instead of trying them:
- The Classic HTML tools: `update_variant_from_html`, `create_variant_from_html`,
`create_variant_from_existing_variant`, `bulk_edit_variants`, `get_variant`.
To add a variant to an AI Builder page use `create_ai_builder_variant` (see
"An A/B test" below).
- `get_layout_hints`.
`set_variant_standing` works, with one limit on these pages: promoting the
current champion or a discarded variant is rejected
(`set-variant-standing.upstream-validation`) — bring a discarded variant back
as a challenger first. `set_page_metadata` works (see "Page metadata" below).
`set_traffic`, `set_variant_name`, `manage_page_redirect`, `get_page_stats`,
`reset_page_stats`, `unpublish_page`, and `delete_page` work as on a Classic
page. A page with no traffic recorded yet
returns `variants: []` with a `variants_unavailable` note, on any builder.
## Finding a page
`list_accounts_and_clients` returns each client with `clientUuid` and `clientId`.
Pass `clientUuid` as `client_uuid` to `list_client_pages`; `clientId` is the
numeric `context` the AI Builder tools take.
`list_client_pages` lists **Classic pages only by default**. To find an AI Builder
page — "edit my colleague's page" — pass `builder: "ai_builder"` (or `"any"` for
both). Under those scopes `total` is absent and `next_after` is a heuristic: keep
paging until `next_after` is gone, and expect some slices to come back empty.
Then `list_page_variants` with the `page_uuid`: identify each variant by its
`letter`. On an AI Builder page `variant_id` and `preview_url` are absent, and the
`page` block carries `context`.
## Tool order
**A new page**
1. `list_accounts_and_clients` — the client's `clientId` is the `context`, and
its account's `builders` decides the route (see "Which route").
2. `get_ai_builder_catalog` with `context`. It returns the component projection
(`type`, `name`, `category`, `description`) and the client's `style_guide`.
Call it again with `component_types` for the full definition (traits,
defaults, default children; styles only with `include_styles`) of the few
components you mean to use.
Every account that can use AI Builder gets the full catalog and a style
guide (Unbounce's default when the account has none of its own).
`style_guide` is `null` only when the read failed; `style_guide_unavailable`
names the HTTP status. That may be transient: call `get_ai_builder_catalog`
again before authoring.
3. Plan the page (see [rules/craft.md](rules/craft.md)) and, if useful, pick one
design system from the menu below.
4. Author the document. Use only catalog component types and the editor's own
built-in types, which the validator also accepts: `text`, `textnode`, `link`,
`image`, `video`, `button`, the form controls, `svg`, and `default` (a node
with no `type` is a `default` node). Carry text in a
`{ "type": "textnode", "content": "…" }` child, never an HTML string. If you
are unsure of the shape, read an existing AI Builder page with
`get_ai_builder_document` and follow its `document`. Give every component
whose text comes from a `data-*` trait both the trait and matching children
(see "Rendered text follows its `data-*` source"). The document must
serialize to at most 1,000,000 bytes.
5. Style with the style guide's variables — see "Styling" below. Brand colours
and fonts the user names become the page theme (step 7's `theme`), not
literal values.
6. Under about 100 KB, pass the document inline as `document`. Above that, `upload`
the JSON file (or `upload_inband` when you cannot run shell commands) and pass
the `upload://` reference as `document_ref`. Exactly one of the two. The
1,000,000-byte limit still applies either way; 100 KB is only so the inline
JSON does not fill the conversation.
7. `create_ai_builder_page` with `context` and that `document` or `document_ref`;
optionally `page_name`, `variant_name`, `style_guide_id` (omit it to use the
client's resolved style guide — a page is pinned to its style guide at
creation only), and `theme` (see "Styling").
It returns the new page's uuid as `page_id`. The page is created
unpublished, with no URL. Then call `get_ai_builder_render` with
`page_uuid` set to that `page_id`, and `context`, to check the page
renders; the validator cannot.
8. `publish_page` with `page_uuid` set to that `page_id` — only when the user
asks to publish.
**A page from an Unbounce template**
Start from a template when the user names one, or wants a ready-made layout to
fill with their own copy. Author a page (above) when the structure they describe
matches no template.
1. `list_accounts_and_clients`, as above.
2. `list_ai_builder_templates`, optionally narrowed with `name` or `tag` (a page
type such as `lead generation` or `webinar`, an industry such as `SaaS`).
This list is the only source of truth for which templates exist: a template
the user saw in the gallery on Unbounce's website may be named differently
here, or not be an AI Builder template at all. Match what they asked for
against `name`, `description` and the tags, offer the closest, and say so
when none fits.
3. `create_ai_builder_page` with `context` and `template` set to the chosen
template's `uuid` (never its name); optionally `page_name`, `variant_name`
and `style_guide_id`. Not `theme`: that is refused (`theme-with-template`)
and goes on in step 5. The page is a copy of the template — its content,
styles and conversion goals — and is unpublished. The template keeps its own
look: the style guide pinned to the page does not restyle it.
4. `get_ai_builder_document` with `page_uuid` set to that `page_id`, and
`context`. Keep the `version_id`, and note the `conversion_goals` block.
5. `edit_ai_builder_page` to make it the user's: one `set_theme` for their brand
colours and fonts, which every component styled with the theme follows
(change a component the template styles with a literal value with
`update_style`); `update_text` for each piece of copy; `update` for image
sources and links; `delete` and `insert` for sections that do not fit. A
call takes up to 50 operations, so rewriting a long template can take two or
three calls, each passing the `version_id` the previous one returned. Then
`get_ai_builder_render` to check it renders.
6. `set_conversion_goals` when the template's goals are not the ones the user
wants. A template page keeps the template's goals and does not get the form
goal an authored page gets.
7. `publish_page` when the user asks.
**An existing page**
1. `list_client_pages` with `builder: "ai_builder"`, then `list_page_variants`.
2. `get_ai_builder_document` with `page_uuid`, `context`, and `variant` (the
letter, default `a`). Read it right before you edit, and re-read after any
pause or failure. Keep the `version_id` it returns: the edit needs it.
3. `edit_ai_builder_page` with `page_uuid`, `context`, `variant`, `version_id`
(from step 2, or from your previous edit's result), and `operations` (1 to 50: `insert`, `update`, `delete`, `update_text`,
`update_style`, `reorder`, `set_theme`). See "Editing" below. Editing does not publish.
After the edit, call `get_ai_builder_render` with the same `page_uuid`,
`context` and `variant` to check that variant renders.
4. `publish_page` with `page_uuid` when the user asks.
Set the page's SEO title, description and social card with `set_page_metadata`
at any point before publishing (see "Page metadata" below).
Set what counts as a conversion with `set_conversion_goals` before publishing
(see "Conversion goals" below). A page created here from a document that has a
form already counts the form; a page created from a template has the template's
goals.
**An A/B test**
1. `create_ai_builder_variant` with `page_uuid`, `context` and
`source_variant` (the letter to copy, usually the champion from
`list_page_variants`), plus a `variant_name`. The copy carries the source's
content, conversion goals, lineage and style guide. To add a variant you
authored instead, pass the document the way a create takes it, `document`
inline under about 100 KB or `document_ref` (an `upload://` file) above
that, rather than `source_variant`. Exactly one of the three. An authored
variant is validated like a create and takes the champion's conversion
goals for every element it has (`goals_copied_from`, `active_goals`);
`goals_dropped` lists the champion's goals it has no element for. When the
champion has no goals to copy, a document with a form gets the form goal a
create adds (`form_goal_defaulted`). A document that sets its own
`activeGoals` keeps them.
2. `get_ai_builder_document` the new letter — the copy has its own
`version_id` — then `edit_ai_builder_page` it with the change under test.
3. `set_traffic`: the new variant has no traffic until it is routed. On a
single-routed page the result says so (`standing: "discarded"`); on a page
already split it is added as a challenger at weight 0. Either way give it a
share (`weighted`, or `dta` for Smart Traffic).
4. A copy and an authored variant both count what the champion counts. Call
`set_conversion_goals` with the page's complete set (see "Conversion goals"
below) only when that should change: the result carries `goals_dropped`,
its `goals_note` says the champion's goals could not be read, or the new
variant has a link, phone number or lightbox the test should count. Do it
after `set_traffic`: it writes only variants in the routing config, so a
variant still `discarded` is skipped.
5. `publish_page` when the user asks.
If the tool fails after creating the variant (`content-write-failed`), the
letter it names has no content: remove it with `delete_variant` before retrying.
## Conversion goals
`create_ai_builder_page` writes `[{ type: "form", url: "/fs" }]` into
`pages[0].settings.activeGoals` when the document has a form and does not
already set that list. The published form then posts to `/fsg` and counts. An
explicit empty `activeGoals` is left alone. A variant authored with
`create_ai_builder_variant` takes the champion's goals instead, and this form
default only when the champion has none (see "An A/B test" above). A page
created from a template is not given this default either: it keeps whatever
goals the template stores, which `get_ai_builder_document`'s `conversion_goals`
shows.
To turn the form off, or to count a link, a phone number, or a lightbox, call
`set_conversion_goals` with the **complete** set (`form_submission` and
`link_urls`) before `publish_page`. It writes every active variant. A URL that
matches nothing on those variants is refused, and the error lists the real
candidates. Read them from `get_ai_builder_document`'s `conversion_goals` on
the first page (or a full view). A trailing slash does not matter. A goal
already stored that matches no candidate is kept.
The goals show in the Unbounce AI builder's Goals panel. A save there keeps a
goal whose element is still on the page and drops one whose element is gone.
`mailto:` links are not goals, and neither is an image `data-href`. A variant
that already had this set is not saved. A variant that changes gets a new
`version_id`: pass `variants_updated[].version_id` to the next
`edit_ai_builder_page` only when that entry is not `unchanged`. Nothing is
live until `publish_page`.
## Styling
One rule, in this skill and in [rules/craft.md](rules/craft.md) alike:
- Use the style guide's variables (`style_guide.variables`, written
`var(--name)`) for every colour, font, type size, weight, line height,
spacing, radius, border, and shadow the style guide has a variable for.
Variables follow a rebrand and the AI builder's theme editor; literal values
survive neither.
- **Brand colours and fonts the user names go in the page theme**, never in
literal values: `theme` on `create_ai_builder_page`, or a `set_theme`
operation on `edit_ai_builder_page`. A theme maps variables named in
`style_guide.themeable` to values, such as
`{ "--brand": "#0a7cff", "--ub-font-display": "Poppins" }`, and sets them
as the AI builder's theme panel would: every component styled with
`var(--…)` follows, and the user can change them in that panel, where each
shows as Custom. Keep styling components with the variables; the theme
changes what they hold.
- Setting a palette's base colour (`--brand`, `--ub-color-secondary`,
`--ub-color-accent`, `--ub-color-text`, `--ub-success`, `--ub-warning`,
`--ub-danger`) as a `#` hex or `rgb()` also sets its five-step series and
moves the button, link, form-field and text colours that still follow it (on
a fresh page `--brand` moves the buttons and links), as the AI builder does,
unless you set those yourself; `theme_derived` lists them. Read it rather
than assume: a colour follows only while it equals the palette colour, so on
Unbounce's default style guide `--ub-color-text` does not move the body text
(`--ub-font-body-color`); set that variable too when the user wants it
changed. A colour name or `hsl()` is written but moves nothing, and
`theme_warnings` says so: send palette colours as `#` hex.
- To undo a theme value, set it to `null` in `set_theme`: the variable goes
back to its style-guide default, and a palette colour's series and followers
go back with it. A
font variable takes a Google Fonts family from the AI builder's catalogue
(spelled as Google Fonts spells it) or a generic or system family; its web
font is declared for you. An unknown variable or family is refused
(`invalid-theme`).
- Literal values for those are allowed in two places only: a **section or
decorative background** (a tint, a gradient, an orb) or a **one-off accent**
that harmonizes with the palette, and a **layout dimension the style guide
has no variable for** (a width or height, `max-width`, padding, margin,
`gap`, grid template, or `aspect-ratio`), in px, %, or `fr`. Never write a
literal font family, and never a literal text, border, or button colour.
- CSS that is not a design value — `display`, `position`, flex and grid
alignment, `clip-path` shapes, `filter`, `z-index`, `object-fit` — is
written as-is.
- A `var(--x)` without a fallback that the style guide does not set fails
validation. A `var(--x, fallback)` is **not** checked, so never use a
fallback to hide a variable the style guide does not set.
- A component's own CSS lives in its `#id` rule in `styles`, where the AI
builder's Style Manager edits it. Inline `style` (on the component or in its
`attributes`) on a created or inserted component is moved there, values
unchanged; a component without an `attributes.id` is given one, reported in
`generated_ids`.
## Rendered text follows its `data-*` source
The AI builder rebuilds much visible text from the component's own `data-*`
traits each time it loads the page: button and field labels, stat values,
accordion questions and answers, testimonial quotes and authors, pricing plans.
The published page shows the stored children instead. So, when authoring and
when editing alike, set the trait **and** write children that say exactly the
same thing; never children that disagree with it. A stat item:
```json
{
"type": "ub-stat-item",
"attributes": { "data-value": "10,000+", "data-label": "Active users" },
"components": [
{
"tagName": "span",
"classes": ["ub-stat-item__value"],
"components": [{ "type": "textnode", "content": "10,000+" }]
},
{
"tagName": "span",
"classes": ["ub-stat-item__label"],
"components": [{ "type": "textnode", "content": "Active users" }]
}
]
}
```
- **Give the children the catalog's structure.** Write them with the elements
and classes of the type's default children in `component_details` (above,
`span.ub-stat-item__value` and `span.ub-stat-item__label`). The builder finds
them by those classes when a trait changes; children that carry none of them
are never updated, so the published page keeps showing them. Create and
`insert` report such a component in `warnings` (only for a type with
`data-*` traits; a section, nav or footer is never reported).
- **`ub-form-button` is the exception:** `data-label` and no children, or its
label renders twice. What the published page shows is the button's `text`,
which the tools set from `data-label` on create, `insert` and `update`,
with `aria-label` beside it. Removing `data-label` clears both.
- **Use `ub-form-inline` for a lead-capture form.** It is what the AI builder's
own Lead Capture inserts; the older `ub-form` container still works and is
named in `warnings`. A form submits into a confirmation dialog
(`ub-form-lightbox-dialog-thankyou`), which `ub-form-inline`'s own defaults
place immediately before its `ub-form-button`. Write that dialog among the
form's children, with no children of its own — its panel is a part the editor
builds from the type's defaults, and children written into it arrive untyped,
so a visitor can delete the panel or drop anything into it. A form written
without one is given one, listed in `confirmation_dialogs_added`; a form sent
with no `components` at all keeps the type's defaults, which already carry it.
- **One form per page.** A landing page converts on a single call to action, and
a second form splits it. Two or more are named in `warnings` rather than
refused — write one unless the page genuinely needs two.
- **The write tools grade the page.** `create_ai_builder_page` and
`edit_ai_builder_page` return non-fatal `warnings` for the things that make a
generated page look generated: no image anywhere on the page, demo content
the catalog ships left in place, three or more ready-made section components
in a row, a submit button set to show a confirmation dialog its form does not
have, and a `styles` array anywhere but the document root. None of them fails
the write — treat them as a punch list before handing the page over. On an
edit they cover what that batch wrote, not the whole page, and missing
imagery is only judged on create.
- **List-encoded traits** (`data-features` on a pricing card, `data-links` on a
navbar or footer) hold every item in one value. Change an item by setting
the whole trait with `update`, not by editing the rendered item. For a
pricing card, write the `ul.ub-pricing-card__features` container: on create,
`insert` and an `update` of `data-features`, the tools rewrite its items to
one `li.ub-pricing-card__feature` per `|`-separated entry (the update lists
the container in `synced`). Each entry is the item's markup, as in the
editor: `A & B` shows `&`, `<b>x</b>` shows bold. An entry may hold only text and
the inline formatting elements `b`, `i`, `em`, `strong`, `u`, `s`, `small`, `sub`, `sup`, `mark`, `code`, `br`, `span`, with no attributes; a link, an image, any other
element, an attribute or a comment refuses the whole write.
A card with no container, or with traits and no
children, is left as it is and named in `warnings`: it publishes without
those items until someone opens and saves the page in the AI builder.
- **Edits keep the two in step**, both ways, and list every value changed this
way in `synced`. When two `data-*` attributes on one component hold the same
value, the edit is refused; set the attribute you mean together with its text,
using `update` with both `attributes` and `components`.
## Editing
`operations` run in order as one atomic batch: if any one cannot be applied,
nothing is written.
- **Targets.** Name a component by `{ id }` (its `attributes.id`; it must match
exactly one component, and few components carry one) or by `{ path }` (the
position as the document shows it, such as
`pages[0].frames[0].component.components[2]`).
- **A path is resolved against the document as the earlier operations in the
same batch left it.** After an `insert`, `delete`, or `reorder`, later paths
in the batch point at the shifted positions.
- **Edits are locked to the version you read.** `version_id` is required. If
the variant has been saved since that read, in the Unbounce AI builder or by
another call, the edit fails as `edit-ai-builder-page.conflict` and nothing is
written, so a path from your read can never land on a different component. A
successful edit returns the new `version_id`; pass it to the next edit
instead of re-reading.
- **`update_style`** merges CSS into the component's own `#id` rule. A component
without an `attributes.id` is given one, reported in `generated_ids`; use that
id to target it afterwards. It is not how to change a brand colour or font:
- **`set_theme { theme }`** sets the page theme for the whole page (see
"Styling"), merged over the page's current theme. It names no component.
`get_ai_builder_document`'s `theme` lists the values set away from the style
guide's default, each as `{ value, default }` (the rest are the guide's);
never edit `dataSources` or the `:root` rule directly.
- **`update_text`** does not write into a `script` component; replace the script
with `update` instead.
- **Rendered text follows its `data-*` source** (see the section above): an
`insert` carries the trait and matching children, and an edit to either keeps
the other in step.
- **Relabelling a form field can rename it.** A field whose name follows its
label (`data-copy-name-from-label`) takes the new name on the next save in the
editor, which changes the field name lead integrations receive. Tell the user
when you relabel one.
- **Restore point.** Before writing, the page as it was is saved to the
variant's version history; the result names it `snapshot_version_id`.
- **Not idempotent.** Sending the same batch twice applies it twice: a repeated
`insert` adds a second copy.
## Custom code
A countdown, a tag manager, or a third-party embed is custom code. Write it
with `set_ai_builder_custom_code`, one call, on one variant (default `a`).
- `before_body_end` — a script that needs the DOM: a countdown, an embed.
- `after_body_tag` — a script that must run immediately, such as a tag manager.
- `head` — tags and scripts inside `<head>`.
Pass only the slots to change. `null` or `""` clears a slot. A `<script src>`
is stored as written and runs in the browser on the published page; this call
does not fetch it. The account needs one of `pageScripts`, `pageStylesheets`
or `customHtmlElements` — the same gate Page Settings uses. Without it the
call names that gate and writes nothing. The three slots come back on
`get_ai_builder_document` as `custom_code`. They are staged until
`publish_page`.
Do not put `custom-html-body`, `custom-html-after-body`, `customCodeHead` or
`customCodeBody` in a document for `create_ai_builder_page` or
`edit_ai_builder_page`. Those calls refuse slot content. A `script` component
in the document is not a slot, and those calls still accept it.
## Page metadata (SEO & social sharing)
The page `<title>`, meta description, robots noindex, favicon and Open Graph
(`og:*`) tags are the page's **settings**, not components: they live in
`pages[0].settings` of each variant's editor document, where the Unbounce AI
builder's settings panel also writes them. Set them with `set_page_metadata`
(`page_uuid` only — no `context`); read them back from
`get_ai_builder_document` under `pages[0].settings`. Always set a title and a
description on a page the user intends to publish: a page with no title
publishes under its page name.
- **Every active variant is written** (the ones in the routing config), or one
with `letter`. Each write is a document save: the result's `variants_updated`
lists each variant's **new `version_id`** and its `snapshot_version_id`
restore point. A `version_id` you were holding for `edit_ai_builder_page`
is stale after this call — use the new one, or the edit is refused as a
`conflict`.
- **Fields.** `title`, `description`, `keywords`, `hide_from_search_engines`,
`favicon` (an `upload://` icon or an asset id/uuid from `list_assets`),
`open_graph.title` / `description` / `image` (an https URL or an
`upload://` image). Partial: only passed fields change, `null` clears one.
- **No slot on an AI Builder page**, reported in `warnings` rather than
applied: `open_graph.type` (always `website`) and `open_graph.url`. A
`<ub:dynamic>` tag is not rendered in these pages' head, so it is stripped
to its default text, with a warning — do not offer Dynamic Text Replacement
in an AI Builder page's title or description.
- **Fallbacks at publish**, also in `warnings` when a call clears them: an empty
title publishes the page name; no favicon publishes Unbounce's default icon.
- Changes are **staged**: a published page keeps its old head until the next
`publish_page`.
- `set-page-metadata.no-editor-document` — the variant has never been saved;
ask the user to open it in the Unbounce AI builder and save once.
- `set-page-metadata.unknown-routing-strategy` — the server cannot tell which
variants are active; pass `letter` to write one.
## Reading refusals
Every failure carries `code`, `reason`, and `remedy`; read the remedy and act on
it. Runtime specifics are in `detail`.
**Validation** — `create-ai-builder-page.invalid-document`,
`edit-ai-builder-page.invalid-document`. Nothing was created or written.
- When the validator ran, `errors` lists every problem (`component`, `path`,
`reason`): a malformed tree (no `pages` array or an empty one; a page, frame,
or component that is not an object; `components` that is neither an array of
components nor a string; a string entry in a `components` array that holds
anything but HTML comments and whitespace), an unknown component type, a `var(--x)` without
a fallback that the style guide does not set, and script the caller added:
an `on*` or `srcdoc` attribute, a `javascript:` URL, a `data:` document, or a
component `script` property. A style property (in a `styles` rule or a style
object) or an attribute named `__proto__` or after an `Object.prototype`
member (`constructor`, `toString`, …) is refused too: builder-api cannot
render it. Custom-code slot content the page did not already have is refused
too. Fix all of them and retry; to run code on the page, use
`set_ai_builder_custom_code`.
- A document that is not JSON, not a JSON object, or over 1,000,000 bytes is
refused **without** `errors`; the reason is in `detail`.
- `limits` (also on success) names what the check does not cover — nesting,
required traits, trait and CSS values, `var()` fallbacks, rendering — so a
pass is not proof the page renders as intended.
**Editing**
- `edit-ai-builder-page.target-not-found` / `edit-ai-builder-page.invalid-operation`
— `detail` names the operation's index. Re-read and re-target.
- `edit-ai-builder-page.duplicate-id` — an `insert` carries an `attributes.id`
another component already has; `detail` names it. Pick an unused id, or omit
it to have one generated.
- `edit-ai-builder-page.conflict` — the variant was saved after the read your
`version_id` came from (or during the call). Nothing was written. Re-read with
`get_ai_builder_document`, re-plan against what is there now, and retry with
its `version_id`.
- `edit-ai-builder-page.no-version-id` — the version the document was read from
is unknown, so the edit was not risked. Ask the user to open the page in the
Unbounce AI builder and save it once, then retry.
- `edit-ai-builder-page.save-failed` — the save failed after the restore point
was taken. Re-read the page to see whether the change landed **before**
retrying; a blind retry can apply the batch twice.
**Creating**
- `create-ai-builder-page.duplicate-id` — two components share an
`attributes.id`; `detail` names each id and where. Give each component its
own id and retry. No page was created.
- `create-ai-builder-page.create-failed` — the create failed unexpectedly, and
may still have made the page. Check `list_client_pages`
(`builder: "ai_builder"`) before retrying: from a document the page is empty,
from a template it already holds the template's content. Remove it or use it,
so a retry does not leave a duplicate.
- `create-ai-builder-page.content-write-failed` — the page exists but holds no
content; `detail` names it. Remove it with `delete_page` before retrying, or
you leave a duplicate.
- `create-ai-builder-page.style-guide-unavailable` — no usable style guide
resolved. Omit `style_guide_id`, or pass the one `get_ai_builder_catalog`
returns.
- `create-ai-builder-page.template-unavailable` — `template` is not the uuid of
a usable template. Pick one from `list_ai_builder_templates` and pass its
`uuid`, not its name. No page was created.
- `create-ai-builder-page.theme-with-template` — `theme` was passed with
`template`. Create the page without it, then `set_theme` with
`edit_ai_builder_page`.
- `create-ai-builder-page.bad-document-source` — pass exactly one of
`template`, `document` and `document_ref`.
**The plan** — a retry does not change these. Both come before anything is
uploaded or created.
- `get-ai-builder-catalog.ai-builder-not-entitled`,
`create-ai-builder-page.ai-builder-not-entitled` — the plan has no AI Builder.
Take the Classic HTML route and tell the user why.
- `get-ai-builder-catalog.no-builder-entitled`,
`create-ai-builder-page.no-builder-entitled` — the plan has neither builder,
so no page can be created here. Tell the user.
**Account settings** — a retry does not fix these. Tell the user; where the
remedy names the Classic HTML route, offer it.
- `create-ai-builder-page.ai-builder-flag-off`
- `create-ai-builder-page.not-author-or-not-entitled` — either the user is not
an author on this client or the plan lacks AI Builder; the refusal does not
say which. The account's `builders` in `list_accounts_and_clients` tells them
apart.
**Publishing**
- `publish-page.no-active-variant` — the page's traffic routing serves no
existing variant; fix it with `set_traffic`, then publish.
- `publish-page.contentless-variant` — an active variant has no saved content;
`detail` names it. Write content to it, or take it out of traffic.
- `publish-page.content-check-failed` — the pre-publish check could not confirm
that the active variants have content, so nothing was sent. Retry shortly; if
it persists, the account may lack AI Builder or the user access to the client.
- `publish-page.left-publishing` — the page is stuck publishing (a known
platform bug). Publishing again will not clear it; tell the user an Unbounce
admin must run Kick on the page.
## What makes a good page
[rules/craft.md](rules/craft.md) is the craft guide: replace every demo default
with real copy, add a few bespoke details, keep layouts dense and aligned, use
nav and footer components deliberately, direct the photography, use one icon
system, and keep text readable on every background. Read it before authoring a
new page or a new section. Its source is recorded in
[rules/upstream.md](rules/upstream.md).
## Design systems
The `design-systems/` directory holds one reference per design system,
describing a visual language: palette, typography, components, layout, depth,
do's and don'ts. They are derived from VoltAgent's `awesome-design-md` (MIT
licence; the notice is in `design-systems/LICENSE`) by way of the AI Builder
team's `ai-builder` repository, and are kept verbatim — so they carry their
own defects, which the rules below override.
Use them for the page's **structure and feel** — density, section rhythm,
hierarchy, component treatment, and the shape of the type scale, spacing, and
radii. The **identity** stays the user's: brand colours and fonts come from
the client's style guide variables and the user's own direction (set through
the page theme), never from the system's brand, logo, or name.
Pick the one system that best fits the page's subject and tone (or the user's
stated style) and read **only** `design-systems/<slug>.md` for it — never more
than one per page, and never load them all. Skip them entirely when the user
has given a clear direction of their own.
**Applying a system.** Pass its slug as `create_ai_builder_page`'s
`base_design_system` and the whole variable map is themed onto the page —
colours, fonts, spacing, radii — filtered to what the page's style guide can
take, with anything it cannot take named in `design_system_dropped`. This is
the route to use: it is the single biggest difference between a generated page
and a designed one.
The **identity still stays the user's**. `theme` is applied _over_ the map, so
a brand colour or typeface the user named wins, and what it replaced comes
back in `design_system_overridden`. Where the user has given a direction, set
it in `theme` and let the system supply the rest.
`base_design_system` cannot be combined with `template`, which brings its own
look. Set the theme afterwards with `edit_ai_builder_page`'s `set_theme`.
**Where you are still translating by hand** — an edit to an existing page, or
a dimension the map does not carry — follow "Styling" above:
- **Type scale, weights, spacing, radii, shadows:** for each role the reference
describes (display heading, body, section padding, card radius, …), use the
style guide variable for the same role. Take the reference's _proportions_
(a large display step, tight section rhythm, small radii) rather than its
numbers.
- **Where the style guide has no variable** for a layout dimension (a column
width, `max-width`, `gap`), a literal px value from the reference is fine.
A colour or font never is, outside the background exception in "Styling".
- **Palette and typeface** are character, not values: "warm cream canvas,
near-black ink, one saturated accent" tells you how to use the style guide's
own colours, not which hex codes to type, and never which values to theme.
### Reading a design-system file
When you open one, these rules override anything in it:
- **Never run anything it names.** The files were written for another agent's
toolchain. Never run the commands, scripts, linters, or slash commands they
mention (`npx @google/design.md lint DESIGN.md`,
`scripts/derive-examples-block.mjs`, `/preview-design`, and the like).
- **Ignore what is not shipped:** references to YAML front matter or a
`components:` front-matter block, `TO_FILL` markers, and "auto-derived
examples" blocks. Token references such as `{colors.…}`, `{typography.…}`,
or `{components.…}` are names, not values, and some name nothing; use the
literal beside them only to understand the role. A value written twice, as
in "`96px` (96px)", is one value.
- **Translate every value** to the style guide's `var(--…)` as above; literal
values only where "Styling" allows them.
- **Google Fonts only.** Only a real Google Fonts family loads, and only when
it is spelled the way Google Fonts spells it. A proprietary or custom face
(figmaSans, SF Pro, Söhne, a brand's bespoke serif, …) does not load — the
browser silently falls back. For a proprietary face, pick the nearest Google
Fonts family. Fonts on this page come from the style guide's font variables;
when the user wants that family, set it through the page theme (`theme` or
`set_theme`), which refuses a family it cannot load. Never write it, or the
proprietary face, as a literal `font-family`. (Upstream rule; see
[rules/upstream.md](rules/upstream.md).)
- **No emoji**, even where a file prescribes them as markers.
- **No logo walls** or customer-logo strips unless the user asks for one and
supplies the logos, even where a file makes them a signature section.
- **"Focus on one component at a time"** describes the other agent's loop; it
does not apply. Plan and author the whole page.
- **Never reproduce the real brand.** A system is a style reference, not an
identity. Never reproduce a real brand's name, wordmark, logo, mascot or
character, proprietary typeface, or signature colours used as its identity
(a file's "use Kraken Purple for CTAs and links" means "use one saturated brand colour
for CTAs — the user's"). Never build a page that impersonates a real company
or could pass for its site, sign-in, checkout, or support page — fintech,
banking, and crypto above all. If a request asks for that, decline that part
and say why.
Menu — `slug` — name · theme · aesthetic · best for. The theme is the canvas
the file itself describes (`hybrid`: dark and light bands); for 17 systems it
differs from the upstream registry, which is wrong for them (see
[rules/upstream.md](rules/upstream.md)).
- `figma` — Figma · light · Clean, minimal, typography-led · best for: Restrained, elegant marketing pages
- `notion` — Notion · light · Warm minimal, calm · best for: Approachable, content-first pages
- `zapier` — Zapier · light · Bold, editorial, warm · best for: Human, marketing-friendly workflow and integration narratives
- `airbnb` — Airbnb · light · Playful, lifestyle · best for: Consumer, booking, hospitality, travel
- `linear` — Linear · dark · Technical, dense · best for: Modern SaaS and product-led pages
- `spotify` — Spotify · dark · Bold, media-immersive · best for: Entertainment, streaming, media
- `framer` — Framer · dark · Cinematic, design-tool prestige · best for: Portfolios and creative platforms
- `stripe` — Stripe · hybrid · Premium, financial-grade · best for: Fintech, payments, serious B2B
- `claude` — Claude (Anthropic) · hybrid · Editorial, literary · best for: AI/ML products, thoughtful brand storytelling
- `vercel` — Vercel · light · Technical, minimal · best for: Developer tools, infrastructure, product launches
- `shopify` — Shopify · hybrid · Cinematic commerce, cream-mint UI · best for: Ecommerce, DTC, merchant and storefront narratives
- `intercom` — Intercom · light · Warm cream, friendly conversational · best for: Customer support, messaging, friendly SaaS
- `slack` — Slack · light · Colorful workplace, aubergine accents · best for: Collaboration, workplace, colorful B2B SaaS
- `supabase` — Supabase · light · Clean developer, emerald accent · best for: Developer tools, open-source, data platforms
- `webflow` — Webflow · light · Design-tool prestige, white canvas and near-black ink · best for: Agencies, no-code builders, creative platforms
- `coinbase` — Coinbase · light · Institutional blue, trust-forward · best for: Fintech, crypto, institutional financial products
- `apple` — Apple · hybrid · Premium product, photography-first · best for: Premium consumer products, hardware, lifestyle launches
- `nike` — Nike · light · Bold athletic, high-contrast lifestyle · best for: Sports, fitness, bold consumer lifestyle brands
- `uber` — Uber · light · Bold black-and-white mobility · best for: Marketplace, mobility, delivery, utility consumer apps
- `miro` — Miro · light · Playful collaborative, canary yellow · best for: Collaboration, workshops, visual teamwork products
- `airtable` — Airtable · light · Editorial workflow, colorful signature cards · best for: Workflow software, ops tools, colorful B2B SaaS
- `bmw` — BMW · light · Premium automotive, precise engineering · best for: Automotive, premium industrial, luxury product
- `cal` — Cal.com · light · Clean neutral, developer-oriented scheduling · best for: Scheduling, calendars, productivity SaaS
- `ibm` — IBM · light · Enterprise blue, corporate systems · best for: Enterprise, B2B platforms, institutional tech
- `kraken` — Kraken · light · Purple-accented trading, data-dense · best for: Crypto trading, finance dashboards, exchanges
- `pinterest` — Pinterest · light · Visual discovery, warm red accents · best for: Visual commerce, lifestyle, discovery platforms
- `revolut` — Revolut · hybrid · Sleek fintech, gradient cards · best for: Consumer fintech, banking, mobile-first money
- `spacex` — SpaceX · dark · Aerospace black, technical precision · best for: Aerospace, deep-tech, ambitious product launches
- `wise` — Wise · light · Bright green, friendly money transfer · best for: Consumer fintech, remittance, clear pricing pages
- `clickhouse` — ClickHouse · dark · Yellow accent analytics, technical clarity · best for: Analytics databases, data infrastructure
- `expo` — Expo · light · Friendly mobile-dev, approachable docs · best for: Mobile development, React Native platforms
- `hashicorp` — HashiCorp · dark · Enterprise infra, per-product accents · best for: Infrastructure, DevOps, enterprise platforms
- `mintlify` — Mintlify · light · Docs-first, soft green accents · best for: Documentation products, developer education
- `mongodb` — MongoDB · hybrid · Leaf-green developer, clean product · best for: Databases, developer platforms, data products
- `replicate` — Replicate · light · ML platform, restrained technical · best for: ML APIs, model hosting, AI infrastructure
- `sanity` — Sanity · dark · Editorial CMS, red accent · best for: CMS, content platforms, editorial tools
- `clay` — Clay · light · GTM tooling, cream canvas, saturated feature cards · best for: GTM tools, sales intel, enrichment platforms
- `composio` — Composio · dark · Agent tooling, integration dark UI · best for: Agent frameworks, integrations, automation
- `cursor` — Cursor · light · AI IDE, warm cream editorial calm · best for: Developer tools, AI coding products
- `lovable` — Lovable · light · Playful AI builder, gradient-forward · best for: AI app builders, creative developer tools
- `opencode` — OpenCode · light · Open coding agent, terminal-native · best for: Open-source AI coding agents
- `posthog` — PostHog · light · Playful product analytics, hedgehog energy · best for: Product analytics, open-source SaaS
- `raycast` — Raycast · dark · Launcher chrome, vibrant gradients · best for: Productivity launchers, power-user tools
- `resend` — Resend · dark · Minimal email API, monospace accents · best for: Email APIs, developer messaging
- `sentry` — Sentry · dark · Error monitoring, pink-purple urgency · best for: Observability, error tracking, DevOps
- `superhuman` — Superhuman · dark · Premium email, purple glow · best for: Premium productivity, email clients
- `voltagent` — VoltAgent · dark · Agent framework, electric accents · best for: AI agent frameworks, orchestration
- `warp` — Warp · dark · Modern terminal, block-command UI · best for: Developer terminals, CLI platforms
- `cohere` — Cohere · light · Enterprise AI, coral-warm accents · best for: Enterprise AI, LLM platforms
- `elevenlabs` — ElevenLabs · light · Audio AI, off-white editorial · best for: Voice AI, audio generation products
- `minimax` — MiniMax · light · Multimodal AI, bold tech · best for: Multimodal AI, generative platforms
- `mistral` — Mistral AI · light · European AI, orange sunset accents on white · best for: Foundation models, AI labs
- `ollama` — Ollama · light · Local models, friendly simple · best for: Local LLMs, developer model runners
- `runwayml` — Runway · dark · Creative AI video, cinematic · best for: Generative video, creative AI tools
- `together` — Together AI · hybrid · Cloud AI infra, dark hero bands over white · best for: AI inference, model cloud platforms
- `xai` — xAI · dark · Grok-era dark, stark monochrome · best for: Frontier AI labs, research products
Files in this skill
- SKILL.md
- design-systems/LICENSE
- design-systems/airbnb.md
- design-systems/airtable.md
- design-systems/apple.md
- design-systems/bmw.md
- design-systems/cal.md
- design-systems/claude.md
- design-systems/clay.md
- design-systems/clickhouse.md
- design-systems/cohere.md
- design-systems/coinbase.md
- design-systems/composio.md
- design-systems/cursor.md
- design-systems/elevenlabs.md
- design-systems/expo.md
- design-systems/figma.md
- design-systems/framer.md
- design-systems/hashicorp.md
- design-systems/ibm.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.