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 skills add seungdori/web-stylebook-mcp --skill web-stylebook-designgit clone --depth 1 https://github.com/seungdori/web-stylebook-mcpWrote 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/seungdori/web-stylebook-mcp/web-stylebook-design)<a href="https://agentmods.dev/skills/seungdori/web-stylebook-mcp/web-stylebook-design"><img src="https://agentmods.dev/badge/skills/seungdori/web-stylebook-mcp/web-stylebook-design/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/seungdori/web-stylebook-mcp/web-stylebook-design"><img src="https://agentmods.dev/badge/skills/seungdori/web-stylebook-mcp/web-stylebook-design.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.00133 | $0.06416 |
| Opus 5.5 | $0.00053 | $0.02566 |
| Sonnet 5.5 | $0.00027 | $0.01283 |
| Haiku 4.5 | $0.00013 | $0.00642 |
Grade A, and why
web-stylebook-design 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 2d 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 — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Stylebook — design before you build
You have the Web Stylebook MCP server (web-stylebook) connected. It returns design
contracts (scored directions, visual-design plans, UX-principle plans, UI-state plans, tokens),
not code. You still write the code.
Calling it before writing UI produces far better, less generic results.
When to fire
Before writing JSX/HTML/CSS for any new or redesigned UI surface. If you catch yourself about to scaffold a page from memory, stop and run step 1 first.
Scope gate for audits and redesigns
When the user asks to audit, review, critique, or improve an existing UI and has not already defined the scope, ask these two short questions before inspecting or changing it, then stop until they answer:
- Audit coverage — visual only; visual + user-facing copy and information structure; or full experience including interaction, accessibility, UI states, and build/performance evidence?
- Change depth — findings only; prioritized change and rewrite proposals; or implement the approved fixes and verify them?
Do not ask again when the request already answers both dimensions (for example, “copy only, report only” or “review everything and fix it”). If the user says to use your judgment, state the selected scope and proceed. Commit, push, release, and deployment remain separate authorizations even when implementation is selected. For a new build, fold these decisions into workflow step 4 instead of asking a duplicate gate.
Map the answer to get_design_audit_plan.includeGroups:
- Visual only:
layout,fidelity,anti-patterns,structure. - Visual + content/structure: add
contentandbehaviorso labels, navigation, and information relationships are inspected with the visuals. - Full experience: use every matching group, selected-principle checks, documentation, and UI-state coverage.
Workflow
recommend_design_direction— pass the product context (productType, tone, density, usageFrequency, trustSensitivity, constraints, avoid). It returns scored candidates with reason codes, rejected styles with reasons, secondary pairings, assumptions, and a confidence. Treatcandidatesas evidence — you pick using product context;candidates[0]is the strongest match, not a mandate.rankingsays why #1 beat #2, or reports a tie; list the most important tone first. Each candidate also carriesstructure: a layout archetype (hero composition, grid, section order, density, type-scale use), 2-3 signature moves with their purpose (the style resource in step 2 has their build steps), and the generic and style-specific patterns the page audit will flag. Build the page from it. The top-levelmustHaveslists the elements the product type requires and the zone each must sit in (a commerce product page needs price, variant choice, add to cart, and delivery/guarantee details on the first screen; a dashboard needs the current status and what changed; docs need search and a quickstart). The style restyles them but never removes them, and they come before the archetype's opening limits: a first-screen item goes in the hero.structure.mustHavesnames the candidate's moves that can present each one.- Read the chosen styles —
webstylebook://styles/{id}for each pick (primary + any pairing). Then callsearch_design_referenceswith a narrow product/category/tag query and inspect only a few selected entries withget_design_reference. Record their observation date, attribution, and rights notice. Borrow transferable structure and measured tokens; never copy or redistribute upstream screenshots, brand assets, copy, typefaces, or visual identity. - Intake, then get direction approval — before component work. First run a short intake so the
previews use the right material (ask, don't assume):
- Assets — do they have images/brand assets to use (and which)? If not, may you pull license-free sample imagery (e.g. Unsplash, free for commercial use) for the example, or is no imagery needed? (A: provided — they say which · B: none — you source license-free samples · C: not needed)
- Emphasis — anything they specifically want emphasized, or any must-have / non-negotiable? Then, for open-ended UI requests, compose and show 2-3 distinct candidate directions or page previews, each with a concise critique and a clear recommendation, and ask which feeling/direction is right. The candidates must differ in opening structure (different dominant element + first-read element — see The opening below), not merely color/type tone; present at most one two-column-derived option, and make at least one carry no running-text column. Stop here until the user picks a direction or explicitly tells you to proceed. Do not build the final component system, reusable components, or production page before this approval gate.
- Confirm scope & resolve open details — before building. Once a direction is approved, do
not start implementing. First surface the decisions that change what you build, as a short,
concrete checklist — ask, don't assume:
- Scope & deliverable — the full reusable component library, or a single page/screen? One surface or several? A throwaway preview, or production code committed to the repo?
- Stack & integration — framework (React / Vue / Svelte / plain), styling (CSS variables / Tailwind / CSS-in-JS), TypeScript, and any existing design system or components to reuse/extend.
- Real content & data — brand/product name, real copy or placeholder, actual data shape and entities, must-have features, and explicitly what to leave out. (This is where you get the real numbers or omit them — never invent metrics to fill space.)
- Audience & environment — primary devices/breakpoints, light/dark/both, locales, accessibility level, any performance budget. Turn the working assumptions into confirmed facts here. Build only after the user answers — or explicitly says "use your judgment," in which case record the assumption and proceed. Keep it to 3–6 high-leverage questions; don't interrogate.
- Plan each screen around the one thing — drop the word "hero"; it summons the SaaS template.
Name the single most important thing the user is there for, build the screen around it, and make
everything else earn its place or cut it. Run the furniture-check (see The opening below)
on each screen, not just the first. Do not default to Hero + Features + Testimonial + CTA.
Look up component vocabulary in
webstylebook://components, then name the intended outcomes, matching surface, and current design phase for the next step. get_design_principle_plan— pass the current layout concerns, matching surface, and design phase (or a small explicit id set). Use the returned placement guidance, application steps, verification checks, and cautions. Readwebstylebook://design-principles/{id}only for selected entries. These are independently authored, testable craft prompts—not empirical laws or a fixed recipe. Accessibility and truthful behavior override visual polish.get_ux_principle_plan— pass the intended outcomes, matching surface, and current design phase (or a small explicit id set). Use the returned design questions, apply steps, verification checks, cautions, and evidence confidence. Readwebstylebook://principles/{id}only for the selected entries. These are contextual decision prompts, not universal laws or a substitute for user research; accessibility, safety, informed consent, and truthful feedback override them.get_ui_state_plan— for each surface (data-table, form, checkout, chat, developer-console). Implement the required + recommended states, honoringmustNot(e.g. no silent auto-retry, don't lose user input, don't imply a charge that didn't happen).compose_design_tokens— emit a starting token set (css-variables / tailwind / typescript). Heed the contrast warnings; don't ship 8–12% ghost borders. Itsstructurefield points back to the chosen style's archetype and moves: the tokens set the surface, the structure sets the page.- Write
design.md— a brief with: intent, audience/tasks, chosen direction + why, rejected directions, tone, color roles (not a raw palette), type roles, spacing/density, layout rules, surface hierarchy, component behavior, motion (use AND avoid), selected visual-design principles
- placement checks, selected UX principles + cautions, returned UI-state coverage, responsive, accessibility, anti-patterns, confirmed decisions (from step 4), and verification checklist. Never leave a section empty.
- Implement, then call
get_design_audit_planwithstyleId,surfaces,designPrincipleIds,uxPrincipleIds, matchingstateSurfaceIds, andlocale. This returns a localized, surface-aware checklist with stable ids, severity, applicability, and required evidence without loading the full three-language policy resources. Inspect the actual rendered UI, source, interactions, console, and commands for every returned check. UsePASS/FIX_NOW/RISK/NOT_APPLICABLE/NOT_VERIFIED; everyPASSneeds observed evidence, and missing evidence isNOT_VERIFIED, never an inferred pass. Include the opening's furniture-check when applicable: if the visual is generic furniture (a stock photo, an abstract shape, or a card you could paste onto another product) rather than a bespoke product demonstration, or the copy column is the full quartet, recompose. Runaudit_page_structureon each built page's rendered HTML and CSS with the chosenstyleIdand the sameproductTypeyou passed torecommend_design_direction. Replace every finding with the signature move or archetype step it names, add every must-have listed inmustHaves.missing, move every one inmustHaves.misplacedonto the first screen, rebuild, and rerun it; then includestructureinincludeGroups(with the sameproductType) and submit itsevidenceandresultswith the rest of the audit. Do not skip the checklist'sprinciplesgroup: run each principle's recorded verification check against the built UI and write down the outcome (pass / fail / n-a + why). A principle name indesign.mdwith no placement decision and no observed check is theprinciple-as-decorationanti-pattern — verify it or drop it. Keepcontextual/contestedlabels intact; never let a principle override accessibility, safety, informed consent, or truthful feedback. When the confirmed scope includes content, do not skip the checklist'scontentgroup. Inspect the actual visible strings and their hierarchy, not just component names or localization keys. The absence of internal jargon is not a pass: ask what each material statement actually says, what supports it, whether it is specific to this context, and whether its certainty and prominence match that support and its usefulness. - Validate the audit result contract — call
validate_design_audit_resultwith the exact plan query,expectedPlanHashfromget_design_audit_plan.identity.planHash, and an explicit target for every inspected route/screen/state/viewport/theme/locale. Evidence needs a durable artifact reference, content hash, or exact route/selector/file/region; interaction evidence also identifies its before/input/after/recovery phase. Submit one result for every planned check/target. Resolve contract errors or preserve the validator's normalizedNOT_VERIFIED;valid: truemeans the result contract is complete and internally consistent, not that the design passed. This inline pass is your job on every build. The server also ships three deeper audits as MCP prompts —audit-design-direction,audit-design-principles,audit-ux-principles. Those are slash commands the user invokes, not tools you can call, so don't wait on them: do the inline audit yourself, and mention the prompts when a review deeper than your own is warranted.
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.
- 2d ago Changed · +11 lines a30437867bed
- 8d ago Changed · +9 lines ad49e7c26f31
- 9d ago Changed · +1 lines 8c85776b0dd6
- 1mo ago First seen · 336 lines · 133 tokens per session scan A 18404edcc291
web-stylebook-design is a skill published in the GitHub repository seungdori/web-stylebook-mcp (4 stars, last pushed 2d ago), licensed MIT. It adds 133 tokens to every session and 6,416 once invoked, about $0.0005 per session on Opus 5.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.
Other skills, from other repositories
ijfw-ui-spec
Use when the user says: 'ui spec', 'design contract', 'ui audit setup', 'lock the design', 'visual contract', 'ui review setup', or '/ijfw-ui-spec'. Produces UI-SPEC.md as the visual design contract before any frontend or visual-artifact build, and dispatches ijfw-ui-auditor as the final 6-pillar gate.
page-prototype
An HTML wireframe tool for making a rough, clickable model of one page or screen. A wireframe shows structure and interactions with simple gray boxes rather than finished visual design.
brand-tokens
A reference library of visual design rules for well-known brands, including colors, fonts, corner shapes, and explanations of each brand's visual style. Design tokens are reusable values that keep an interface's appearance consistent.
ui-aesthetic
A set of visual design rules for making web pages and components look consistent and readable. It covers icons, colors, typography, spacing, text, accessibility contrast, layout, and restrained animation.
fmcp-token-sync-orchestrator
Figma design token'larını kod dosyalarıyla (CSS/Tailwind/Swift/Compose) platform-agnostic senkronize eder. Diff preview + onay + write akışı zorunlu. Her platformda çalışır. Condensed-first: Essentials bölümü %80 case'i kapsar, Advanced sadece edge case'lerde.
signup-flow-cro
Signup and registration flow optimization covering SSO strategy, progressive profiling, field reduction, multi-step flow design, authentication UX, post-submit experience, and mobile registration patterns.