uswds

uswds is a skill for Claude Code, Codex from bibekpdl/uswds-mcp. It costs 67 tokens per session (1,163 once invoked), scanned A, original, MIT.

A guide for building, reviewing, or converting websites with the U.S. Web Design System, a collection of design patterns and code guidance for U.S. government websites. It uses an unofficial MCP server to look up the system's components and patterns.

In plain words
What is it for?
Use it when implementing or auditing USWDS components, templates, patterns, utilities, accessibility guidance, or integrations in a web project.
Why use it?
It helps keep the website's structure, accessibility details, design tokens, and framework integration aligned with USWDS guidance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when implementing or auditing USWDS components, templates, patterns, utilities, accessibility guidance, or integrations in a web project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bibekpdl/uswds-mcp/uswds
Install

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.

Any agent
npx skills add bibekpdl/uswds-mcp --skill uswds
Clone the repo
git clone --depth 1 https://github.com/bibekpdl/uswds-mcp

Made for: Claude Code, Codex.

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 uswds

README.md
[![agentmods](https://agentmods.dev/badge/skills/bibekpdl/uswds-mcp/uswds/github.svg)](https://agentmods.dev/skills/bibekpdl/uswds-mcp/uswds)
Your own site
<a href="https://agentmods.dev/skills/bibekpdl/uswds-mcp/uswds"><img src="https://agentmods.dev/badge/skills/bibekpdl/uswds-mcp/uswds/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 uswds

Your own site · 80×15
<a href="https://agentmods.dev/skills/bibekpdl/uswds-mcp/uswds"><img src="https://agentmods.dev/badge/skills/bibekpdl/uswds-mcp/uswds.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00067 $0.01163
Opus 5 $0.00034 $0.00581
Sonnet 5 $0.00013 $0.00233
Haiku 4.5 $0.00007 $0.00116

Measured 12d ago against content hash 2cc5c6f7e0ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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

.agents/skills/uswds/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

USWDS

Use this skill when creating, auditing, or converting websites with the U.S. Web Design System. uswds-mcp is an unofficial independent MCP server; do not imply GSA, TTS, or the official USWDS team endorses the output.

Workflow

  1. Verify the MCP server io.github.bibekpdl/uswds-mcp is available by calling search_uswds with a small query such as button.
  2. If tools return an empty-index error, tell the user to run npm run ingest in the package checkout or reinstall a package that includes data/records.json.
  3. Query the USWDS MCP before choosing UI patterns.
  4. Prefer official templates and patterns before composing individual components.
  5. Use official USWDS HTML structure and classes as the canonical output.
  6. For framework work, call get_uswds_integration_recipe before writing code.
  7. Adapt to React, Next.js, Angular, Rails, Drupal, or other frameworks only after preserving the documented USWDS DOM shape, classes, ARIA, ids, and data attributes.
  8. Validate generated markup with validate_uswds_markup and validate project setup with validate_uswds_project_setup before finalizing.

MCP Tools

  • search_uswds: Search components, patterns, templates, utilities, tokens, settings, packages, and accessibility guidance.
  • get_component: Load full component guidance before using a component.
  • get_pattern: Load pattern guidance for workflows such as forms, authentication, language selection, and navigation.
  • get_template: Load page/template guidance for common layouts.
  • recommend_uswds_structure: Get a USWDS-first site or page structure.
  • generate_uswds_page: Generate framework-neutral USWDS HTML and adaptation notes.
  • validate_uswds_markup: Check markup for common USWDS structure, accessibility, and token drift issues.
  • get_uswds_integration_recipe: Get framework-specific setup guidance for CSS, JavaScript, assets, and migration.
  • validate_uswds_project_setup: Check project files for import path, asset, script, CDN, and global CSS risks.

Read the full file on GitHub · 63 lines

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. 12d ago First seen · 63 lines · 67 tokens per session scan A 2cc5c6f7e0ce

Subscribe to this mod's changes

uswds is a skill published in the GitHub repository bibekpdl/uswds-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 67 tokens to every session and 1,163 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

micro-interactions

Micro-interactions are small, purposeful animations and responses that reward the user and make the interface feel alive — an animated icon, a satisfying toggle, a subtle reveal. Borrowed from the natural world, they add delight without distraction. Use when designing interactive components, success states, toggles…

dembrandt/dembrandt-skills · 70 tokens

elevation-and-depth

Elevation — subtle shadows and layering — communicates visual hierarchy by lifting elements above the surface. Combined with border-radius, it creates the tactile quality of cards, modals, and interactive surfaces. Use when designing cards, dropdowns, modals, tooltips, or any floating UI element.

dembrandt/dembrandt-skills · 62 tokens

loading-states-and-perceived-performance

Manage user expectations during wait times with appropriate loading states — from simple spinners to complex skeleton screens and staggered animations. Perceived performance is often more important than actual load time. Use when designing data-heavy components, handling API calls, building hero sections, or improving…

dembrandt/dembrandt-skills · 68 tokens

motion-and-storytelling

Disney's 12 animation principles, cinematic storytelling techniques, and comic book conventions apply to web UI — used subtly, they make interfaces feel alive, intentional, and emotionally resonant. Use when designing transitions, micro-interactions, onboarding flows, scroll animations, or any motion in the UI.

dembrandt/dembrandt-skills · 63 tokens

responsive-paradigms

Mobile, tablet, and desktop are different interaction paradigms — not the same layout scaled up or down. Sections can be hidden, repositioned, or made sticky on mobile. Navigation and primary actions move. Use when designing responsive layouts, adapting desktop UI for mobile, or deciding what to show on each…

dembrandt/dembrandt-skills · 68 tokens