kx-dataform

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

A KX Dashboards form for entering parameters and writing them into ViewState values, which are named pieces of dashboard state. Submitting the form can run a data source again with the new values.

In plain words
What is it for?
Use it for forms with text or password fields, dropdowns, date pickers, sliders, and other inputs that filter or rerun dashboard data on submit.
Why use it?
It avoids building separate input and refresh wiring for common parameter-driven dashboards. It supports several input types in one panel.

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 for forms with text or password fields, dropdowns, date pickers, sliders, and other inputs that filter or rerun dashboard data on submit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kxsystems/kx-skills/kx-dataform
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-dataform
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-dataform

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kxsystems/kx-skills/kx-dataform"><img src="https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-dataform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,308 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.00077 $0.01308
Opus 5.5 $0.00031 $0.00523
Sonnet 5.5 $0.00015 $0.00262
Haiku 4.5 $0.00008 $0.00131

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

Security

Grade A, and why

kx-dataform 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-dataform/SKILL.md · 70 lines

How it starts

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

KX Dataform Component

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

This skill uses progressive disclosure: the workflow, hazards, and output rules are here; the bulky JSON schema, config tables, and examples live in reference/. Read only the reference file relevant to your current step.

Reference Files

File Read it when you need…
reference/generate-config.md generate.js componentType: "dataform" config keys — formFields, basics, style tables.
reference/component-schema.md The raw component JSON — full options envelope, Basics, form-field (ViewStates) entry + PathEnc rule, the six field types, Style, grouped-ViewState setup.
reference/data-source-patterns.md Wiring the submit data source — kdb+ query (Pattern A) vs virtual (Pattern B), inline param syntax, kdb+ type codes.
reference/examples.md A full worked example plus 8 few-shot NLQ → JSON examples.
reference/nlq-tests.md Maintainer NLQ regression queries to retest on every MR that changes this skill.

When to Use This Skill

  • User asks to create a parameter form or submit form for a KX Dashboard
  • User wants to let dashboard users set kdb+ query parameters interactively (sym, date range, threshold, etc.)
  • User wants form fields to publish values into grouped ViewStates (e.g. "Form 1/sym") and re-execute a data source on submit
  • User wants to combine a Dataform with a Datagrid to show the result of the submitted parameters

⚠️ Dataform-Specific Hazards

  1. PathEnc must be URL-encoded. The ViewState path "Dataform 1/sym" becomes "Dataform%201%2Fsym". Always URL-encode: space → %20, slash → %2F. Never use the raw path.
  2. ViewStates must be grouped under the form name. Use "FormName/fieldName" paths (e.g. "Dataform 1/sym"). Flat ViewState names (e.g. just "sym") will NOT bind to form fields correctly.
  3. version must be "v2.4.0" — not "c2.4.0". The exported dashboard JSON uses "v2.4.0".
  4. Virtual data source _virtualParams values are raw paths (not encoded): "Dataform 1/sym", not "Dataform%201%2Fsym".
  5. Data in Basics must be a data binding object ({ "_dashboardsType": "data", "value": "<name>" }), never an empty string if a submit source exists.
  6. isDataform: true must be set in options alongside version — omitting it disables form-mode behaviour.
  7. Dropdown DataSourceMapping.Value and .Text must be actual column names from the dropdown data source; leaving them empty renders a blank list.
  8. Number field Increment must be a positive number — 0 is invalid and disables the spinner.
  9. Never invent unknown _Type values for FieldType. Valid types: "Default", "Dropdown", "Number", "Datepicker", "Slider", "Password".

Read the full file on GitHub · 70 lines

Files

What ships with it

5 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 · 70 lines · 77 tokens per session scan A ec6cb9399ba3

Subscribe to this mod's changes

kx-dataform is a skill published in the GitHub repository KxSystems/kx-skills (22 stars, last pushed 22d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,308 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-dataform compared with skills from other repositories

kx-dataform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kx-dataformKxSystems/kx-skillsSkill2222d agoApache-2.0A77Claude 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