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

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

Good fit Use it to create searchable or multi-select dropdowns, tag inputs, comboboxes, remotely loaded options, paginated results, and select-all behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keenthemes/ktui/ktui-select
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-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/github.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/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-select

Your own site · 80×15
<a href="https://agentmods.dev/skills/keenthemes/ktui/ktui-select"><img src="https://agentmods.dev/badge/skills/keenthemes/ktui/ktui-select.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 165
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 197
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.01945
Opus 5.5 $0.00022 $0.00778
Sonnet 5.5 $0.00011 $0.00389
Haiku 4.5 $0.00005 $0.00194

Measured 3mo ago against content hash b41cc2688c2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (155 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 1,945 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

ktui-select compared with skills from other repositories

ktui-select next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ktui-selectkeenthemes/ktuiSkill1555mo agoMITA54Claude Code, Codex
shadcnshadcn-ui/uiSkill130ktodayMITA113Claude Code, Codex, Cursor
migrate-radix-to-baseshadcn-ui/uiSkill130ktodayMITA61Cursor
magic-uimagicuidesign/magicuiSkill24ktodayMITA56Claude Code, Codex
onejs-setup-and-overviewSingtaa/OneJSSkill364todayMITA211Claude Code, Codex
calendarcnvmnog/calendarcnSkill1644d agoMITA76Claude Code, Codex
crudfilipebraida/adonisjs-starter-kitSkill99todayMITA66Claude Code