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 agentmods add skills/kws-projects/react-boilerplate/color-managementnpx skills add kws-projects/react-boilerplate --skill color-managementgit clone --depth 1 https://github.com/kws-projects/react-boilerplateWrote 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/kws-projects/react-boilerplate/color-management)<a href="https://agentmods.dev/skills/kws-projects/react-boilerplate/color-management"><img src="https://agentmods.dev/badge/skills/kws-projects/react-boilerplate/color-management.svg" alt="Measured on agentmods" 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.00000 | $0.01379 |
| Opus 5 | $0.00000 | $0.00690 |
| Sonnet 5 | $0.00000 | $0.00276 |
| Haiku 4.5 | $0.00000 | $0.00138 |
Grade A, and why
color-management 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 6d 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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Color Management
Work with the design-token color system in this project. Use when adding, changing, or debugging colors, or when the user asks about theming, design tokens, OKLCH, or "how do I use colors".
How the color system works
Colors are managed in a single file: src/index.css. There is no JS config
or separate token JSON — CSS custom properties are the single source of truth.
src/index.css
:root { --primary: oklch(...); ... } ← light theme values
.dark { --primary: oklch(...); ... } ← dark theme overrides
@theme inline { --color-primary: var(--primary); ... } ← Tailwind bridge
The flow:
:root/.darkdefine semantic CSS variables in OKLCH.@theme inlinemaps each variable to a--color-*Tailwind token.- Tailwind utilities like
bg-primary,text-success,border-inforesolve to the CSS variables and automatically flip with dark mode. ThemeProvidertoggleslight/darkclass on<html>.
Available tokens
Surfaces
| Token | Light | Dark | Tailwind class |
|---|---|---|---|
background / foreground |
white / near-black | near-black / near-white | bg-background, text-foreground |
card / card-foreground |
white / near-black | dark gray / near-white | bg-card, text-card-foreground |
popover / popover-foreground |
same | same | bg-popover, etc. |
Brand / actions
| Token | Tailwind class |
|---|---|
primary / primary-foreground |
bg-primary, text-primary-foreground |
secondary / secondary-foreground |
bg-secondary, etc. |
Neutral helpers
| Token | Tailwind class |
|---|---|
muted / muted-foreground |
bg-muted, text-muted-foreground |
accent / accent-foreground |
bg-accent, etc. |
Semantic status
| Token | Purpose | Tailwind class |
|---|---|---|
destructive / destructive-foreground |
Errors, deletions | bg-destructive, text-destructive |
success / success-foreground |
Confirmations, positive states | bg-success, text-success |
warning / warning-foreground |
Cautions, attention needed | bg-warning, text-warning |
info / info-foreground |
Informational notices | bg-info, text-info |
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.
- 6d ago First seen · 139 lines · 0 tokens per session scan A deb586361ab0
color-management is a skill published in the GitHub repository kws-projects/react-boilerplate (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,379 tokens. 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.
Other skills, from other repositories
ui-and-theme
Frontend/design system skill for the svelteflare monorepo. Use this whenever the user wants to build or modify UI — pages, sections, components, layouts, forms, cards, tables, dialogs, dashboards, or landing pages. Also invoke for anything theme-related: light/dark mode, custom colors, design tokens, typography, or…
frontend-design
Visual and UX design quality for interfaces: hierarchy, spacing rhythm, typographic scale, a restrained color system, layout composition, and polished states. The taste layer above frontend architecture and a11y.
css-i18n
Audit and convert CSS to use logical properties for RTL/bidirectional layout support. Use when the user asks to "make CSS RTL-safe", "use logical properties", "replace left/right with start/end", "audit CSS for i18n", "CSS internationalization", "fix CSS for RTL", "convert to logical properties", or when setting up…
i18n
Flutter 국제화(i18n) 가이드라인. flutterlocalizations, intl, ARB 파일 관리, RTL 레이아웃, 복수형/성별 처리, 런타임 로캘 전환.
tokens
Generates site/css/tokens.css from DESIGN-LOCK.md and brief/animation.md. Refuses to work until DESIGN-LOCK is frozen. Sole writer of tokens.css in the project.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…