Agent skill

Ktui Install

by keenthemes in keenthemes/ktui

Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project.

MITAuto-check passedFrontend & Design

Install Ktui Install

skills CLI
$ npx skills add keenthemes/ktui --skill ktui-install -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install keenthemes/ktui ktui-install --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/keenthemes/ktui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ktui-install .claude/skills/ktui-install && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ktui-install
GitHub stars
151
Token cost
~994 tokens
SKILL.md length
256 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project.

  • Works in 8 steps: Install the package → Tailwind CSS config → Import styles → …
  • Setting up KtUI for the first time
  • SKILL.md covers 1. Install the package, 2. Tailwind CSS config, 3. Import styles and 4. Import and initialize…, plus 5 more sections
  • Calls npm

What it does

Ktui Install is an agent skill from keenthemes/ktui. Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project. Use this skill when setting up KtUI for the first time, adding it to a new project, configuring Tailwind for KtUI, or troubleshooting initialization issues.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering CSS and styling and Theming and dark mode. It works with Tailwind CSS. The repository describes itself as: Open-source collection of customizable UI components for Tailwind CSS and vanilla JavaScript. The licence is MIT.

When your agent uses it

  • Setting up KtUI for the first time
  • Adding it to a new project
  • Configuring Tailwind for KtUI
  • Troubleshooting initialization issues

Example prompts

  • “/ktui-install”

Requirements

  • Node.js

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Install the package
  2. Tailwind CSS config
  3. Import styles
  4. Import and initialize components
  5. TypeScript types
  6. CSS variables (theming)
  7. Dark mode setup
  8. Troubleshooting

What it can do on your machine

Read from SKILL.md and the folder at commit 74a8e60. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • ktui.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ktui Install loads about 994 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~994

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from keenthemes/ktui at commit 74a8e60, republished under its MIT licence (© keenthemes). 256 words, ~994 tokens.

Download SKILL.mdSave it as .claude/skills/ktui-install/SKILL.md (or your agent's skills folder).
name
ktui-install
description
Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project. Use this skill when setting up KtUI for the first time, adding it to a new project, configuring Tailwind for KtUI, or troubleshooting initialization issues.

KtUI Installation & Setup

1. Install the package

bash
npm install @keenthemes/ktui

2. Tailwind CSS config

Add KtUI source paths to your Tailwind content array so Tailwind scans KtUI classes:

js
// 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):

ts
import '@keenthemes/ktui/dist/styles.css';

4. Import and initialize components

ts
import { KTComponents } from '@keenthemes/ktui';

// Call once after DOM is ready
KTComponents.init();
Per-framework placement
FrameworkWhere to call KTComponents.init()
Vanilla JSDOMContentLoaded listener or <script> at bottom of <body>
ReactuseEffect(() => { KTComponents.init(); }, [])
Vue 3onMounted(() => { KTComponents.init(); })
Next.jsInside a client component's useEffect (never during SSR)
NuxtInside onMounted or a client-only plugin
Laravel LivewireAutomatic — livewire:navigate triggers re-init
SSR safety

Never call init() during server-side rendering. Guard with:

ts
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:

ts
// 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:

ts
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:

css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(14.1% 0.005 285.823);
  --primary: oklch(62.3% 0.214 259.815);
  --primary-foreground: oklch(1 0 0);
  --border: oklch(92% 0.004 264.531);
  --radius: 0.5rem;
}

See the ktui skill or ktui.io/docs/theming for the full variable list.

7. Dark mode setup

Add the Tailwind dark variant:

css
@custom-variant dark (&:is(.dark *));

Override the same CSS variables under .dark:

css
.dark {
  --background: oklch(14.1% 0.005 285.823);
  --foreground: oklch(98.5% 0 0);
  --primary: oklch(70.7% 0.165 254.624);
  --primary-foreground: oklch(14.1% 0.005 285.823);
}

Toggle .dark on <html> or use the KTThemeSwitch component.

8. Troubleshooting

ProblemCauseFix
Components not interactiveinit() not calledCall KTComponents.init() after DOM ready
Tailwind classes not appliedMissing content pathAdd ktui/src/** to Tailwind config
Styles look brokenCSS variables not definedDefine required variables on :root
SSR hydration mismatchinit() on serverGuard with typeof window !== 'undefined'
Re-init after navigationSPA didn't re-initCall KTComponents.init() after route change

Documentation

© keenthemes, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ktui-install of keenthemes/ktui.

Open the folder on GitHubat commit 74a8e60

Compare with similar skills

Ktui Install next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ktui Install compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ktui Install this skillkeenthemes/ktui151—~994Automated safety check: PassMIT
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
DaisyUI 5 Color Rulessaadeghi/daisyui43k—~1.7kAutomated safety check: PassMIT
Tailwind Theme Builderjezweb/claude-skills1.1k1 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • DaisyUI 5 Color Rules

    saadeghi/daisyui

    Rules for using daisyUI 5's semantic color names, such as primary and base-100, so interfaces stay readable across themes.

    43k GitHub stars~1.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Tailwind Theme Builder

    jezweb/claude-skills

    Set up Tailwind v4 + shadcn/ui themed UI with dark mode. An agent skill from jezweb/claude-skills.

    1.1k GitHub starsUsed in 1 repo~3.2k tokens
    Frontend & DesignAuto-check passed
  • Ask Sonner

    leepokai/Codync

    Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and…

    182 GitHub starsUsed in 4 repos~1.8k tokens
    Frontend & DesignAuto-check: warnings

More from keenthemes/ktui

  • Ktui Datatable

    keenthemes/ktui

    KtUI DataTable (KTDataTable) — local/remote data, sorting, filtering, pagination, checkbox selection, state persistence, fixed layouts, event system, and architecture.

    151 GitHub stars~2.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Ktui Select

    keenthemes/ktui

    KtUI Select (KTSelect) — rich searchable multi-select dropdown replacing native select.

    151 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Ktui

    keenthemes/ktui

    Comprehensive guide to KtUI (Keenthemes Tailwind UI) — components, theming, initialization, data-attribute API, event system, helpers, and common patterns.

    151 GitHub stars~5.4k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Ktui Install

What does Ktui Install do?

Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project. Ktui Install is an agent skill from keenthemes/ktui. Install, configure, and initialize KtUI (Keenthemes Tailwind UI) in any project.

When should I use Ktui Install?

Ktui Install fits situations like: setting up KtUI for the first time; adding it to a new project; configuring Tailwind for KtUI; troubleshooting initialization issues.

How do I install Ktui Install in Claude Code?

Run `npx skills add keenthemes/ktui --skill ktui-install -a claude-code`. Or copy the skill folder (skills/ktui-install in keenthemes/ktui) into .claude/skills/ktui-install in your project. Claude Code loads it when a task matches its description.

How do I install Ktui Install in Codex?

Run `npx skills add keenthemes/ktui --skill ktui-install -a codex`. Or copy the skill folder (skills/ktui-install in keenthemes/ktui) into .agents/skills/ktui-install in your project. Codex loads it when a task matches its description.

Can I use Ktui Install in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add keenthemes/ktui --skill ktui-install -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ktui-install, .gemini/skills/ktui-install, .github/skills/ktui-install and .opencode/skills/ktui-install in your project.

What does Ktui Install need to run?

Going by SKILL.md and its folder, Ktui Install needs the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Ktui Install access the network?

SKILL.md names 1 domain. As links in the text: ktui.io. This is read from the text; nothing was executed.

Is Ktui Install safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ktui Install use?

Ktui Install is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ktui Install use?

About 994 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ktui Install?

Skills that share tags, products or a category with Ktui Install: Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), UI Styling (Ohh-889/skyroc, 795 stars), MCP Development (coollabsio/coolify, 63k stars) and DaisyUI 5 Color Rules (saadeghi/daisyui, 43k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ktui Install?

keenthemes (a GitHub organization) maintains it in keenthemes/ktui, which has 151 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on June 17, 2026.

Source: keenthemes/ktui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.