Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/buildermethods/bm-skillsnpx agentmods add skills/buildermethods/bm-skills/bm-design-systemWrote 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/skills/buildermethods/bm-skills/bm-design-system)<a href="https://agentmods.dev/skills/buildermethods/bm-skills/bm-design-system"><img src="https://agentmods.dev/badge/skills/buildermethods/bm-skills/bm-design-system/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/buildermethods/bm-skills/bm-design-system"><img src="https://agentmods.dev/badge/skills/buildermethods/bm-skills/bm-design-system.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00018 | $0.06262 |
| Opus 5.5 | $0.00007 | $0.02505 |
| Sonnet 5.5 | $0.00004 | $0.01252 |
| Haiku 4.5 | $0.00002 | $0.00626 |
Grade C, and why
bm-design-system scanned grade C with 1 finding 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 1mo 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- bm-design-system:start --> How it starts
The opening of the file, as written. The whole thing — 429 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design System Builder
You are guiding a builder through scaffolding a complete design system into a React + Tailwind v4 codebase. The output is a single-page reference at /admin/design-system that previews and documents every primitive, plus a small set of reusable shadcn-style components, plus instructions appended to AGENTS.md (or CLAUDE.md) so future agents always defer to the design system instead of drifting.
Audience assumption
The user wants a complete, opinionated design system scaffolded into their app with as few decisions as possible. Colors and fonts ship with locked defaults — don't ask the user to pick them. Whenever a technical concept appears in a phase that does take input (route, scope, migration), briefly explain it in plain language before asking.
Core interaction principles
-
Use the AskUserQuestion tool for decisions with discrete options. The user is likely on mobile — tappable options beat typing. For free-form input (custom hex codes, custom font names) use a normal chat message.
-
One decision at a time, in sequence. Walk through phases in order. Lock each phase before moving to the next.
-
Keep your prose tight. Short framings, no preamble. The user is making decisions, not reading essays.
-
The design system is opinionated, not exhaustive. Ship a small, useful, beautiful set of primitives with locked defaults. The user can extend by editing the scaffolded files or re-running the skill later.
Hard assumptions
- The target codebase uses React.
- The target codebase uses Tailwind CSS v4 or later. (v4 uses
@themedirective in CSS instead oftailwind.config.js.) - If either assumption is violated, stop and tell the user what's missing.
Phase 0 — Detect target codebase state
Before talking to the user, inspect the codebase silently and form a picture.
Framework detection (in order — first match wins):
- Vite —
vite.config.ts/vite.config.js/vite.config.mtsexists at repo root. - Next.js (app router) —
next.config.*exists ANDapp/directory exists. - Next.js (pages router) —
next.config.*exists ANDpages/directory exists, noapp/. - Rails + Inertia —
Gemfilecontainsinertia-rails(orinertia_rails) ANDapp/frontend/orapp/javascript/pages/exists. - Rails + react-on-rails —
Gemfilecontainsreact_on_rails. - Unknown — none of the above. Continue but tell the user the route registration step will be a manual snippet they paste.
What ships with it
49 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.
- references/agent-instructions.md 2.8 KB
- references/components-ui/badge.tsx 879 B
- references/components-ui/button-dropdown.tsx 2.7 KB
- references/components-ui/button.tsx 1.2 KB
- references/components-ui/checkbox.tsx 872 B
- references/components-ui/data-table.tsx 1.1 KB
- references/components-ui/dialog.tsx 2.8 KB
- references/components-ui/dropdown-menu.tsx 3.1 KB
- references/components-ui/input.tsx 508 B
- references/components-ui/radio.tsx 1.3 KB
- references/components-ui/rich-text-field.tsx 11 KB
- references/components-ui/select.tsx 822 B
- references/components-ui/theme-toggle.tsx 1.8 KB
- references/derive-palette.md 4.0 KB
- references/lib/theme.ts 2.0 KB runs code
- references/lib/utils.ts 169 B runs code
- references/page/CodeBlock.tsx 1.2 KB
- references/page/ColorSwatch.tsx 2.6 KB
- references/page/DesignSystem.tsx 5.4 KB
- references/page/palette.ts 2.2 KB runs code
- references/page/sections/base-styles/BaseStylesSection.tsx 9.1 KB
- references/page/sections/branding/ColorsSection.tsx 2.6 KB
- references/page/sections/branding/TypographySection.tsx 2.2 KB
- references/page/sections/elements/BadgesSection.tsx 1.7 KB
- references/page/sections/elements/ButtonDropdownSection.tsx 5.7 KB
- references/page/sections/elements/ButtonsSection.tsx 3.0 KB
- references/page/sections/elements/CalloutSection.tsx 2.1 KB
- references/page/sections/elements/DataTableSection.tsx 3.6 KB
- references/page/sections/elements/DropdownMenuSection.tsx 6.9 KB
- references/page/sections/elements/FormsSection.tsx 7.0 KB
- references/page/sections/elements/IconographySection.tsx 2.4 KB
- references/page/sections/elements/ListingsSection.tsx 5.4 KB
- references/page/sections/elements/ModalSection.tsx 5.0 KB
- references/page/sections/elements/ToggleButtonsSection.tsx 3.1 KB
- references/page/sections/structure/BodyContentSection.tsx 2.8 KB
- references/page/sections/structure/FootersSection.tsx 1.6 KB
- references/page/sections/structure/MainNavSection.tsx 23 KB
- references/page/sections/structure/PageHeadersSection.tsx 11 KB
- references/page/sections/structure/ShellsSection.tsx 3.8 KB
- references/page/sections/structure/SubNavSection.tsx 7.6 KB
- references/page/SectionShell.tsx 2.4 KB
- references/page/SidebarNav.tsx 3.6 KB
- references/routing/nextjs-app-router.md 750 B
- references/routing/nextjs-pages-router.md 571 B
- references/routing/rails-inertia.md 1.9 KB
- references/routing/vite-react-router.md 842 B
- references/styles/design-system.css 15 KB
- references/styles/font-link-tags.html 1.3 KB
- references/styles/theme-boot-script.html 1.4 KB
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.
- 1mo ago First seen · 429 lines · 18 tokens per session scan C b7e2a9d8e0c8
bm-design-system is a skill published in the GitHub repository buildermethods/bm-skills (147 stars, last pushed 10d ago), licensed MIT. It adds 18 tokens to every session and 6,262 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.