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-elementsgit 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-elements)<a href="https://agentmods.dev/skills/kemiljk/kernel-ui/kernel-ui-elements"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui-elements/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-elements"><img src="https://agentmods.dev/badge/skills/kemiljk/kernel-ui/kernel-ui-elements.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.00054 | $0.01280 |
| Opus 5.5 | $0.00022 | $0.00512 |
| Sonnet 5.5 | $0.00011 | $0.00256 |
| Haiku 4.5 | $0.00005 | $0.00128 |
Grade A, and why
kernel-ui-elements 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building UI with Kernel Custom Elements
Each <kernel-*> tag builds and owns a real native element in the light DOM: <kernel-button> renders a genuine <button>. There's no shadow root, so the page's own CSS and Kernel's tokens reach everything.
Setup
<link rel="stylesheet" href="node_modules/@kernelui-lib/styles/src/index.css" />
<link rel="stylesheet" href="node_modules/@kernelui-lib/elements/dist/kernel.css" />
<script type="module">import "@kernelui-lib/elements";</script>
Bundlers can use import "@kernelui-lib/styles", import "@kernelui-lib/elements/styles.css" and import "@kernelui-lib/elements".
Workflow
- Pick tags first. Use the
kernelMCP server (search_components, thenget_componentwithplatform: "elements"), or readnode_modules/@kernelui-lib/elements/llms.txt. - Use real attributes. They're kebab-case versions of React's props (
error-message,hide-label). Booleans are presence-based (<kernel-checkbox disabled>), and string values go in attributes. - Read rich values as DOM properties. For example
tagInput.tagsreturns an array, and CodeBlock takeslinesorcode. - Listen to events. React's
onValueChangebecomes achangeevent withevent.detail.get_componentlists each tag's events with the exactdetailshape; don't guess it. Value controls follow the platform'sbeforeinput/inputpairing: a cancelablebeforevaluechangefires first with the proposed value (event.preventDefault()keeps the current state), then, once committed,valuechangeand (where the element has one)change, so a handler can read the element's own state (el.hasAttribute("checked"),el.tags,el.getAttribute("value")). All of them carryevent.detail.reason(the same per-component strings as React'sChangeDetails, e.g."press" | "keyboard"). Dialog/CommandPalette ask withcancel, Popover/DropdownMenu/Accordion items withbeforetoggle. - Review. Run
npx @kernelui-lib/cli check <files>and fix what it reports.
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 · 67 lines · 54 tokens per session scan A 94dc21ebe88a
kernel-ui-elements is a skill published in the GitHub repository kemiljk/kernel-ui (35 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,280 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-elements compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernel-ui-elementskemiljk/kernel-ui | Skill | 35 | today | MIT | A | 54 | 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 |