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-uigit 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)<a href="https://agentmods.dev/skills/kemiljk/kernel-ui/kernel-ui"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui/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"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui.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.00056 | $0.01958 |
| Opus 5.5 | $0.00022 | $0.00783 |
| Sonnet 5.5 | $0.00011 | $0.00392 |
| Haiku 4.5 | $0.00006 | $0.00196 |
Grade A, and why
kernel-ui 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building UI with Kernel
Kernel components wrap real elements: <Button> is a <button>, <Dialog> is a <dialog> opened with showModal(), and <Select> is a <select>. The browser already handles most behaviour, so your job is to choose the right component, pass the right props and style only with tokens.
Workflow
- Check the setup once. Both stylesheets must be imported, or components render unstyled (they still work):
import "@kernelui-lib/styles"; // tokens + reset import "@kernelui-lib/react/styles.css"; // component stylesnpx @kernelui-lib/cli doctorchecks this. - Pick components before writing markup. If the
kernelMCP server is connected, callsearch_componentsorlist_components. Otherwise readnode_modules/@kernelui-lib/react/llms.txt. Prefer a Kernel component over hand-rolled markup every time one exists. - Get exact props, don't guess. Use the MCP
get_componenttool, ornpx @kernelui-lib/cli docs <name> --markdown, or the types innode_modules/@kernelui-lib/react/dist/index.d.ts. Props from other libraries (asChild,leftIcon,isDisabled,colorScheme) don't exist here. - Style with tokens only. Every colour, space, radius and duration is a
--kernel-*custom property (MCPget_tokens). Never hard-code a hex colour, a pixel radius or999px. - Review what you wrote. Run the MCP
check_codetool, ornpx @kernelui-lib/cli check <files>, and fix every error it reports before you finish. If the project uses ESLint,@kernelui-lib/eslint-plugin(kernel.configs.recommended) runs the same checks on every save. - Verify the rendered UI with
@kernelui-lib/testing. Static checks can't see keyboard behaviour. In the project's tests,await assertPage(document.body, { act })(orassertComponent(container, "Tabs", { act })) checks every Kernel component on screen against its WAI-ARIA pattern: names, state, arrow keys, Escape, focus. Each failure names the rule and the fix. Don't add one-off ARIA to make it pass; fix the props.
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 · 78 lines · 56 tokens per session scan A e7daebbc8e57
kernel-ui is a skill published in the GitHub repository kemiljk/kernel-ui (35 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,958 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 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernel-uikemiljk/kernel-ui | Skill | 35 | today | MIT | A | 56 | Claude Code, Codex |
| blueprint-componentsBlueprint-Master/blueprint-modular | Skill | 1 | yesterday | Apache-2.0 | A | 51 | Claude Code |
| product-motion-designdivyanshu-iitian/agent-website-design-skills | Skill | 4 | 3mo ago | MIT | A | 52 | Codex |
| design-doctrineplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 92 | Claude Code |
| image-to-codeplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 77 | Claude Code |
| brand-visual-languagedembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 35 | Claude Code |
| loading-states-and-perceived-performancedembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 38 | Claude Code |