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 glebis/claude-skills --skill ui-tokensgit clone --depth 1 https://github.com/glebis/claude-skillsWrote 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/glebis/claude-skills/ui-tokens)<a href="https://agentmods.dev/skills/glebis/claude-skills/ui-tokens"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/ui-tokens/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/glebis/claude-skills/ui-tokens"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/ui-tokens.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.00141 | $0.00743 |
| Opus 5.5 | $0.00056 | $0.00297 |
| Sonnet 5.5 | $0.00028 | $0.00149 |
| Haiku 4.5 | $0.00014 | $0.00074 |
Grade A, and why
ui-tokens 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 3d 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 — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ui-tokens
A product video looks like the product only if it is built from the product's own values, not from a screenshot's guessed colours. This skill reads them out of the code and checks them against the screens.
Steps
- Find the sources. Grep the repo for
:root,--custom properties,@font-face,fonts.googleapis,transition,@keyframes,animation. Usually one shared CSS file plus inline<style>in the page templates. Tailwind or CSS-in-JS: read the theme config instead and write tokens.json by hand in the same shape. - Extract.
python3 ~/.claude/skills/ui-tokens/scripts/extract.py OUT_DIR FILE.css FILE.html ...writesOUT_DIR/tokens.json(light/dark grouped by kind: color, font, size, radius, height, shadow, other;fontFamilies;spacingPxby use;radiusUse;motion.transitions,motion.keyframes,motion.durationsMs) andOUT_DIR/tokens.ts(T,DARK,MOTION_MS— names with dashes become underscores:--pencil-soft→T.pencil_soft). - Fonts. If the families aren't installed, ask before downloading (OFL fonts from
raw.githubusercontent.com/google/fonts/main/ofl/<name>/) into the video project'sassets/fonts/. - Sheet.
python3 ~/.claude/skills/ui-tokens/scripts/sheet.py OUT_DIR/tokens.json OUT_DIR/token-sheet.png --fonts assets/fonts --title "NAME · design tokens"(1920×1080: base colours with their dark twin in the corner, paired category colours as chips, the type families at their roles, the rem scale in px, radii, spacing bars, the product's own transitions). - Check against the screens. Open one real screenshot next to the sheet. Anything on screen that isn't in the
sheet (a hard-coded hex, a one-off radius) goes into tokens.json by hand with a
"note". - Read the motion. The product's own durations (e.g. 150–400 ms opacity/background) set the floor for the video's UI motion: the video may slow and exaggerate them for reading at 30 fps, but keeps what moves and in what order. Say this in one line in the hand-off.
What ships with it
2 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.
- 3d ago First seen · 36 lines · 141 tokens per session scan A 86cdbd104ba5
ui-tokens is a skill published in the GitHub repository glebis/claude-skills (417 stars, last pushed today), licensed MIT. It adds 141 tokens to every session and 743 once invoked, about $0.0006 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-11-27.
ui-tokens compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-tokensglebis/claude-skills | Skill | 417 | today | MIT | A | 141 | Claude Code, Codex |
| frontend-patternsJartan-LLC/grimoire | Skill | 4 | 6d ago | MIT | A | 21 | Claude Code |
| draw-uioil-oil/draw-ui | Skill | 573 | 5d ago | none | A | 93 | Claude Code, Codex |
| gpt-tastewedabro/bro-skills | Skill | 3 | 1mo ago | MIT | A | 59 | Claude Code, Codex |
| speckit.uiuxwedabro/bro-skills | Skill | 3 | 1mo ago | MIT | A | 30 | Claude Code, Codex |
| design-taste-frontendwedabro/bro-skills | Skill | 3 | 1mo ago | MIT | A | 80 | Claude Code, Codex |
| frontend-designdisplay-design-studio/skills | Skill | 3 | 4d ago | none | A | 40 | Claude Code, Codex |