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 kemiljk/kernel-ui --skill kernel-ui-migrategit clone --depth 1 https://github.com/kemiljk/kernel-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/kemiljk/kernel-ui/kernel-ui-migrate)<a href="https://agentmods.dev/skills/kemiljk/kernel-ui/kernel-ui-migrate"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui-migrate/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/kemiljk/kernel-ui/kernel-ui-migrate"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui-migrate.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.00048 | $0.00688 |
| Opus 5.5 | $0.00019 | $0.00275 |
| Sonnet 5.5 | $0.00010 | $0.00138 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
kernel-ui-migrate 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 yesterday.
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 — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrating to Kernel from shadcn/ui or Radix
Kernel ships as npm packages. It doesn't copy component source into your repo, so a migration swaps imports and props rather than editing local component files.
Steps
- Find what to replace. Run
npx @kernelui-lib/cli check <files>(or the MCPcheck_codetool). It flags every@/components/ui/*and@radix-ui/react-*import that has a Kernel equivalent.npx @kernelui-lib/cli doctorgives a project-wide summary. - Look up each mapping.
npx @kernelui-lib/cli docs <shadcn-name>accepts shadcn names:inputresolves to TextField andsheetto Sheet. It lists the Kernel exports and migration caveats. MCPget_componentgives the same, with exact props. - Swap one component at a time, then run
kernel checkagain. It reports leftover foreign props with Kernel's name for each.
Prop translations you'll meet most
| shadcn / Radix | Kernel |
|---|---|
asChild + child element |
render={<a href="…" />} |
<Button size="icon"> with an icon child |
<Button aria-label="…" iconStart={<Icon />} /> |
| Icon placed inside button text | iconStart / iconEnd |
onCheckedChange on Checkbox / Switch |
same name, onCheckedChange |
Select / SelectTrigger / SelectContent / SelectItem |
<Select label="…"> with SelectOption children (a real <select>) |
Dialog + DialogTrigger + DialogContent |
<Dialog open onOpenChange title description>, with your own trigger Button |
Input + Label + FormMessage |
<TextField label description invalid errorMessage> |
cn() / className overrides with Tailwind colours |
Kernel tokens: var(--kernel-color-*), or the Tailwind bridge @kernelui-lib/styles/tailwind.css |
Things that work differently on purpose
- Fields always have a label. Every field takes
label, even when it's hidden withhideLabel. shadcn's bare<Input placeholder>pattern has no direct equivalent. - Overlays are native. They use
<dialog>and the Popover API, so focus trapping, Escape and the top layer come from the browser. Don't port Radix portal or focus-trap workarounds. - Styling is by tokens, not variant props. Colour and radius come from tokens, so you don't need a CVA variant per colour.
- Keep the styles import. Remove
components/ui/*files only once nothing imports them. Kernel's styles come from@kernelui-lib/stylesand@kernelui-lib/react/styles.css.
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.
- yesterday First seen · 35 lines · 48 tokens per session scan A 43709327250f
kernel-ui-migrate is a skill published in the GitHub repository kemiljk/kernel-ui (35 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 688 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-29.
kernel-ui-migrate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernel-ui-migratekemiljk/kernel-ui | Skill | 35 | today | MIT | A | 48 | Claude Code, Codex |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 84 | Claude Code, Codex |
| port-sacred-terminal-ui-to-pythoninternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 0 | Claude Code, Codex |
| port-sacred-terminal-ui-to-hostile-react-codebaseinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 0 | Claude Code, Codex |
| port-sacred-terminal-ui-to-react-using-same-conventionsinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 0 | Claude Code, Codex |
| port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 0 | Claude Code, Codex |
| vuetify0vuetifyjs/0 | Skill | 666 | 5d ago | none | A | 92 | Claude Code, Codex |