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.
npx agentmods add rules/ocean-industries-concept-lab/openbridge-webcomponents/building-blocksgit clone --depth 1 https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponentsWrote 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.
[](https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/building-blocks)<a href="https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/building-blocks"><img src="https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/building-blocks.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02557 |
| Opus 5 | $0.00000 | $0.01278 |
| Sonnet 5 | $0.00000 | $0.00511 |
| Haiku 4.5 | $0.00000 | $0.00256 |
Grade A, and why
building-blocks 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building Blocks & SVG Helpers
These instructions apply to SVG-based building block components (instrument-linear, bar-vertical, etc.) and their shared SVG helper utilities.
Agent Safety Rules (Context + Mirroring)
When implementing changes in this area, avoid narrow/local fixes that can introduce regressions:
-
Always load the full file into context before editing
- Read the entire file you are about to change (not just snippets) so you understand how helpers, state, rendering, and events fit together.
- This is required to avoid “local fixes” that miss related logic and accidentally introduce new bugs.
-
Always think in mirrored / generalized layouts (sides + orientations)
- For components like:
packages/openbridge-webcomponents/src/building-blocks/external-scale/external-scale.tspackages/openbridge-webcomponents/src/building-blocks/bar-horizontal/bar-horizontal.tspackages/openbridge-webcomponents/src/building-blocks/bar-vertical/bar-vertical.tspackages/openbridge-webcomponents/src/building-blocks/chart-line/chart-line-base.tspackages/openbridge-webcomponents/src/bars-graphs/line-graph/line-graph.tspackages/openbridge-webcomponents/src/bars-graphs/area-graph/area-graph.ts
- If a task changes behavior for one side (e.g. right), validate the equivalent behavior for the opposite side (left) and for the orthogonal orientation (top/bottom) where applicable.
- Prefer implementing via shared helpers/config so “all sides / all orientations” stay consistent.
- For components like:
packages/openbridge-webcomponents/src/building-blocks/**
When working with building block components in this directory:
- SVG-Based Architecture:
- Building blocks are pure SVG components rendered using Lit's
svgtemplate tag - Components typically render into a
<svg>element with a viewBox for coordinate system control - Use shared helpers from
svghelpers/for coordinate transformations and rendering utilities - Consider checking existing building blocks (e.g.,
instrument-linear) for similar patterns before implementing new features
- Building blocks are pure SVG components rendered using Lit's
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.
- 5d ago First seen · 201 lines · 0 tokens per session scan A 5a06b3dfb0ad
building-blocks is a cursor rule published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (91 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,557 tokens. 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-30.
Other cursor rules, from other repositories
components
CTA: inline-flex items-center justify-center gap-2 h-10 px-4 text-[1rem] font-medium bg-primary-500 text-white rounded-lg hover:bg-primary-700 cursor-pointer Sub: inline-flex items-center justify-center gap-2 h-10 px-4 text-[1rem] font-medium bg-white text-slate-700 border border-slate-200 rounded-lg hover:bg-gray-50…
taste-enforcement
These dials drive all downstream decisions. Adjust per-prompt when the user specifies a different mood.
frontier-stack
Cursor rule "frontier-stack" from Kevin-Liu-01/Sigil-UI, covering frontier stack 2026, default stack, decision matrix, animation tool hierarchy and anti-defaults.
angular-material-20
This rule provides comprehensive best practices and coding standards for Angular development with Angular Material, focusing on Material 3 (a.k.a. M3) design, theme configuration and various API usages.
frontend
React/Next.js frontend coding standards with shadcn/ui, Tailwind CSS v4, and FSD-lite architecture.
design
Design system, typography, color, accessibility (WCAG 2.2), responsive-first layout, and motion design standards.