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.06320 |
| Opus 5.5 | $0.00007 | $0.02528 |
| Sonnet 5.5 | $0.00004 | $0.01264 |
| Haiku 4.5 | $0.00002 | $0.00632 |
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 15d 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.md 890 B
- references/components-ui/button-dropdown.tsx.md 2.7 KB
- references/components-ui/button.tsx.md 1.2 KB
- references/components-ui/checkbox.tsx.md 883 B
- references/components-ui/data-table.tsx.md 1.1 KB
- references/components-ui/dialog.tsx.md 2.8 KB
- references/components-ui/dropdown-menu.tsx.md 3.2 KB
- references/components-ui/input.tsx.md 519 B
- references/components-ui/radio.tsx.md 1.4 KB
- references/components-ui/rich-text-field.tsx.md 11 KB
- references/components-ui/select.tsx.md 833 B
- references/components-ui/theme-toggle.tsx.md 1.8 KB
- references/derive-palette.md 4.0 KB
- references/lib/theme.ts.md 2.1 KB
- references/lib/utils.ts.md 179 B
- references/page/CodeBlock.tsx.md 1.2 KB
- references/page/ColorSwatch.tsx.md 2.6 KB
- references/page/DesignSystem.tsx.md 5.4 KB
- references/page/palette.ts.md 2.2 KB
- references/page/sections/base-styles/BaseStylesSection.tsx.md 9.1 KB
- references/page/sections/branding/ColorsSection.tsx.md 2.7 KB
- references/page/sections/branding/TypographySection.tsx.md 2.2 KB
- references/page/sections/elements/BadgesSection.tsx.md 1.8 KB
- references/page/sections/elements/ButtonDropdownSection.tsx.md 5.7 KB
- references/page/sections/elements/ButtonsSection.tsx.md 3.0 KB
- references/page/sections/elements/CalloutSection.tsx.md 2.2 KB
- references/page/sections/elements/DataTableSection.tsx.md 3.6 KB
- references/page/sections/elements/DropdownMenuSection.tsx.md 6.9 KB
- references/page/sections/elements/FormsSection.tsx.md 7.0 KB
- references/page/sections/elements/IconographySection.tsx.md 2.4 KB
- references/page/sections/elements/ListingsSection.tsx.md 5.4 KB
- references/page/sections/elements/ModalSection.tsx.md 5.0 KB
- references/page/sections/elements/ToggleButtonsSection.tsx.md 3.1 KB
- references/page/sections/structure/BodyContentSection.tsx.md 2.8 KB
- references/page/sections/structure/FootersSection.tsx.md 1.6 KB
- references/page/sections/structure/MainNavSection.tsx.md 23 KB
- references/page/sections/structure/PageHeadersSection.tsx.md 11 KB
- references/page/sections/structure/ShellsSection.tsx.md 3.8 KB
- references/page/sections/structure/SubNavSection.tsx.md 7.6 KB
- references/page/SectionShell.tsx.md 2.4 KB
- references/page/SidebarNav.tsx.md 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.md 15 KB
- references/styles/font-link-tags.html.md 1.3 KB
- references/styles/theme-boot-script.html.md 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.
- 15d ago Changed f24d9a464ce9
- 3mo 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 (156 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 6,320 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.
bm-design-system compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bm-design-systembuildermethods/bm-skills | Skill | 156 | 2d ago | MIT | C | 18 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | today | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.7k | today | MIT | A | 47 | Claude Code |