Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/usetheokit/theokitnpx agentmods add skills/usetheokit/theokit/theokit-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/usetheokit/theokit/theokit-ui)<a href="https://agentmods.dev/skills/usetheokit/theokit/theokit-ui"><img src="https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-ui.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.01955 |
| Opus 5 | $0.00027 | $0.00978 |
| Sonnet 5 | $0.00011 | $0.00391 |
| Haiku 4.5 | $0.00005 | $0.00196 |
Grade A, and why
theokit-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 3d 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 — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@theokit/ui — AI-native Component Library (AI-agent surfaces)
@theokit/ui is an optional peer dependency. If installed, it provides ready-made AI components for chat + coding-agent surfaces (chat thread, agent events, tool calls, diff viewer, build logs), plus theming. Never build custom equivalents of components it provides. Generic primitives (Button, Input, Card, CodeBlock, PageShell, Sidebar, Avatar, Alert, etc.) live in @usetheo/ui, which @theokit/ui depends on — import those from @usetheo/ui.
Read the catalogue before writing markup
@theokit/ui ships llms.txt — a file written for an agent to read, at
node_modules/@theokit/ui/llms.txt. It lists every component with its purpose and, in a
"Which package has what" table, routes each need to the right package. Read it before building a
sidebar, a table, a select, a badge or an empty state by hand.
That is not a style preference. A real app built on this scaffold hand-wrote ~600 lines of markup — navigation, queue rows, filters, status badges, empty states, a composer — and every one of them already existed in the two packages the scaffold had installed (usetheokit/theokit#471). The components were there; nothing pointed at them.
@usetheo/ui has no llms.txt; its surface is in its own README and its type definitions.
Package Identity
@theokit/ui provides the AI-agent-surface components. (The version this project uses is in
package.json; a number written here goes stale the first time anyone upgrades, and this one
said 1.0.0 while npm served 1.5.1.) Its generic foundation was split into @usetheo/ui in the 2026-07-03 AI-exclusive pivot; @theokit/ui depends on @usetheo/ui, so installing @theokit/ui pulls the foundation transitively.
# Install from npm (preferred)
npm install @theokit/ui
# Or from local tarball (when using source repo)
cd ../theokit-ui && npm pack # produces theokit-ui-X.Y.Z.tgz
cd ../my-app && npm install ../theokit-ui/theokit-ui-X.Y.Z.tgz
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.
- 3d ago Changed d851de667187
- 8d ago First seen · 184 lines · 54 tokens per session scan A 526db320059f
theokit-ui is a skill published in the GitHub repository usetheokit/theokit (5 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 1,955 once invoked, about $0.0003 per session on Opus 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-31.
Other skills, from other repositories
continuum-streaming
Stream tokens, tool calls, handoffs, and memory events out of a Continuum agent in real time using runner.runstream() and the EventType enum. Invoke when the user asks "stream tokens to UI", "websocket chat", "live progress", "see tool execution as it happens", or anything that needs token-by-token output.
senior-dev
Activates the SeniorDev agent for full-stack software engineering. Use this skill when you need production-ready code: Next.js 14 frontends, FastAPI backends, TypeScript strict-mode components, PostgreSQL schemas, Redis caching, authentication flows, or complete REST/GraphQL APIs. SeniorDev always outputs complete…
screen-reader-testing
Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.
zod-react-hook-form
Form validation combining Zod schemas with React Hook Form, including localized error messages, Server Action integration, and shadcn/ui Form components. Use when building forms, validating user input, handling form submissions, or implementing Server Actions with validation.
canvas-webapp
Render a React/Vite (or any bundled) web app on the pi-dashboard canvas, which loads loopback URLs in a sandboxed opaque-origin iframe. Use when a canvas(target:{kind:"url"|"server"}) target shows up blank white, an empty surface, or a /live/ 500 ECONNREFUSED. Covers why Vite dev servers and non-CORS static servers…
tailwind-shadcn
Tailwind CSS utility patterns with shadcn/ui component usage, theming via CSS variables, and responsive design. Use when styling components, installing shadcn components, implementing dark mode, or creating consistent design systems.