ktui-select

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

A reference guide for KtUI Select, a dropdown control that can search options, accept multiple choices, show selected tags, and load options from an API.

In plain words
What is it for?
Use it to create searchable or multi-select dropdowns, tag inputs, comboboxes, remotely loaded options, paginated results, and select-all behavior.
Why use it?
It provides the correct HTML attributes, JavaScript API, events, and settings for configuring the Select component. This avoids relying on guesses when building or debugging dropdowns.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/keenthemes/ktui/ktui-select
Any agent
npx skills add keenthemes/ktui --skill ktui-select
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-select

README.md
[![agentmods](https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-select.svg)](https://agentmods.dev/skills/keenthemes/ktui/ktui-select)
Your own site
<a href="https://agentmods.dev/skills/keenthemes/ktui/ktui-select"><img src="https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-select.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,945 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.01945
Opus 5 $0.00027 $0.00972
Sonnet 5 $0.00011 $0.00389
Haiku 4.5 $0.00005 $0.00194

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

Security

Grade A, and why

ktui-select 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 5d 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-select/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

KTSelect — AI Agent Reference

Full reference for the Select component in KtUI. Package: @keenthemes/ktui. Class: KTSelect. Root attribute: data-kt-select.

Always prefer ktui.io/docs/select docs and examples over guessing markup or options.


1. Basic Usage

<select data-kt-select="true" data-kt-select-enable-search="true">
  <option value="">Select...</option>
  <option value="1">Option 1</option>
  <option value="2">Option 2</option>
</select>
import { KTSelect } from '@keenthemes/ktui';

const select = KTSelect.getInstance(el);

2. Key Features

Feature Attribute Description
Search data-kt-select-enable-search="true" Adds search input in dropdown
Multi-select multiple attribute on <select> Allow multiple selections
Tags mode data-kt-select-tags="true" Shows selected items as removable tags
Combobox data-kt-select-combobox="true" Allows free text input
Remote data data-kt-select-remote="true" Load options from API
Remote URL data-kt-select-remote-url="..." API endpoint for remote data
Pagination data-kt-select-pagination="true" Adds "Load More" button
Placeholder data-kt-select-placeholder="Choose..." Placeholder text
Select all data-kt-select-select-all="true" Adds "Select All" button (multi-mode)
Close on Enter data-kt-select-close-on-enter="true" Close dropdown when Enter pressed
Close on other open data-kt-select-close-on-other-open="true" Close when another select opens
Search autofocus data-kt-select-search-autofocus="true" Focus search input on open
Dispatch global events data-kt-select-dispatch-global-events="true" Dispatch events on document

3. Global Config

Set defaults for all future instances:

KTSelect.config({
  enableSearch: true,
  searchPlaceholder: 'Type to search...',
  dropdownZindex: 9999,
  height: 300,
  closeOnEnter: true,
  closeOnOtherOpen: true,
  searchAutofocus: true,
  dispatchGlobalEvents: true,
});

Read the full file on GitHub · 272 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. 5d ago First seen · 272 lines · 54 tokens per session scan A b41cc2688c2e

Subscribe to this mod's changes

ktui-select is a skill published in the GitHub repository keenthemes/ktui (149 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 1,945 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.

Related

Other skills, from other repositories

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 · 94 tokens

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.

shadcn-ui/ui · 61 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

onejs-setup-and-overview

Use this skill whenever the user wants to build or set up user interface in a Unity project using OneJS, React, TypeScript, or JSX, e.g. 'add a main menu to my game', 'build a settings screen', 'make a HUD', 'set up OneJS', 'my OneJS panel is blank', 'the UI is not hot reloading'. Covers confirming OneJS is installed…

Singtaa/OneJS · 199 tokens

coss-particles

Index of all COSS UI particle examples. Use when implementing UI features to find copy-paste-ready component patterns built on coss primitives. Each particle has a description and a JSON URL for easy installation.

cosscom/coss · 46 tokens

coss

Helps implement coss UI components correctly. Use when building UIs with coss primitives and patterns (buttons, dialogs, selects, forms, menus, tabs, segmented controls, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior.…

cosscom/coss · 85 tokens