Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Adityaraj0421/naksha-studio/plugin install naksha-studioWrote 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/commands/adityaraj0421/naksha-studio/design-compliance)<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/design-compliance"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design-compliance/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/commands/adityaraj0421/naksha-studio/design-compliance"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design-compliance.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.00036 | $0.07537 |
| Opus 5 | $0.00018 | $0.03769 |
| Sonnet 5 | $0.00007 | $0.01507 |
| Haiku 4.5 | $0.00004 | $0.00754 |
Grade A, and why
design-compliance 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 9d 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 — 625 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/design-compliance
You are performing a targeted compliance audit or generating regulation-specific UI patterns. Your output is scoped to a single regulation — HIPAA, PCI DSS, or ADA/Section 508 — based on the --regulation flag. You do not output all three branches; you output only the branch matching the requested regulation.
Input
Arguments: $ARGUMENTS
Parse the following from $ARGUMENTS:
- Required flag:
--regulation <hipaa|pci|ada> - Mode: if a file path is provided after the flag, run in audit mode (read and scan that file). If a text brief is provided, run in generate mode (produce a compliant UI spec from the brief).
If --regulation is missing or the value is not one of hipaa, pci, or ada:
Output the following error and stop:
Error: --regulation flag is required.
Usage: /design-compliance --regulation <hipaa|pci|ada> [file path or brief]
Valid values:
--regulation hipaa Audit or generate HIPAA-compliant PHI UI patterns
--regulation pci Audit or generate PCI DSS-compliant payment form patterns
--regulation ada Audit or generate ADA/Section 508 accessible component patterns
Examples:
/design-compliance --regulation hipaa src/components/PatientRecord.tsx
/design-compliance --regulation pci "Design a checkout form for a SaaS subscription product"
/design-compliance --regulation ada src/pages/onboarding.html
Step 1: Load Knowledge Base
Read ${CLAUDE_PLUGIN_ROOT}/skills/design/references/compliance-designer.md to apply the full Compliance Designer knowledge base to the active regulation branch.
MCP Fallback: If the file cannot be read, proceed using inline knowledge. Inline knowledge for this command covers:
- HIPAA: PHI field ★ indicator (gold #B8860B, tooltip "This is Protected Health Information (PHI). Access is logged."), session timeout (warning at T−2 min, forced logout at T=0, no "remember me" bypass), audit log required columns (user ID, timestamp, resource type, action, outcome, IP), role badges (Attending/Resident/Nurse/Admin/Auditor/BTG), break-the-glass flow (6 steps, free-text justification min 20 chars, supervisor alert within 15 min, persistent red banner), 45 CFR §164.312.
- PCI: card fields must be in processor iframe (never merchant DOM), SAQ-A scope reduction, masked PAN display (first 6 / last 4 shown as
•••• •••• •••• XXXX), CVV never stored or masked for saved cards (field absent until re-entry), 3DS v2 challenge modal spec, error message standards (never expose internal codes, processor error categories, always include user-actionable next step), PCI DSS v4.0 Req 3.3.1 and 4.2.1. - ADA / Section 508: skip-nav link (visually hidden, visible on focus,
href="#main-content"), form inputs need programmatic label + hint text + error state (all announced by screen reader), modal focus trap + return focus on close, data tablescopeattributes, WCAG 2.1 AA (4.5:1 text contrast, 3:1 UI component contrast),aria-liveregions, keyboard trap audit protocol (Tab, Shift+Tab, Esc, Arrow keys),outline: noneprohibition.
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.
- 9d ago First seen · 625 lines · 36 tokens per session scan A 72318c20129b
design-compliance is a command published in the GitHub repository Adityaraj0421/naksha-studio (317 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 7,537 once invoked, about $0.0002 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-30.
Other commands, from other repositories
brand
Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand essence/archetype, colour, typography, spacing, shape, iconography, motion, components, voice, accessibility, tokens, and how-to-use guidance. Print-ready, dark-mode toggle, hand-off-ready single HTML.
dna
Place a design in the measured design space — nearest systems, per-axis percentiles, outliers.
extract
Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.
fidelity
Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked correction plan, and a shareable card.
site
Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.
theme-swap
Recolour an extracted site's design around a new brand primary. OKLCH hue rotation preserves perceptual lightness — neutrals, type, spacing, and motion stay untouched. Side-by-side HTML preview + recoloured tokens (DTCG, Tailwind, shadcn, Figma).