theokit-ui

theokit-ui is a skill for Claude Code from usetheokit/theokit. It costs 54 tokens per session (1,955 once invoked), scanned A, original, Apache-2.0.

An optional component library for interfaces used by AI assistants and coding agents, including chats, agent events, tool calls, diffs, and build logs. It also provides themes, while general controls such as buttons and sidebars come from a companion library.

In plain words
What is it for?
Use it to build chat and coding-agent screens, display agent activity and tool calls, show code differences or build logs, apply themes, and find existing components before writing markup.
Why use it?
It prevents developers from rebuilding interface pieces that the project libraries already provide. The included catalogue helps identify the right component and package.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../theokit-ui && npm pack # produces theokit-ui-X.Y.Z.tgz.

Good fit Use it to build chat and coding-agent screens, display agent activity and tool calls, show code differences or build logs, apply themes, and find existing components before writing markup.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/usetheokit/theokit
agentmods
npx agentmods add skills/usetheokit/theokit/theokit-ui

Made for: Claude Code.

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 theokit-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/usetheokit/theokit/theokit-ui.svg)](https://agentmods.dev/skills/usetheokit/theokit/theokit-ui)
Your own site
<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>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,955 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01955
Opus 5 $0.00027 $0.00978
Sonnet 5 $0.00011 $0.00391
Haiku 4.5 $0.00005 $0.00196

Measured 3d ago against content hash d851de667187, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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.

packages/create-theokit/templates/default/dot-claude/skills/theokit-ui/SKILL.md · 184 lines

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

Read the full file on GitHub · 184 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. 3d ago Changed d851de667187
  2. 8d ago First seen · 184 lines · 54 tokens per session scan A 526db320059f

Subscribe to this mod's changes

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.

Related

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.

shyftlabs/continuum · 77 tokens

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…

vignesh2027/Claude-Agentic-Skills2.0-version · 86 tokens

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.

wshobson/agents · 39 tokens

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.

BlackBeltTechnology/pi-agent-dashboard · 54 tokens

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…

BlackBeltTechnology/pi-agent-dashboard · 99 tokens

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.

BlackBeltTechnology/pi-agent-dashboard · 50 tokens