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 trendmicro-frontend/tonic-ui --skill tonic-ui-slotsgit clone --depth 1 https://github.com/trendmicro-frontend/tonic-uiWrote 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/trendmicro-frontend/tonic-ui/tonic-ui-slots)<a href="https://agentmods.dev/skills/trendmicro-frontend/tonic-ui/tonic-ui-slots"><img src="https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-ui-slots/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/trendmicro-frontend/tonic-ui/tonic-ui-slots"><img src="https://agentmods.dev/badge/skills/trendmicro-frontend/tonic-ui/tonic-ui-slots.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.00190 | $0.01217 |
| Opus 5.5 | $0.00076 | $0.00487 |
| Sonnet 5.5 | $0.00038 | $0.00243 |
| Haiku 4.5 | $0.00019 | $0.00122 |
Grade A, and why
tonic-ui-slots 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.
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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tonic UI Slots
The slots / slotProps API gives consumers granular control over a component's internal parts — slots replaces the element rendered for a part, slotProps merges extra props into it — without forking the component. Internally, each slot is wired with the useSlot hook.
This skill covers both authoring slots on a component and migrating the legacy *Component / *Props prop pairs (e.g. TransitionComponent / TransitionProps, PopperComponent / PopperProps) to the slots API.
When to Use
- Adding slot support to a new or existing component (wire an internal part with
useSlotso it can be replaced viaslots.xor configured viaslotProps.x) - Authoring the internal
props, handler chaining, and slot resolution for a slot - Migrating a component from the deprecated
*Component/*Propspairs toslots/slotProps.
Workflow and References
Paths starting with packages/ are relative to the repository root; component
paths such as modal/ModalContent.js are relative to packages/react/src/.
The reference links below are relative to this skill directory, not the CWD.
- Read the component and its existing handler chains before changing it.
- Read API and handler authoring before wiring or reviewing a slot. It defines prop merging, composed refs/styles, imports, and warnings.
- For a legacy-prop migration, also read migration examples before editing. Preserve context fallbacks, render-prop children, parent threading, deprecation warnings, and explicitly merged arrays.
- Apply the invariants below, then exercise the changed consumer behavior.
Current Integration Status
Full __sx integration is not complete in this Tonic UI checkout, but the
useSlot contract below is implemented here: packages/react/src/slot/useSlot.js
composes both ref (via useMergeRefs) and __sx (via composeSx), and the
composition is covered by packages/react/src/slot/__tests__/useSlot.test.js.
The remaining gap is repo-wide component migration, not the hook. Inspect the
affected implementation before relying on it, and do not silently expand a slot
task into a styling integration change.
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.
- 9d ago First seen · 70 lines · 190 tokens per session scan A 7b2e5178c65a
tonic-ui-slots is a skill published in the GitHub repository trendmicro-frontend/tonic-ui (133 stars, last pushed 7d ago), licensed MIT. It adds 190 tokens to every session and 1,217 once invoked, about $0.0008 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.
tonic-ui-slots compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tonic-ui-slotstrendmicro-frontend/tonic-ui | Skill | 133 | 7d ago | MIT | A | 190 | Claude Code, Codex |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| chakra-ui-refactorchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 139 | Claude Code, Codex |
| igniteui-react-generate-from-image-designIgniteUI/igniteui-react | Skill | 57 | 5d ago | MIT | A | 160 | Claude Code |
| shadcn-uiwpank/ai | Skill | 12 | 9mo ago | none | A | 56 | Claude Code, Codex |
| cobejsMengTo/Skills | Skill | 8.7k | yesterday | MIT | A | 31 | Claude Code, Codex |
| frontend-ui-dark-tsmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 48 | Claude Code |