kx-datepicker

kx-datepicker is a skill for Claude Code from KxSystems/kx-skills. It costs 73 tokens per session (1,476 once invoked), scanned A, original, Apache-2.0.

A guide for adding a KX Dashboards date or time picker. It supports dates, date-and-time values, timestamps, time spans, and months, with the mode determined by the type of the connected ViewState.

In plain words
What is it for?
Use it to build calendar inputs, datetime selectors, timestamp controls, month pickers, or timespan inputs, including linked query filters and default dates.
Why use it?
It explains how to connect the picker to dashboard state correctly so the chosen time value can drive other widgets or queries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kx-dashboards-knowledge plugin — 32 skills shipped together

Good fit Use it to build calendar inputs, datetime selectors, timestamp controls, month pickers, or timespan inputs, including linked query filters and default dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kxsystems/kx-skills/kx-datepicker
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 KxSystems/kx-skills --skill kx-datepicker
Clone the repo
git clone --depth 1 https://github.com/KxSystems/kx-skills

Made for: Claude Code.

Or install kx-dashboards-knowledge, the plugin that ships this one along with the rest of its 32 skills.

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 kx-datepicker

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kxsystems/kx-skills/kx-datepicker"><img src="https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-datepicker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 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.
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.00073 $0.01476
Opus 5.5 $0.00029 $0.00590
Sonnet 5.5 $0.00015 $0.00295
Haiku 4.5 $0.00007 $0.00148

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

Security

Grade A, and why

kx-datepicker 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.

plugins/kx-dashboards-knowledge/skills/kx-datepicker/SKILL.md · 64 lines

How it starts

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

KX DatePicker Component

Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, notifications, and the pre-flight checklist.

key: "BasicComponents" · definitionId: "15" · ComponentName: "DatePicker" · version: "v2.10.0"

This skill uses progressive disclosure: the hazards, workflow, and output checklist are here; the bulky JSON schema, picker-mode/field tables, ViewState declarations, and worked examples live in reference/. Read only the reference file relevant to your current step.

Reference Files

File Read it when you need…
reference/component-schema.md The raw component JSON — full Basics schema, the picker-mode table, the Basics field reference, the ViewState declarations for each mode, and the complete DatePicker component object.
reference/examples.md Copy-ready worked patterns — simple picker, full linked picker→datagrid, exact-vs-range query filters, LAD default, timespan input, and DefaultDate offset expressions.

⚠️ Hazards — Read First

  1. SelectedDate must be a ViewState binding — { "_dashboardsType": "viewstate", "value": "<vsName>" }. The type of that ViewState controls which picker is rendered (date, datetime, timestamp, timespan, month). A bare string will not work.
  2. Declare the ViewState with the correct _type — the picker mode is inferred from it. Use "date", "datetime", "timestamp", "timespan", or "month".
  3. Always set a non-null ViewState _default. The ViewState _default is the reliable way to set an initial date — it works regardless of whether a Data source is bound and fires before any query executes. Never use "_default": "": a null ViewState does not count as a "change" on the null → first-value transition, so dependent queries that use it as a parameter will not execute until the user picks a second date. Set a known-good date string (e.g. "2020-01-02"), or the string "LAD" when a data source is bound, so the query has a value to run with on initial load.
  4. DefaultDate (LAD/FAD expressions) only activates when Data is bound. These expressions are resolved against the available dates returned by the data source. Without a Data binding, DefaultDate has no effect — set the initial value via the ViewState _default instead.
  5. Data source must return kdb+ temporal types — use select distinct Date from <table> (not select Date) to avoid duplicate entries in the picker calendar. The source should return a single column of date, datetime, timestamp, month, or timespan values.
  6. Data source key names are whitespace-sensitive — "AvailableDates" and "AvailableDates " are different keys. The Data binding on the component must exactly match the key declared in the data block, including any trailing spaces. Always verify both sides match.
  7. definitionId is "15" — not "33" (TextInput) or "17" (Text).
  8. width and labelWidth are in pixels — both are required for correct rendering; omitting them leaves the layout unsized.
  9. QueryParam value uses <%vsName%> syntax — the ViewState reference in _queryParams must be written as "<%vsName%>" (plain angle brackets). Do not HTML-encode the brackets.

Read the full file on GitHub · 64 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 64 lines · 73 tokens per session scan A 07c2bbcba6df

Subscribe to this mod's changes

kx-datepicker is a skill published in the GitHub repository KxSystems/kx-skills (22 stars, last pushed 22d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,476 once invoked, about $0.0003 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

kx-datepicker compared with skills from other repositories

kx-datepicker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kx-datepickerKxSystems/kx-skillsSkill2222d agoApache-2.0A73Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code