tonic-ui-sx

tonic-ui-sx is a skill for Claude Code, Codex from trendmicro-frontend/tonic-ui. It costs 61 tokens per session (4,304 once invoked), scanned A, original, MIT.

A guide for styling Tonic UI components built with React, a library for creating web interfaces. It explains how to use the library's style properties and combine styles when wrappers or user overrides are involved.

In plain words
What is it for?
Use it when adding or reviewing component styles, style hooks, wrappers, or integrations with headless libraries that provide component properties.
Why use it?
It helps prevent styles from being ignored or applied in the wrong order, especially when one component wraps another.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding or reviewing component styles, style hooks, wrappers, or integrations with headless libraries that provide component properties.

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

Made for: Claude Code, Codex.

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-sx

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trendmicro-frontend/tonic-ui/tonic-ui-sx"><img src="https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-ui-sx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,304 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.00061 $0.04304
Opus 5.5 $0.00024 $0.01722
Sonnet 5.5 $0.00012 $0.00861
Haiku 4.5 $0.00006 $0.00430

Measured 7d ago against content hash bc87b008e01d, 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-sx 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 7d 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.

skills/tonic-ui-sx/SKILL.md · 312 lines

How it starts

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

Tonic UI: sx vs __sx

All docs/ and packages/ paths are relative to the repository root. Component paths such as button/Button.js are relative to packages/react/src/. Read composition and verification when implementing a wrapper, transition, multi-feature prop getter, or regression check. Its worked examples and verification cases supplement the core rules below.

When to Use

Use this skill for component base styles, useXxxStyle() hooks, Box style routing, incoming __sx folds, wrappers overriding children, and headless-library prop getters such as react-table's getRowProps() / getHeaderProps(). It applies to any package rendering Tonic UI Box-based components, including external data-grid integrations. Also use it to investigate dropped wrapper styles or consumer overrides that lose.

Current Integration Status

Full __sx integration is not complete in this Tonic UI checkout. The helper, Box channel, and useSlot composition exist, and some components use them; the examples below describe the target styling convention, not proof that every component already follows it. Inspect the affected implementation before relying on it, and do not expand a task into full styling integration without a user request.

The one rule that governs everything: precedence-by-origin

A component's base styling always loses to a consumer override, regardless of which CSS property each touches. A wrapper's child-override beats the child's base but still loses to the end consumer. To make that true structurally (not by convention), Tonic UI routes who wrote the style to a fixed channel — and the channel decides precedence.

So the question is never "what does this style do?" but "who is writing it?"

  • You are the component author, styling your own Box → __sx (lowest tier).
  • You are a wrapper, overriding a child component you render → also __sx (folded into the child's incoming __sx).
  • You are the consumer (app developer) → sx (highest tier), or style props / pseudo props.

Read the full file on GitHub · 312 lines

Files

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.

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. 7d ago Changed · -19 lines bc87b008e01d
  2. 9d ago First seen · 331 lines · 61 tokens per session scan A 5d5df0c34b81

Subscribe to this mod's changes

tonic-ui-sx is a skill published in the GitHub repository trendmicro-frontend/tonic-ui (133 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 4,304 once invoked, about $0.0002 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-sx compared with skills from other repositories

tonic-ui-sx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tonic-ui-sxtrendmicro-frontend/tonic-uiSkill1337d agoMITA61Claude Code, Codex
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