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 agentmods add skills/keenthemes/ktui/ktui-installnpx skills add keenthemes/ktui --skill ktui-installgit clone --depth 1 https://github.com/keenthemes/ktuiWrote 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/keenthemes/ktui/ktui-install)<a href="https://agentmods.dev/skills/keenthemes/ktui/ktui-install"><img src="https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-install.svg" alt="Measured on agentmods" 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.00059 | $0.01111 |
| Opus 5 | $0.00030 | $0.00556 |
| Sonnet 5 | $0.00012 | $0.00222 |
| Haiku 4.5 | $0.00006 | $0.00111 |
Grade A, and why
ktui-install 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 6d 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KtUI Installation & Setup
1. Install the package
npm install @keenthemes/ktui
2. Tailwind CSS config
Add KtUI source paths to your Tailwind content array so Tailwind scans KtUI classes:
// tailwind.config.js
module.exports = {
content: [
'./node_modules/@keenthemes/ktui/src/**/*.{ts,js}',
// your app files...
],
};
3. Import styles
Import KtUI's built-in CSS (or use your own build of the source):
import '@keenthemes/ktui/dist/styles.css';
4. Import and initialize components
import { KTComponents } from '@keenthemes/ktui';
// Call once after DOM is ready
KTComponents.init();
Per-framework placement
| Framework | Where to call KTComponents.init() |
|---|---|
| Vanilla JS | DOMContentLoaded listener or <script> at bottom of <body> |
| React | useEffect(() => { KTComponents.init(); }, []) |
| Vue 3 | onMounted(() => { KTComponents.init(); }) |
| Next.js | Inside a client component's useEffect (never during SSR) |
| Nuxt | Inside onMounted or a client-only plugin |
| Laravel Livewire | Automatic — livewire:navigate triggers re-init |
SSR safety
Never call init() during server-side rendering. Guard with:
if (typeof window !== 'undefined') {
KTComponents.init();
}
Dynamic content (SPAs, lazy-loaded views)
After injecting new KtUI markup (route change, AJAX-loaded modal, etc.), re-initialize:
// Re-init everything (safe — existing instances are skipped)
KTComponents.init();
// Or per-component
import { KTModal } from '@keenthemes/ktui';
KTModal.init();
5. TypeScript types
All config and interface types are exported from the package root — no deep paths:
import type {
KTModalConfigInterface,
KTDataTableConfigInterface,
KTDropdownConfigInterface,
KTSelectConfigInterface,
KTToastConfigInterface,
// ... etc
} from '@keenthemes/ktui';
6. CSS variables (theming)
KtUI requires CSS custom variables defined on :root. At minimum:
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.
- 6d ago First seen · 151 lines · 59 tokens per session scan A c80bb0200d9e
ktui-install is a skill published in the GitHub repository keenthemes/ktui (149 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 1,111 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-30.
Other skills, from other repositories
preline-mcp
Add, integrate, or build Preline UI components and blocks into HTML files via the Preline MCP server. Use when the user mentions "preline", says "/preline", asks to add a UI component, or requests a Preline block (a ready-made page section) using Preline UI.
preline-theme-generator
Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated…
web-animations
Add animations to web components using Framer Motion, GSAP, CSS animations, and modern scroll effects. Use for: hero entrance animations, card hover effects, scroll progress indicators, staggered list animations, parallax scrolling, magnetic button effects, page transitions, scroll-triggered reveals, loading states…
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…
migrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
Shade tokens, not hex
Use Shade semantic tokens (bg-background, text-foreground, border-border-default, bg-surface-elevated) — never hex, hsl(), or bg-gray-200-style raw palette utilities for UI chrome. Trigger when editing TSX/CSS in Shade-consuming apps.