bm-design-system

bm-design-system is a skill for Claude Code from buildermethods/bm-skills. It costs 18 tokens per session (6,262 once invoked), scanned C, original, MIT.

A guided skill for defining and applying a design system, meaning the shared visual rules and reusable interface parts of an application.

In plain words
What is it for?
Use it when establishing or implementing the colors, typography, layout rules, and reusable interface patterns for an application.
Why use it?
It helps keep screens and components consistent as the application grows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is @source "../../**/*.{ts,tsx,js,jsx}";.

Part of the bm-skills plugin — 4 skills shipped together

Good fit Use it when establishing or implementing the colors, typography, layout rules, and reusable interface patterns for an application.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/buildermethods/bm-skills
agentmods
npx agentmods add skills/buildermethods/bm-skills/bm-design-system

Made for: Claude Code.

Or install bm-skills, the plugin that ships this one along with the rest of its 4 skills.

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 bm-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildermethods/bm-skills/bm-design-system/github.svg)](https://agentmods.dev/skills/buildermethods/bm-skills/bm-design-system)
Your own site
<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.

agentmods 80×15 button for bm-design-system

Your own site · 80×15
<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>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,262 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00018 $0.06262
Opus 5.5 $0.00007 $0.02505
Sonnet 5.5 $0.00004 $0.01252
Haiku 4.5 $0.00002 $0.00626

Measured 1mo ago against content hash b7e2a9d8e0c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 3 executable files (references/lib/theme.ts, references/lib/utils.ts, references/page/palette.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 -->
skills/bm-design-system/SKILL.md · 429 lines

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

  1. 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.

  2. One decision at a time, in sequence. Walk through phases in order. Lock each phase before moving to the next.

  3. Keep your prose tight. Short framings, no preamble. The user is making decisions, not reading essays.

  4. 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 @theme directive in CSS instead of tailwind.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):

  1. Vite — vite.config.ts / vite.config.js / vite.config.mts exists at repo root.
  2. Next.js (app router) — next.config.* exists AND app/ directory exists.
  3. Next.js (pages router) — next.config.* exists AND pages/ directory exists, no app/.
  4. Rails + Inertia — Gemfile contains inertia-rails (or inertia_rails) AND app/frontend/ or app/javascript/pages/ exists.
  5. Rails + react-on-rails — Gemfile contains react_on_rails.
  6. Unknown — none of the above. Continue but tell the user the route registration step will be a manual snippet they paste.

Read the full file on GitHub · 429 lines

Files

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.

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. 1mo ago First seen · 429 lines · 18 tokens per session scan C b7e2a9d8e0c8

Subscribe to this mod's changes

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.

Related

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.

nexu-io/open-design · 41 tokens

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.

nexu-io/open-design · 53 tokens

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).

nexu-io/open-design · 78 tokens

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.

Yeachan-Heo/oh-my-codex · 52 tokens

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).

android/skills · 56 tokens

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.

microsoft/hve-core · 47 tokens