ktui-install

ktui-install is a skill for Claude Code, Codex from keenthemes/ktui. It costs 59 tokens per session (1,111 once invoked), scanned A, original, MIT.

Setup instructions for KtUI, a collection of Tailwind CSS user-interface components from Keenthemes. It covers adding the package, loading its styles, configuring Tailwind to find the components, and starting them in common JavaScript frameworks.

In plain words
What is it for?
Install KtUI in a new or existing project, configure Tailwind CSS, initialize components in Vanilla JS, React, Vue, Next.js, Nuxt, or Laravel Livewire, and troubleshoot setup issues.
Why use it?
It removes guesswork when KtUI components do not appear or work correctly, especially with server-rendered applications where browser-only code must wait until the page loads.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Install KtUI in a new or existing project, configure Tailwind CSS, initialize components in Vanilla JS, React, Vue, Next.js, Nuxt, or Laravel Livewire, and troubleshoot setup issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keenthemes/ktui/ktui-install
Install

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.

Any agent
npx skills add keenthemes/ktui --skill ktui-install
Clone the repo
git clone --depth 1 https://github.com/keenthemes/ktui

Made for: Claude Code, Codex.

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 ktui-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-install/github.svg)](https://agentmods.dev/skills/keenthemes/ktui/ktui-install)
Your own site
<a href="https://agentmods.dev/skills/keenthemes/ktui/ktui-install"><img src="https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-install/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.

agentmods 80×15 button for ktui-install

Your own site · 80×15
<a href="https://agentmods.dev/skills/keenthemes/ktui/ktui-install"><img src="https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,111 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.00059 $0.01111
Opus 5.5 $0.00024 $0.00444
Sonnet 5.5 $0.00012 $0.00222
Haiku 4.5 $0.00006 $0.00111

Measured 2mo ago against content hash c80bb0200d9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

skills/ktui-install/SKILL.md · 151 lines

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:

Read the full file on GitHub · 151 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. 2mo ago First seen · 151 lines · 59 tokens per session scan A c80bb0200d9e

Subscribe to this mod's changes

ktui-install is a skill published in the GitHub repository keenthemes/ktui (153 stars, last pushed 4mo ago), licensed MIT. It adds 59 tokens to every session and 1,111 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-08-30.

Related

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.

htmlstreamofficial/preline · 66 tokens

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…

htmlstreamofficial/preline · 89 tokens

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…

shadcn-ui/ui · 113 tokens

build-ghost-app-ui

Build a Ghost app's screens with Shade, Ghost's design system, and find its docs and skills. Use when building or changing a Ghost app's UI, or adding Shade to an app.

TryGhost/Ghost · 45 tokens

shade-use-primitives

Lay out Ghost UI with Shade's layout primitives. Use when laying out a screen, section or row, or when spacing, aligning, stacking or wrapping elements.

TryGhost/Ghost · 37 tokens

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens