kernel-ui-migrate

kernel-ui-migrate is a skill for Claude Code, Codex from kemiljk/kernel-ui. It costs 48 tokens per session (688 once invoked), scanned A, original, MIT.

A migration guide for moving a React app from shadcn/ui or Radix Primitives to Kernel UI. It explains how to find matching components, replace imports, and translate properties.

In plain words
What is it for?
Use it to migrate files that import local shadcn components or Radix packages to Kernel components one component at a time.
Why use it?
It reduces the guesswork and missed replacements involved in changing a component library, including leftover properties from the old library.

Skill for Claude CodeCodex

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

Good fit Use it to migrate files that import local shadcn components or Radix packages to Kernel components one component at a time.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui-migrate/github.svg)](https://agentmods.dev/skills/kemiljk/kernel-ui/kernel-ui-migrate)
Your own site
<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.

agentmods 80×15 button for kernel-ui-migrate

Your own site · 80×15
<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>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 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.00048 $0.00688
Opus 5.5 $0.00019 $0.00275
Sonnet 5.5 $0.00010 $0.00138
Haiku 4.5 $0.00005 $0.00069

Measured yesterday against content hash 43709327250f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

packages/react/skills/kernel-ui-migrate/SKILL.md · 35 lines

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

  1. Find what to replace. Run npx @kernelui-lib/cli check <files> (or the MCP check_code tool). It flags every @/components/ui/* and @radix-ui/react-* import that has a Kernel equivalent. npx @kernelui-lib/cli doctor gives a project-wide summary.
  2. Look up each mapping. npx @kernelui-lib/cli docs <shadcn-name> accepts shadcn names: input resolves to TextField and sheet to Sheet. It lists the Kernel exports and migration caveats. MCP get_component gives the same, with exact props.
  3. Swap one component at a time, then run kernel check again. 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 with hideLabel. 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/styles and @kernelui-lib/react/styles.css.

Read the full file on GitHub · 35 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. yesterday First seen · 35 lines · 48 tokens per session scan A 43709327250f

Subscribe to this mod's changes

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.

Related

kernel-ui-migrate compared with skills from other repositories

kernel-ui-migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernel-ui-migratekemiljk/kernel-uiSkill35todayMITA48Claude Code, Codex
fast-typescript-checkinternet-development/www-sacredSkill1.6k13d agoMITA84Claude Code, Codex
port-sacred-terminal-ui-to-pythoninternet-development/www-sacredSkill1.6k13d agoMITA0Claude Code, Codex
port-sacred-terminal-ui-to-hostile-react-codebaseinternet-development/www-sacredSkill1.6k13d agoMITA0Claude Code, Codex
port-sacred-terminal-ui-to-react-using-same-conventionsinternet-development/www-sacredSkill1.6k13d agoMITA0Claude Code, Codex
port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacredSkill1.6k13d agoMITA0Claude Code, Codex
vuetify0vuetifyjs/0Skill6665d agononeA92Claude Code, Codex