/kx-dashboards-knowledge:kx-queryfrom kx-dashboards-knowledge
Creates and validates KX Dashboards data sources: writes kdb+/SQL queries, wires ViewState parameters, sets polling/streaming, and binds results to widgets.
Ships in kx-dashboards-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Depends on kx-dashboard-core for the dashboard envelope, ViewState schema, and binding patterns.
This skill uses progressive disclosure: the hazards, workflow, and validation rules are here; the connection/data-source JSON schemas, query patterns, pivot config, reserved-word list, and dashboard-oriented q snippets live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/schema.md | The connection file format, _dataType/_subscriptionType values, and the full JSON template for every data source kind (query, analytic, virtual, pykx, polling, streaming, update query, ViewState params). |
| reference/query-patterns.md | kdb+ query idioms, filtering by ViewState type (symbol / string like / list), component-side binding, and symbol-vs-string handling. |
| reference/pivot-grid.md | The Pivot Grid data source (key: "Datatable") — pivot attributes, _layout, _mappings, and the full template. |
| reference/reserved-words.md | The reserved-word list and the validation algorithm to run before accepting any kdb+ query string. |
| reference/q-language.md | Dashboard-oriented q snippets only — the few q patterns that matter specifically when writing KX Dashboards data sources (not general q fundamentals like operators, iterators, system commands, or data types). |
_autoExecute and _autoExec — some versions only honour one._connection must match the connection file name field exactly (case-sensitive)._subscriptionType: "streaming" requires a streaming-capable connection — don't use it with static kdb+ processes.value must use the template syntax (<%group/name%> or <%name%>), not a raw value._dataType: "pykx" requires PyKX to be installed on the kdb+ process._subscriptionInterval). Minimum meaningful value is 1.sum: 5) raises 'assign at runtime. Run reserved-word validation before accepting any query. See the Reserved Word Validation section below._selectedAnalytic is a dotted kdb+ function name (e.g. .fx.sub), not a table. A streaming analytic must copy its _analyticParams into _streamingParameters (identical) — the subscription reads its arguments from _streamingParameters. See the Analytic Data Source section in reference/schema.md.name field exactly (case-sensitive). Connection file format is in reference/schema.md._dataType (query / analytic / virtual / pykx / builder) and _subscriptionType (static / polling / streaming / subscription). See the tables and per-type JSON templates in reference/schema.md.reference/query-patterns.md. For a Pivot Grid, do NOT aggregate in the query — use the pivot attributes in reference/pivot-grid.md._queryParams entries with <%group/name%> template syntax and the correct kdb+ type; match each to a ViewState. Symbol / string / list filter patterns are in reference/query-patterns.md.reference/reserved-words.md against the query string and reject on any match. This is mandatory (Hazard 7).{ "_dashboardsType": "data", "value": "<name>" } and/or a query action (see reference/query-patterns.md)._autoExecute and _autoExec, confirm streaming needs, and use per-second polling intervals.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledge32 skills in this plugin
/kx-accordionUse this when the user wants collapsible or expandable sections in a KX Dashboards layout. Use it for section-based content organization; use kx-tabs for tabbed switching and kx-flex-panel for non-collapsible flexible layout containers./kx-actionsUse this alongside a component skill when adding KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution. It defines how actions are attached and triggered, not the base component itself./kx-basiccomponents-containersUse this for KX Dashboards layout containers and navigation primitives such as panels, navigation menus, and overlay drawers. Use it for structural layout needs; use kx-tabs for tabbed switching, kx-accordion for collapsible sections, and kx-flex-panel for fixed-plus-flex layouts.Other plugins' skills for the same job