Borrowing it
Nothing to install: this file belongs to kemiljk/kernel-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kemiljk/kernel-ui/main/AGENTS.mdgit 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/instructions/kemiljk/kernel-ui/agents-md)<a href="https://agentmods.dev/instructions/kemiljk/kernel-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/kemiljk/kernel-ui/agents-md/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/instructions/kemiljk/kernel-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/kemiljk/kernel-ui/agents-md.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.03527 | $0.03527 |
| Opus 5.5 | $0.01411 | $0.01411 |
| Sonnet 5.5 | $0.00705 | $0.00705 |
| Haiku 4.5 | $0.00353 | $0.00353 |
Grade A, and why
kernel-ui AGENTS.md 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 19d 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 — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working in this repo
This is a monorepo for a component library built on real semantic HTML.
Read README.md for the project pitch. This file is operational
guidance for anyone (human or agent) making changes here.
Release checklist for pull requests
Any PR that changes a publishable package under packages/react,
packages/elements, packages/styles, or packages/cli must include a
.changeset/<descriptive-name>.md file describing the affected package(s) and
the release level (patch, minor, or major). Run bunx changeset to create
it. Docs-only changes do not need a Changeset. CI enforces this rule; the only
exception is the Changesets-generated Version Packages release PR.
When creating a PR, never leave the Changeset decision implicit: add the file or explicitly confirm that the PR is docs-only/non-publishable. A merged PR without a Changeset will not produce an npm or GitHub release.
For consuming the published packages, don't read this file — read
packages/react/llms.txt or packages/elements/llms.txt instead; they're
the API reference. This file is about building the library, not using it.
The one rule that matters most: build every component twice
Every component ships in both @kernelui-lib/react (packages/react/src/components/<Name>/)
and @kernelui-lib/elements (packages/elements/src/components/<Name>/) — a
React version and a framework-free Custom Element version, with matching
visual design and equivalent props/attributes. Adding a component to only
one package is an incomplete PR, not a smaller one. Before considering any
new component done, grep both packages/react/src/index.ts and
packages/elements/src/index.ts for its export.
Repo layout
packages/react—@kernelui-lib/react. Each component:<Name>.tsx+<Name>.module.css, exported fromsrc/index.tsin shipping order (not alphabetical — new exports go at the end, before thepolymorphicutils export block).packages/elements—@kernelui-lib/elements. Each component:<Name>.ts(extendsKernelElementfrom../../base, registers viacustomElements.define) +<Name>.css, exported fromsrc/index.ts. CSS class names usekernelClass("Name", "part"), which produces the exact same class names React's CSS Modules compile to (seepackages/react/vite.config.ts'sgenerateScopedName) — this is deliberate, so one set of component styles serves both packages.packages/styles—@kernelui-lib/styles. Design tokens (tokens.css) and reset (reset.css). Both packages' components read tokens from here; never hardcode a color/spacing/radius value in a component's own CSS.apps/docs— Astro docs site. Each component needs: an entry inpackages/registry(re-exported byapps/docs/src/data/components.ts), a page atsrc/pages/components/<slug>.astro, andsrc/components/demos/<Name>Demo.tsx+<Name>Playground.tsx. Copy the structure of an existing page (text-field.astro/scroll-area.astroare good recent examples) rather than inventing a new layout.packages/registry— shared component catalog consumed by docs, CLI, and LLM asset generation. Runbun run buildthere after changing entries.packages/cli—@kernelui-lib/cli. Published integration CLI (kernel init,kernel doctor,kernel docs).
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.
- 19d ago Changed · +4 lines · +83 tokens per session 6803bde823e6
- 1mo ago Changed · +4 lines · +76 tokens per session c908cc5b2ab6
- 2mo ago First seen · 219 lines · 3,368 tokens per session scan A 4ceac615bd32
kernel-ui AGENTS.md is an instructions file published in the GitHub repository kemiljk/kernel-ui (33 stars, last pushed 2d ago), licensed MIT. It adds 3,527 tokens to every session, about $0.0141 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-08-30.
kernel-ui AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernel-ui AGENTS.mdkemiljk/kernel-ui | Instructions file | 33 | 2d ago | MIT | A | 3,527 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |