Borrowing it
Nothing to install: this file belongs to iress/design-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/iress/design-system/main/.agents/skills/token-usage/SKILL.mdgit clone --depth 1 https://github.com/iress/design-systemWrote 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/iress/design-system/token-usage)<a href="https://agentmods.dev/skills/iress/design-system/token-usage"><img src="https://agentmods.dev/badge/skills/iress/design-system/token-usage/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/iress/design-system/token-usage"><img src="https://agentmods.dev/badge/skills/iress/design-system/token-usage.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.00080 | $0.04724 |
| Opus 5.5 | $0.00032 | $0.01890 |
| Sonnet 5.5 | $0.00016 | $0.00945 |
| Haiku 4.5 | $0.00008 | $0.00472 |
Grade A, and why
token-usage 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 2mo 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 — 454 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: IDS Token Usage
Purpose
Guide AI agents on correctly using IDS design tokens in React components and CSS. This skill covers import patterns, common mistakes, and practical usage rules for each token category.
When to Use
- Generating React components that need colours, spacing, typography, or border-radius values
- Writing custom CSS or inline styles for IDS-based applications
- Reviewing or fixing design token usage in existing code
- Choosing between component props, CSS variables, and the
cssVarsJS object - Answering questions about available token values and naming conventions
Workflow
- Check if a component prop handles it — Most IDS components accept
IressCSSProps(e.g.p,m,gap,bg,color,textStyle). Use props before reaching for tokens directly. - Identify the token category — Is it colour, spacing, typography, or radius?
- Choose the right import — Use
cssVarsfor inline styles, CSS variables for stylesheets. See the import patterns below. - Look up the value — See references/token-reference.md for the full list of available tokens if you need to find a specific value.
Quick Start
Installation
Important: IDS v6 is currently in beta. Install with the
@betatag:npm install @iress-oss/ids-tokens@beta # If also using IDS React components: npm install @iress-oss/ids-components@beta
Prerequisites (React only)
If you are using IDS React components, wrap your application in IressProvider and import the CSS variables stylesheet:
Note:
IressProvideralready includesIressModalProvider,IressSlideoutProvider,IressToasterProvider,IressPopoverProvider, andIressIconProvider— you do not need to add these separately. If usingIressShadow, no additional providers are needed as it includesIressProviderinternally.
import '@iress-oss/ids-tokens/build/css-vars.css';
import { IressProvider } from '@iress-oss/ids-components';
function App() {
return <IressProvider>{/* your UI */}</IressProvider>;
}
What ships with it
4 files 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.
- 2mo ago First seen · 454 lines · 80 tokens per session scan A 8b9724bb213a
token-usage is a skill published in the GitHub repository iress/design-system (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 80 tokens to every session and 4,724 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.
token-usage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| token-usageiress/design-system | Skill | 1 | 2d ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 34 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | yesterday | MIT | A | 214 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |
| open-design-setupcompozy/compozy | Skill | 2.8k | yesterday | MIT | A | 67 | Claude Code, Codex |
| frontend-visual-qadaymade/claude-code-skills | Skill | 1.5k | yesterday | MIT | A | 125 | Claude Code, Codex |
| prototype-webnexu-io/html-anything | Skill | 9.4k | 24d ago | Apache-2.0 | A | 24 | Claude Code, Codex |