/kx-dashboards-knowledge:kx-actionsfrom kx-dashboards-knowledge
Defines how actions (map, nav, query, url) are attached and triggered for KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution.
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.
None: SKILL.md is the whole skill.
Not a standalone component skill — read it alongside the component skill you are generating. That skill defines the component; this defines the
Actionsyou attach to it.
Actions are objects placed in a component's Actions array that run when a user interacts with the component (click, double-click, hover, etc.). Each action has a _Type that determines what happens and a Trigger that determines when.
map — Publish a column value to a ViewState{
"_Type": "map",
"Trigger": "Click",
"TriggerColumn": "*",
"Current": "sym",
"Target": { "_dashboardsType": "viewstate", "value": "selectedSym" }
}
| Field | Description |
|---|---|
Current | Column name whose value is published. Use "" for TextInput (publishes the typed text). |
Target.value | ViewState key to write to. |
TriggerColumn | (Datagrid only) Column name that must be clicked, or "*" for any column. |
nav — Navigate to a screen or dashboard{
"_Type": "nav",
"Trigger": "Click",
"TriggerColumn": "*",
"SelectDashboardScreen": {
"dashboard": "<this>",
"screen": "Detail Screen",
"_dashboardsType": "navigation"
}
}
| Field | Description |
|---|---|
SelectDashboardScreen.dashboard | "<this>" for the current dashboard, or the target dashboard UUID. |
SelectDashboardScreen.screen | Exact screen name string. |
⚠️ Navigation actions always fire last in a list, regardless of their position in the array.
query — Re-execute a data source{
"_Type": "query",
"Trigger": "Click",
"TriggerColumn": "*",
"DataSource": { "_dashboardsType": "data", "value": "refreshData" }
}
DataSource.value is the data source name defined in the widget's dataHandler array.
url — Open an external URL (PieJS only){
"_Type": "url",
"Trigger": "Click",
"Current": "<url-column>",
"Url": "https://example.com"
}
| Trigger | Availability |
|---|---|
"Click" | All components |
"Double Click" | Datagrid, ChartGL |
"Hover" | ChartGL, PieJS |
"Mouse In" | Datagrid, ChartGL |
"Mouse Out" | Datagrid, ChartGL |
"Right Click" | ChartGL |
Where to put the Actions array depends on the component:
| Component | Placement | Notes |
|---|---|---|
| ChartGL | Layers[n].Actions | One array per layer; also declare column names in possibleActionsColumns |
| Datagrid | Selection.Actions | Include TriggerColumn ("*" or specific column name) |
| Dropdown | options.Actions (root, not inside Basics) | Only "Click" trigger is supported |
| PieJS | Basics.Actions | Supports "url" type; triggers: "Click" or "Hover" |
| Heatmap | Basics.Actions | — |
| Radar | Basics.Actions | — |
| DataFilter | options.Actions | — |
| DatePicker | Basics.Actions | Fires when the user selects a date |
| Tabs | options.Actions | — |
| TextInput | top-level Actions | Fires on Enter keypress and focusout |
| Button | top-level Actions | Must have at least one entry — empty Actions: [] renders a non-functional button |
"Click" trigger is supported; other triggers are silently ignored.SelectedValue + DataSourceMapping.Value. Use Actions for additional columns only.SelectedObjectRouting — it was removed in v4.3.1.TriggerColumn is required. Use "*" to fire on any column click, or a specific column name."Click" | "Double Click" | "Mouse In" | "Mouse Out".Actions in the layer's possibleActionsColumns array. Include special tokens "None", "<thisX>", "<thisY>", "<thisName>" as needed."Click" is still the correct _Type value even though the action fires on Enter/focusout, not on a literal mouse click.Actions array."Selection": {
"Mode": "Single Row",
"SelectedValue": "selectedSym",
"Actions": [
{
"_Type": "map",
"Trigger": "Click",
"TriggerColumn": "*",
"Current": "sym",
"Target": { "_dashboardsType": "viewstate", "value": "selectedSym" }
},
{
"_Type": "nav",
"Trigger": "Click",
"TriggerColumn": "*",
"SelectDashboardScreen": {
"dashboard": "<this>",
"screen": "Trade Detail",
"_dashboardsType": "navigation"
}
}
]
}
"Actions": [
{
"_Type": "map",
"Trigger": "Click",
"Current": "exchange",
"Target": { "_dashboardsType": "viewstate", "value": "selectedExchange" }
}
]
"Actions": [
{
"_Type": "query",
"Trigger": "Click",
"DataSource": { "_dashboardsType": "data", "value": "tradeQuery" }
}
]
{
"possibleActionsColumns": ["None", "<thisX>", "<thisY>", "<thisName>", "sym"],
"Actions": [
{
"_Type": "map",
"Trigger": "Click",
"TriggerColumn": "*",
"Current": "sym",
"Target": { "_dashboardsType": "viewstate", "value": "selectedSym" }
}
]
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
kx-dashboards, actions, interactions, triggers, dashboard-events
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-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./kx-breadcrumbsOther plugins' skills for the same job