tonic-ui-tokens

tonic-ui-tokens is a skill for Claude Code from trendmicro-frontend/tonic-ui. It costs 70 tokens per session (1,339 once invoked), scanned A, original, MIT.

A reference and lookup tool for Tonic UI v3 design tokens, which are named values such as colours, spacing, and CSS variables used to keep an interface consistent. It also records limited information from Figma, a design collaboration tool, without treating unverified matches as facts.

In plain words
What is it for?
Use it when resolving Tonic UI v3 theme tokens, CSS variables, captured Figma variables, screenshots, or design handoffs in an app already using that UI library.
Why use it?
It helps developers find the correct existing theme values and see what is confirmed or still uncertain, rather than copying unverified design data.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tonic-ui-tokens plugin — 1 skill shipped together

Good fit Use it when resolving Tonic UI v3 theme tokens, CSS variables, captured Figma variables, screenshots, or design handoffs in an app already using that UI library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens
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 trendmicro-frontend/tonic-ui --skill tonic-ui-tokens
Clone the repo
git clone --depth 1 https://github.com/trendmicro-frontend/tonic-ui

Made for: Claude Code.

Or install tonic-ui-tokens, the plugin that ships this one along with the rest of its 1 skill.

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 tonic-ui-tokens

README.md
[![agentmods](https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens/github.svg)](https://agentmods.dev/skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens)
Your own site
<a href="https://agentmods.dev/skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens"><img src="https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-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.

agentmods 80×15 button for tonic-ui-tokens

Your own site · 80×15
<a href="https://agentmods.dev/skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens"><img src="https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-ui-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,339 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.00070 $0.01339
Opus 5.5 $0.00028 $0.00536
Sonnet 5.5 $0.00014 $0.00268
Haiku 4.5 $0.00007 $0.00134

Measured 9d ago against content hash 5d0de512195d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tonic-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 9d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/__tests__/live-lookup.test.mjs, scripts/__tests__/token-matcher.test.mjs, scripts/__tests__/variable-relations.test.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/tonic-ui-tokens/skills/tonic-ui-tokens/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tonic UI v3 token resolution

Use this skill for app-code and Figma prototype questions in an app already using @tonic-ui/react v3. Match the actual theme inventory or captured variables, report the evidence and its limits, and leave unavailable design decisions unconfirmed. Token selection does not require an upgrade or package change.

Data and boundaries

  • assets/tokens.json is generated from the Tonic UI v3 theme source and includes public and private, primitive, semantic and legacy leaves, mode and unit values, and emitted CSS variables. Its metadata identifies the theme version and source revision.
  • assets/figma-variables/ contains location-redacted snapshots of Tonic One v4 Foundations and Semantic variables, including modes and alias targets. Their applicability to Tonic UI v3 is unverified. They do not include every prototype or text style and are not a live view of Figma.
  • assets/token-relations.json is a partial ledger of reviewed variable-to-theme correspondence. The shipped Tonic UI ledger is empty: all endpoints are unreviewed, not proven matches or absences. Never transplant v4 reviews as v3 evidence.
  • scripts/lookup-tokens.mjs reads the bundled data offline. It needs no checkout, installation, Figma connection, credentials or network.

Query only: do not capture or regenerate snapshots, change relations or Figma files, edit theme source, or upgrade packages as a side effect. Never infer identity from matching names, RGB values, screenshots or codeSyntax alone. A lookup does not prove what a component renders.

Workflow

  1. Identify the input: an implemented theme path or short token name, a captured Figma variable path or stable key, or a screenshot/prototype without an identifiable label.
  2. Match the relevant selector below. For a screenshot, first gather role, state, mode and surface; use only actual inventory results as candidates.
  3. Report the complete matching paths, mode/unit values and CSS variable when available. A path with an _ segment is private: implemented, but not stable public API. Keep retained legacy tokens identified as legacy.
  4. Interpret implementation resolutionStatus separately from variable correspondence. An unresolved source reference is not a usable resolved value even when its relation is current. Only current positive reviews provide counterparts.
  5. Compare snapshot metadata with the app's installed theme version when possible. If a prototype style, mode, identity or other evidence is missing, say what remains unconfirmed; do not invent a mapping or substitute a visually similar primitive.

Read the full file on GitHub · 99 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. 9d ago First seen · 99 lines · 70 tokens per session scan A 5d0de512195d

Subscribe to this mod's changes

tonic-ui-tokens is a skill published in the GitHub repository trendmicro-frontend/tonic-ui (133 stars, last pushed 7d ago), licensed MIT. It adds 70 tokens to every session and 1,339 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-11-20.

Related

tonic-ui-tokens compared with skills from other repositories

tonic-ui-tokens next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tonic-ui-tokenstrendmicro-frontend/tonic-uiSkill1337d agoMITA70Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
shadcn-uiwpank/aiSkill129mo agononeA56Claude Code, Codex
chakra-ui-refactorchakra-ui/chakra-uiSkill41ktodayMITA139Claude Code, Codex
antigravity-design-expertsickn33/agentic-awesome-skillsSkill51ktodayMITA39Claude Code
tamagui-v6-configtamagui/tamaguiSkill14k3d agoMITA76Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14k3d agoMITA48Claude Code, Codex