Helps find the correct Bricks PHP or frontend hook and its signature for extension or debugging tasks. Includes grep commands and common callback pitfalls.
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.
Read when SKILL.md points to them.
Use this index to find a hook, then check its signature and call site in the target Bricks version before implementing a callback.
To confirm any hook and see its context in the current version, grep the source:
rg -n "apply_filters\(\s*['\"]bricks/hook_name_here" includes/
rg -n "do_action\(\s*['\"]bricks/hook_name_here" includes/
return $value in a filter callback makes the value null for every downstream consumer. bricks/element/render_attributes is the most common foot-gun.element_id or post ID: most render/query hooks pass a context object ($query, $element, $post). Use the ID supplied by that particular hook inside the callback to avoid mutating every loop/element on the page.Read the hook catalog for the specific family: queries, rendering, dynamic data, forms, filters, templates, assets or Builder events. Source paths are optional lookup hints for a local checkout; customers can use the public developer reference.
Check the actual callback arguments, return type and lifecycle before implementing.
bricks/element/render is a Boolean gate; bricks/frontend/render_element receives
HTML. Test both matching and unrelated targets so a scoped customization does not
change every element/query on the site.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bricks:bricks-hooks-referencefrom 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