uswds

uswds is a skill for Claude Code, Codex from bibekpdl/uswds-mcp. It costs 67 tokens per session (1,257 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,257 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.01257
Opus 5.5 $0.00027 $0.00503
Sonnet 5.5 $0.00013 $0.00251
Haiku 4.5 $0.00007 $0.00126

Measured 19d ago against content hash e38cd3bd3132, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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 · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 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 find_uswds_classes with a small query such as usa-button.
  2. Decide structure: recommend_uswds_structure, and prefer official templates and patterns (get_template, get_pattern) before composing individual components.
  3. Never write usa-* markup from memory. For every component you use, call get_component_markup and keep its DOM structure, class names, ids and ARIA wiring. Change only text, hrefs and ids that must be unique. Use find_uswds_classes for utilities (margin top 2, tablet grid col 6).
  4. For whole pages call compose_uswds_page with real content in explicit sections. Use generate_uswds_page only as a quick start, and replace every [bracketed] placeholder.
  5. For framework work, call get_uswds_integration_recipe before writing code; adapt to React, Next.js, Angular, Rails, Drupal only after preserving the documented DOM shape, classes, ARIA, ids and data attributes.
  6. Run validate_uswds_markup and fix every error (and explain any remaining warning) before finalizing. Re-run until passed is true. Validate project setup with validate_uswds_project_setup.

MCP Tools

  • get_component_markup: official HTML for a component/page template and its variants.
  • compose_uswds_page: complete accessible page from structured sections.
  • find_uswds_classes: real USWDS class names, including utilities.
  • validate_uswds_markup: real-class, structure, forms, ARIA and accessibility validation (fragment or page).
  • generate_uswds_page: quick-start page from free-text requirements.
  • recommend_uswds_structure: USWDS-first site or page structure.
  • search_uswds: search docs, accessibility and usage guidance.
  • get_component / get_pattern / get_template: structured guidance (components include canonical markup).
  • get_uswds_integration_recipe: framework-specific setup for CSS, JavaScript, assets and migration.
  • validate_uswds_project_setup: import path, asset, script, CDN and global CSS risks.

Read the full file on GitHub · 62 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. 19d ago Changed · -1 lines e38cd3bd3132
  2. 1mo 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 (2 stars, last pushed 4d ago), licensed MIT. It adds 67 tokens to every session and 1,257 once invoked, about $0.0003 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.