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.05929 |
| Opus 5 | $0.00067 | $0.02965 |
| Sonnet 5 | $0.00027 | $0.01186 |
| Haiku 4.5 | $0.00013 | $0.00593 |
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 12d 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 — 336 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. - 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.- 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.- 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. 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.
- 12d 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 12d ago), licensed MIT. It adds 133 tokens to every session and 5,929 once invoked, about $0.0007 per session on Opus 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
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
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.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
reveal-hover-effect
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.