Registers, renames, wires, or removes Bricks custom WordPress sidebars, including widget-placement consequences. Useful when managing widget areas in Bricks builder sites.
Ships in bricks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bricks registers its own sidebars (widget areas) on top of theme-provided sidebars. They appear in Appearance > Widgets and in the Bricks Sidebar element picker.
Storage: bricks_sidebars option, as an ordered array of { id, name, description } rows (includes/abilities/sidebars.php).
For “show the existing sidebar,” resolve its ID with list-sidebars, then use the
Sidebar element's settings.sidebar control. The sidebar-management abilities use
sidebarId arguments; that is not the element setting key. Preserve its existing
widget placements. Registering a sidebar does not add widgets; an empty sidebar can
legitimately render empty. Inspect widget assignment through an available WordPress
surface when diagnosing it, and do not recreate the sidebar as a repair shortcut.
bricks/list-sidebars: returns { sidebars, total }.bricks/create-sidebar: body { name, description? }. The ID is derived from the name.bricks/update-sidebar: body { sidebarId, name?, description? }. ID is immutable.bricks/delete-sidebar: body { sidebarId }. Deletes the Bricks sidebar row and removes the same key from WP core sidebars_widgets.You do not send an ID on create. Bricks derives it:
a-z, 0-9, and _.Example:
bricks/create-sidebar { name: "Shop Sidebar", description: "Product filters" }
-> { sidebar: { id: "shop_sidebar", name: "Shop Sidebar", description: "Product filters" } }
Avoid names that collapse to the same ID, such as Shop Sidebar and Shop Sidebar!.
register_sidebar() for every Bricks sidebar during widgets_init.before_widget, after_widget, before_title, and after_title wrappers.Check theme-registered sidebar IDs as well as Bricks sidebars before choosing a name; the duplicate check covers only Bricks IDs and names.
If a
bricks/*ability is not available as a direct tool: first check whether it is outside the fast path and call it throughmcp-adapter-execute-abilitywithability_name: "bricks/<name>". If the dispatcher also rejects it, callbricks-list-ability-statusto check whether a site admin disabled it under Bricks > AI.
bricks/create-sidebar { name: "Shop Sidebar", description: "Product filters" }
-> { sidebar: { id: "shop_sidebar", name: "Shop Sidebar", description: "Product filters" } }
# Widgets are still WordPress core. Assign them via Appearance > Widgets or the widgets REST API.
bricks/add-element
postId: 99
parentId: "mainc1"
element:
name: "sidebar"
settings:
sidebar: "shop_sidebar"
{ id, name } to create-sidebar; current schema accepts name and optional description.sidebars_widgets.update-sidebar to keep the ID stable.What SKILL.md sets; muted values are Claude Code's defaults
/bricks:bricks-sidebarsfrom bricks
npx claudepluginhub codeerhq/bricks-skills --plugin bricks46 skills in this plugin
/bricks-agent-repositoryHandle complex existing-site Bricks edits through advertised repository/workspace workflows when focused abilities cannot express the change./bricks-ai-tabDiagnose Bricks AI connection setup, ability toggles, dispatcher availability and disabled actions. Use for connection/availability problems./bricks-audit-design-systemAudit Bricks classes, variables, palettes and components, or carry out requested cleanup. Report-only audits do not authorize fixes.Other plugins' skills for the same job