bricks-builder-dev

bricks-builder-dev is a skill for Claude Code from yasirshabbirservices/Bricks-Builder-MCP. It costs 177 tokens per session (5,616 once invoked), scanned A, original, MIT.

A development guide for Bricks Builder, a WordPress tool for visually building pages. It covers the tool's custom elements, templates, global styles, dynamic content, and related features.

In plain words
What is it for?
It helps create custom Bricks elements, controls, query loops, templates, style settings, popups, interactions, and query filters.
Why use it?
It reduces guesswork when building or debugging Bricks sites by checking the actual Bricks source and official developer documentation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yasirshabbirservices/bricks-builder-mcp/bricks-builder-dev
Any agent
npx skills add yasirshabbirservices/Bricks-Builder-MCP --skill bricks-builder-dev
Clone the repo
git clone --depth 1 https://github.com/yasirshabbirservices/Bricks-Builder-MCP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bricks-builder-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/yasirshabbirservices/bricks-builder-mcp/bricks-builder-dev.svg)](https://agentmods.dev/skills/yasirshabbirservices/bricks-builder-mcp/bricks-builder-dev)
Your own site
<a href="https://agentmods.dev/skills/yasirshabbirservices/bricks-builder-mcp/bricks-builder-dev"><img src="https://agentmods.dev/badge/skills/yasirshabbirservices/bricks-builder-mcp/bricks-builder-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00177 $0.05616
Opus 5 $0.00088 $0.02808
Sonnet 5 $0.00035 $0.01123
Haiku 4.5 $0.00018 $0.00562

Measured 6d ago against content hash 9fa279826482, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

bricks-builder-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/bricks-builder-dev/SKILL.md · 386 lines

How it starts

The opening of the file, as written. The whole thing — 386 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bricks Builder Development (verified against 2.3.7)

Verify against real source, never guess: locate the Bricks parent theme in the project (typically wp-content/themes/bricks/). Grep it for any API question. Key source files: includes/elements/base.php (5457 lines, the element API), includes/database.php, includes/assets.php (CSS generation), includes/query.php, includes/templates.php, includes/theme-styles.php, includes/ajax.php, includes/conditions.php, includes/frontend.php. Official docs: https://academy.bricksbuilder.io/developer/

Custom element anatomy

class My_Element extends \Bricks\Element {
    public $category = 'custom';        // label via 'bricks/builder/i18n' filter
    public $name     = 'my-element';    // unique, used in trees as element 'name'
    public $icon     = 'ti-star';       // themify icon (ti-*) — grep parent assets/fonts to confirm icon exists
    public $scripts  = [ 'myInitFn' ]; // optional: Bricks calls window.myInitFn() on frontend
    public $nestable = false;           // true = allow child elements (needs $vue_component = 'bricks-nestable')
    public $block    = '';              // optional: Gutenberg block mapping (e.g. 'core/heading')
    public $draggable   = true;         // false = can't drag in builder
    public $deprecated  = false;        // true = hidden from panel

    public function get_label() { return esc_html__( 'My Element', 'textdomain' ); }
    public function get_keywords() { return [ 'search', 'terms' ]; }

    public function set_control_groups() {
        $this->control_groups['my_group'] = [
            'title' => esc_html__( 'My Group', 'textdomain' ),
            'tab'   => 'content', // or 'style'
        ];
    }

    public function set_controls() {
        $this->controls['my_text'] = [
            'tab'   => 'content',
            'group' => 'my_group',
            'label' => esc_html__( 'Text', 'textdomain' ),
            'type'  => 'text',
            'default' => 'Hello',
        ];
    }

    public function enqueue_scripts() {
        // runs ONLY when element is on the page — conditional loading for free
        wp_enqueue_style( 'my-el', get_stylesheet_directory_uri() . '/css/my-el.css' );
    }

    public function render() {
        $settings = $this->settings;
        $this->set_attribute( '_root', 'class', 'my-class' );
        echo "<div {$this->render_attributes('_root')}>";
        echo $this->render_dynamic_data( $settings['my_text'] ?? '' );
        echo "</div>";
        // empty state in builder:
        // return $this->render_element_placeholder(['title' => 'Configure me']);
    }
}

Read the full file on GitHub · 386 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 386 lines · 177 tokens per session scan A 9fa279826482

Subscribe to this mod's changes

bricks-builder-dev is a skill published in the GitHub repository yasirshabbirservices/Bricks-Builder-MCP (2 stars, last pushed 2mo ago), licensed MIT. It adds 177 tokens to every session and 5,616 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

enhance-web-landing

Build landing pages, portfolios, and marketing sites that don't look AI-generated. Use when asked for "landing page", "portfolio", "marketing site", "anti-slop", "Awwwards-style", "premium frontend", or when design needs a strong point of view.

kensaurus/cursor-kenji · 61 tokens

enhance-web-ux

NN/g-grounded enhancement of an existing page's flows — not a repo-wide slop audit. Use when "fix UX of /xxx" or "improve information density". Repo-wide authenticity plan → plan-antislop. Composition/type → enhance-web-ui. Dense prose / CPL / reading level → enhance-readability. Heuristics-only → audit-ux.

kensaurus/cursor-kenji · 80 tokens

enhance-capacitor-ui

Cross-surface UIUX separation skill for hybrid web apps that ship as PWA + iOS + Android via Capacitor (or Tauri / Expo Web / Ionic / RN-Web). Use when a previous UI/UX sweep "improved one surface and broke the other" — desktop polished but mobile cramped, or mobile native but desktop wastes space.

kensaurus/cursor-kenji · 77 tokens

enhance-web-ui

Polish an existing page's hierarchy, spacing, type, and visual personality. Use when "make this page polished/premium", "less crowded", or "better visual hierarchy". Understood / CPL → enhance-readability. Flow/IA → enhance-web-ux. Breakpoints → audit-responsive.

kensaurus/cursor-kenji · 65 tokens

audit-uiux-design-system

Audit visual-system coherence: tokens, component variants, color/type/ spacing, dark mode. Use for "design drift", inconsistent UI, or duplicate primitives. Per-page usability → audit-ux. Breakpoints → audit-responsive. Empty/error states → audit-ui-states. Plan-only unification → plan-uiux-unification.

kensaurus/cursor-kenji · 71 tokens

design-mobile-first

Design mobile-first UIs: touch targets, safe areas, gestures, then enhance up. Use when building for small screens, touch, swipe, PWA, or tablet. Linearized desktop / responsive audit → audit-responsive.

kensaurus/cursor-kenji · 49 tokens