adobe/spectrum-design-data is a monorepo containing the design tokens, component schemas, specifications, and related datasets that define Adobe's Spectrum design system; a monorepo keeps these related packages in one repository. It is for Adobe Spectrum SDK and tooling developers who need canonical design-system data and validation artifacts. The catalogue add-ons provide workflows and integrations for working with this design data.
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 adobe/spectrum-design-data --skill s2-docsgit clone --depth 1 https://github.com/adobe/spectrum-design-dataWrote 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/adobe/spectrum-design-data/s2-docs)<a href="https://agentmods.dev/skills/adobe/spectrum-design-data/s2-docs"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/s2-docs/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/adobe/spectrum-design-data/s2-docs"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/s2-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00091 | $0.00933 |
| Opus 5.5 | $0.00036 | $0.00373 |
| Sonnet 5.5 | $0.00018 | $0.00187 |
| Haiku 4.5 | $0.00009 | $0.00093 |
Grade A, and why
s2-docs 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 yesterday.
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 — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spectrum 2 Docs
Deprecated. This skill and
@adobe/s2-docs-mcpare superseded by@adobe/design-data-mcp. If that server is available, prefer itsdesign-data-component-searchanddesign-data-componenttools. The commands below still work and use current data.
Fetch canonical S2 docs before suggesting any Spectrum component or pattern. This prevents common vibe-coding mistakes: wrong variant, hard-coded sizes, divider-first layouts, missing required props.
Lookup commands
Get a specific component (use before writing any RSP/SWC code):
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js get <component-name>
Find components by use case:
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js use-case "<phrase>"
Search by name:
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js search <query>
List all components in a category (actions, containers, feedback, inputs, navigation, status):
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js list --category <category>
When working in Cursor
Cursor does not support inline shell injection. Use Bash explicitly with --cursor for trimmed, delimited output:
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js get <component-name> --cursor
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js use-case "<phrase>" --cursor
Workflow
- Identify the component(s) the user needs — use
use-caseorsearchif unsure. - Fetch the docs with
get <name>for each relevant component. - Read the "Component options" table — note variants, sizes, required props.
- Apply the anti-drift checklist before writing code.
Anti-drift checklist
After fetching docs, verify every suggestion against:
- Correct component — ComboBox (freeform + autocomplete) vs Picker (selection only), ActionButton vs Button, etc.
- Correct variant — don't default to
accent; match the use case (primary, secondary, negative) - No hard-coded sizes — use Spectrum size tokens, not px values
- Spacing-first grouping — S2 uses spacing to separate content, not dividers
- Required props present — e.g.
labelon all inputs,necessityIndicatorwhen required - Static color used correctly — only when placed on a custom background
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · +1 lines 718742545ac9
- 1mo ago Changed · +5 lines 9e7b75616202
- 1mo ago Changed ef38bfc633bd
- 3mo ago First seen · 87 lines · 91 tokens per session scan A 495c96de642b
s2-docs is a skill published in the GitHub repository adobe/spectrum-design-data (163 stars, last pushed yesterday), licensed Apache-2.0. It adds 91 tokens to every session and 933 once invoked, about $0.0004 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-09-03.
s2-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| s2-docsadobe/spectrum-design-data | Skill | 163 | yesterday | Apache-2.0 | A | 91 | Claude Code |
| designlang-tokensManavarya09/design-extract | Skill | 5.3k | 2d ago | MIT | A | 30 | Claude Code |
| ss-learnbitjaru/styleseed | Skill | 1.1k | 4d ago | MIT | A | 73 | Claude Code, Codex |
| omd-3d-herokwakseongjae/oh-my-design | Skill | 650 | 4d ago | MIT | A | 349 | Claude Code |
| omd-brand-lookkwakseongjae/oh-my-design | Skill | 650 | 4d ago | MIT | A | 235 | Claude Code, Codex |
| use-design-mdCaesiumY/ko-design-md | Skill | 86 | 3d ago | MIT | A | 193 | Claude Code |
| kernel-uikemiljk/kernel-ui | Skill | 36 | today | MIT | A | 56 | Claude Code, Codex |