/kx-dashboards-knowledge:kx-dashboard-corefrom kx-dashboards-knowledge
Provides shared infrastructure for KX Dashboards JSON dashboards: envelope, screens, widget wrapper, ViewState, data sources, actions, notifications, deployment, and pre-flight checklist. Load before component-specific skills.
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.
Always read this skill before any component-specific skill. Every other
kx-*skill depends on the definitions here.
id / hash / filename must be identical. Generate the UUID once; use it for id, hash, and {uuid}.json.Trade Filters/sym ≠ trade filters/sym. Separator is /.key drives the entire schema. Never copy a Datagrid options block under a ChartGL key or vice versa.possibleXColumns, possibleYColumns, etc. must list actual query column names.screenDetails and screens together. Mismatch corrupts navigation._connection: "tradefeed" requires a file whose name is also "tradefeed".Format: "General" ignores Precision. Use "Number" or "Formatted Number" to enforce decimal places.advancedCss is a JSON string. Escape quotes and newlines."Basic" (singular), not "Basics". Unique inconsistency.kdbString must be a ViewState reference, not an empty string.Always ask:
html5evalcongroup)Dark or Light~/.kx/dashboards/data/dashboards/?generate.jsnode generate.js --config my.config.json [--out output.json] [--deploy]
componentType values: "chartgl" | "chart3d" | "datagrid" | "datatable" | "datafilter" | "dataform" | "breadcrumbs" | "gauge" | "button" | "radar".
For other types, build the component object manually using the schema in the relevant kx-* skill.
~/.kx/dashboards/data/dashboards/{id}.json.~/.kx/dashboards/
└── data/
├── dashboards/
│ └── {dashboard-id}.json
└── connections/
└── {connection-name}.json
Dashboard filename must be {id}.json; id and hash must equal the filename stem.
Connection file format and all data source / query patterns → see kx-query skill.
const { randomUUID } = require('crypto');
Generate once per entity. Use the same UUID for id, hash, and the filename. Never let them drift.
{
"id": "<uuid-v4>",
"name": "<dashboard name>",
"creationDate": "<ISO timestamp>",
"lastUpdateDate": "<ISO timestamp>",
"hash": "<same as id>",
"thumb": null,
"screenDetails": [{ "label": "Screen 1", "value": "<screen-uuid>" }],
"screens": [],
"popups": [],
"tags": [],
"dashboardTheme": "Dark",
"themeSwitchable": true,
"saveTimestamp": null,
"relativeHeight": true,
"rowCount": 24,
"rowHeight": 25,
"colCount": 36,
"floatable": false,
"viewState": {},
"data": {},
"worksheetPadding": 10,
"widgetsSpacing": 10,
"borderColor": "000000",
"borderBackground": "000000",
"transparentBackground": true,
"borderWidth": 0,
"borderRounding": 0,
"borderSpacing": 0,
"borderShadow": false,
"saveViewerState": "enabled",
"hostnameAccess": "",
"hidePdfGlobalVS": false,
"enableShareDashboard": true,
"notifications": null,
"showLoadingIndicators": true,
"unsavedViewerPrompt": false,
"advancedCss": "",
"cssClasses": "",
"version": "v2.3.0",
"wasChanged": false,
"shortcuts": [],
"action": "replace",
"viewStateBinding": false
}
Set
"showLoadingIndicators": falseon dashboards with frequent polling to avoid visual flashing.
{
"id": "<uuid>",
"name": "Screen 1",
"thumb": null,
"widgets": [],
"rowCount": 24,
"rowHeight": 25,
"colCount": 36,
"floatable": false,
"relativeHeight": true,
"isDefault": true
}
screenDetails[].value must match screens[].id. One screen must have "isDefault": true.
Grid: 36 columns × 24 rows, 0-indexed. Full-width = colSpan: 36.
{
"id": "<uuid>",
"layout": { "row": 0, "column": 0, "rowSpan": 20, "colSpan": 36 },
"component": { }
}
"row": null, "column": null — size fields still required."Alignment": {
"paddingLeft": 0, "paddingRight": 0, "paddingTop": 0, "paddingBottom": 0,
"innerPaddingLeft": 0, "innerPaddingRight": 0, "innerPaddingTop": 0, "innerPaddingBottom": 0,
"titlePaddingLeft": 0, "titlePaddingRight": 0, "titlePaddingTop": 7, "titlePaddingBottom": 7
},
"format": {
"titleFontSize": 16, "titleHorizontal": "Center", "titleShadow": false,
"tileBorderWidth": 0, "tileBorderRounding": 0,
"tileBorderColor": "#000000", "tileBackgroundColor": "#000000",
"tileTransparentBackground": true, "tileShadow": false
}
Each named entry under "data": {} at the dashboard root. Full schemas, subscription types, ViewState-driven params, kdb+ query patterns, and connection file format → see kx-query skill.
Quick reference:
_dataType: "query" | "analytic" | "virtual" | "pykx" | "builder"_subscriptionType: "static" | "polling" | "streaming" | "subscription"_autoExecute: true and _autoExec: true._connection must match the connection file name exactly.Supports flat (sym) and grouped (Trade Filters/sym) paths. System ViewStates live in _settings.
"viewState": {
".settings": {},
"_settings": {
"dashboardUser": { "_viewType": true, "_type": "symbol", "_default": "" },
"dashboardTimezone": { "_viewType": true, "_type": "symbol", "_default": "" },
"dashboardUrl": { "_viewType": true, "_type": "string", "_default": "" },
"dashboardTitle": { "_viewType": true, "_type": "symbol", "_default": "" },
"dashboardStartTimestamp": { "_viewType": true, "_type": "timestamp", "_default": "NOW", "_rolling": true }
},
"mySymbol": { "_viewType": true, "_default": "EUR/USD", "_type": "symbol" },
"Trade Filters": {
"sym": { "_viewType": true, "_type": "symbol", "_default": "AAPL" },
"days": { "_viewType": true, "_type": "int", "_default": 20 }
}
}
All _type values: "boolean" | "date" | "datetime" | "dict" | "float" | "int" | "list" | "long" | "month" | "second" | "string" | "symbol" | "time" | "timestamp"
Rolling syntax: "NOW" | "NOW+x" | "NOW-x" | "NOW+hh:mm:ss.sss" | "NOW-hh:mm:ss.sss"
{ "_dashboardsType": "data", "value": "MyQuery" } // data source ref
{ "_dashboardsType": "viewstate", "value": "mySymbol" } // flat ViewState
{ "_dashboardsType": "viewstate", "value": "Trade Filters/sym" } // grouped ViewState
In query params: "<%mySymbol%>" or "<%Trade Filters/sym%>"
See kx-actions for the full reference: action types (
map,nav,query,url), trigger values, per-component placement rules, and examples.
"notifications": {
"Notifications": {
"_Version": "4.2.0s2",
"Enabled": true,
"InBrowserNotifications": false,
"Position": "Bottom Right",
"MaxVisibleCount": 3,
"FadeOut": 5,
"Icon": "fa-bell-o",
"Sound": "beep",
"SoundVolume": 100,
"Grouping": false,
"GroupingInterval": 1,
"triggers": [
{
"source": { "_dashboardsType": "data", "value": "AlertQuery" },
"template": "{{#each this}}{{pascalcase @key}}: {{this}}\n{{/each}}",
"sound": "beep",
"icon": "fa-bell"
}
]
}
}
| Component | key | definitionId | Category | Skill file |
|---|---|---|---|---|
| ChartGL | ChartGL | 669 | Chart | kx-chartgl |
| ChartJS | ChartJS | 1007 | Chart | kx-specialist |
| PieJS | PieJS | 1009 | Chart | kx-pie |
| Gauge | Gauge | 11178 | Chart | kx-gauge |
| Radar | Radar | 1008 | Chart | kx-radar |
| Heatmap | Heatmap | 5 | Chart | kx-heatmap |
| Contour | Contour | 135 | Chart | kx-specialist |
| Sankey | Sankey | 134 | Chart | kx-specialist |
| Sunburst | Sunburst | 1134 | Chart | kx-specialist |
| CompareChart | CompareChart | 43 | Chart | kx-specialist |
| Chart3D | Chart3D | 20 | Chart | kx-chart3d |
| ChartVega | ChartVega | 100 | Chart | kx-specialist |
| ChartIQ | ChartIQ | 79 | Chart | kx-specialist |
| Datagrid | Datagrid | 21 | Grid | kx-datagrid |
| Datatable | Datatable | 3 | Grid | kx-pivot-grid |
| EditableList | EditableList | 668 | Grid | kx-specialist |
| GeoMap | GeoMap | 46 | Map | kx-maps |
| OfflineMap | OfflineMap | 1035 | Map | kx-offline-map |
| QuadMap | QuadMap | 1036 | Map | kx-quad-map |
| Graph | Graph | 11110 / 200 | Network | kx-specialist |
| Dataform | Dataform | 27 | Input | kx-dataform |
| DataFilter | DataFilter | 48 | Input | kx-datafilter |
| QueryBuilder | QueryBuilder | 10254 | Input | kx-datafilter |
| PlayBack | PlayBack | 47 | Input | kx-playback |
| BasicComponents (Dropdown) | BasicComponents | 16 | Input | kx-dropdown |
| BasicComponents (TextInput) | BasicComponents | 33 | Input | kx-textinput |
| BasicComponents (Button) | BasicComponents | 25 | Input | kx-button |
| BasicComponents (DatePicker) | BasicComponents | 15 | Input | kx-datepicker |
| BasicComponents (SelectionControls) | BasicComponents | 34 | Input | kx-selectioncontrols |
| BasicComponents (TextToSpeech) | BasicComponents | 36 | Input | kx-texttospeech |
| BasicComponents (Text) | BasicComponents | 17 | Display | kx-text |
| BasicComponents (NavigationMenu) | BasicComponents | 35 | Navigation | kx-basiccomponents-containers |
| Breadcrumbs | Breadcrumbs | 19 | Input | kx-breadcrumbs |
| TreeView | TreeView | 2002 | Navigation | kx-specialist |
| Trade | Trade | 1013 | Specialist | kx-specialist |
| ActionTracker | ActionTracker | 1001 | Specialist | kx-specialist |
| Bitmap | Bitmap | 1999 | Specialist | kx-specialist |
| FlexPanel | FlexPanel | 1011 | Container | kx-basiccomponents-containers |
| Panel | Panel | 50 | Container | kx-basiccomponents-containers |
| Tabs | Tabs | 26 | Container | kx-tabs |
| Accordion | Accordion | 56 | Container | kx-accordion |
| OverlayPanel | OverlayPanel | 57 | Container | kx-basiccomponents-containers |
| FormBuilder | FormBuilder | 1014 | Input | kx-formbuilder |
Before writing any dashboard file:
id = hash = filename stem (all three identical)screenDetails match entries in screens"isDefault": truepossibleXColumns, possibleYColumns, etc. list actual column names_connection matches the connection file name field exactly_autoExecute and _autoExec are present in every data sourceFormat uses "Number" (not "General") wherever precision mattersadvancedCss is properly JSON-escapedWhat 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