Reads or modifies Bricks builder capability definitions and role assignments. Distinguishes configured access from effective caller permissions.
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.
Builder access uses two stores:
BRICKS_DB_CAPABILITIES_PERMISSIONS (bricks_capabilities_permissions). Each row is { label, description, permissions } and is keyed by a WordPress capability id.bricks_edit_content, bricks_full_access, or a custom builder capability id.Use the dedicated permission abilities. Do not use bricks/set-global-settings for builder permissions.
These abilities are disabled by default in Bricks > AI. If one is disabled, follow bricks-ai-tab to enable it within the user’s authorization.
These are long-tail abilities. If the direct hyphenated tool is not available, call them through mcp-adapter-execute-ability.
bricks/list-builder-permissions: read permission sections, default/custom capability definitions, role assignments, and the capability choices shown in the Builder access role select.bricks/upsert-builder-capability: create or update one custom builder capability definition.bricks/set-builder-role-access: assign existing builder access capabilities to WordPress roles. Empty string means no builder access. administrator is not writable because Bricks always treats administrators as full access.bricks/delete-builder-capability: delete one custom capability definition and remove that WordPress capability from all roles.Source of truth: includes/builder-permissions.php.
Do not guess keys. Start with bricks/list-builder-permissions and use the returned permissionSections.
Common sections:
access_builder_{post_type}, for example access_builder_page.access_breakpoints_manager, access_page_settings, access_template_settings, access_revisions, delete_revisions, access_font_manager, access_icon_manager.create_templates, edit_templates, delete_templates, insert_templates, access_remote_templates, import_export_templates.edit_color_palettes, access_class_manager, access_variable_manager, access_theme_styles, access_query_manager, create_global_classes, edit_global_classes, delete_global_classes, assign_unassign_global_classes, lock_unlock_global_classes, copy_paste_global_classes_styles, access_pseudo_selectors, and access_filter_manager (Bricks 2.5+).insert_components, set_component_props, edit_components, create_components, delete_components, import_export_components.access_element_content, access_element_styles, access_query_loop_builder, access_element_hide, access_element_conditions, access_element_interactions, duplicate_elements, delete_elements, move_elements, copy_paste_elements, copy_paste_element_styles, copy_paste_element_conditions, copy_paste_element_interactions, copy_paste_element_attributes, pin_unpin_elements.access_page_drafts, access_site_versions, publish_drafts, share_review_links. See bricks-drafts.add_element_{elementName} and edit_element_{elementName}.Keys such as use_builder, template_manager, upload_json, use_components, and use_global_elements are not current builder permission keys unless list-builder-permissions returns them.
Create a capability definition first:
{
"ability_name": "bricks/upsert-builder-capability",
"parameters": {
"id": "bricks_marketer_access",
"label": "Marketing access",
"description": "Can edit content and insert templates, without design-system management.",
"permissions": [
"access_builder_page",
"access_element_content",
"access_revisions",
"insert_templates"
]
}
}
The id is a WordPress capability id. It must not be bricks_full_access, bricks_edit_content, or bricks_no_access.
Assign an existing builder access capability to each role you want to change:
{
"ability_name": "bricks/set-builder-role-access",
"parameters": {
"roleAccess": {
"editor": "bricks_marketer_access",
"author": ""
}
}
}
The response includes beforeSnapshot and the resulting roleAccess. Report both when the change affects a real site.
executeCodeEnabled and executeCodeCapabilities are excluded from Bricks settings abilities. The actual WP capabilities are bricks_execute_code and bricks_execute_code_off (includes/capabilities.php). These control custom PHP through echo tags, Code element PHP mode, SVG source code, and Custom Query PHP.
These role-management abilities do not grant code execution. PHP authoring and bricks/execute-php are available only under the separate opt-in and authorization contract in bricks-custom-code. If the user explicitly authorizes a configuration change, use an available admin/configuration workflow.
bricks/set-global-settings for builder permissions.list-builder-permissions first.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bricks:bricks-role-permissionsfrom 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./bricks-breakpointsRead or change Bricks responsive breakpoint definitions. Use for breakpoint configuration, not ordinary element styling at an existing breakpoint./bricks-browser-verifyInspect a Bricks page in a browser, compare it with a design or baseline, or verify a completed change. Inspection requests remain read-only./bricks-child-theme-patternsSet up or debug a Bricks child theme, including asset loading and extension registration. Use for theme-level PHP/files, not ordinary Builder edits.Other plugins' skills for the same job