/kx-dashboards-knowledge:kx-texttospeechfrom kx-dashboards-knowledge
Generates a KX Dashboards TextToSpeech component that displays text and reads it aloud via browser speech synthesis. Use for read-aloud, voice output, or audio narration in KX dashboards.
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.
Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, notifications, and the pre-flight checklist.
SpeechOptions.Voice should be set to a voice name that exists in the browser; if blank, the browser default is used.definitionId is "36" — not "17" (Text). Both share the HtmlText/Template/Data display pattern but TextToSpeech additionally speaks the content.CacheData: false (default) re-speaks on every data update — set CacheData: true to accumulate data rows and only speak new arrivals. This is useful for streaming data where you only want new rows read aloud.Template overrides HtmlText when non-empty — same behaviour as the Text component.ShowPlayPause: false by default — set to true to render play/pause/back/forward buttons. Without them, speech starts automatically on data update.AllowUnsafeContent: false by default — keep false for static content.key: "BasicComponents" · definitionId: "36" · ComponentName: "TextToSpeech" · version: "v2.9.0"
A text display tile that also speaks its content using the browser's Web Speech API. Shares the HtmlText / Template / Data display model with the Text component.
{
"ComponentName": "TextToSpeech",
"Name": "",
"Data": "",
"HtmlText": "insert text here",
"Template": "",
"Theme": "Dark",
"FontSize": "13",
"horizontal": "Center",
"vertical": "Middle",
"tooltip": "",
"AllowUnsafeContent": false,
"version": "v2.9.0",
"SpeechOptions": {
"CacheData": false,
"Voice": "",
"Rate": 1,
"ShowPlayPause": false
}
}
| Field | Values / Notes |
|---|---|
HtmlText | Static text or HTML markup spoken and displayed when Template is empty. |
Data | Optional data source. When set, the component subscribes to rows and speaks new data. |
Template | Handlebars template — references data columns via {{col}} and ViewStates via {{vsName}}. Overrides HtmlText when non-empty. |
FontSize | String, default "13". |
SpeechOptions.CacheData | false (default) — speak the full content on every update. true — accumulate rows and only speak newly arrived rows. |
SpeechOptions.Voice | Browser voice name (e.g. "Google US English"). Leave blank for browser default. |
SpeechOptions.Rate | Speech rate multiplier. Range 0.1–10. Default 1. |
SpeechOptions.ShowPlayPause | true — render play / pause / back / forward buttons. false — auto-speak on data change. |
AllowUnsafeContent | true allows <script> and unsafe HTML. Keep false for static text. |
{
"id": "<uuid>",
"key": "BasicComponents",
"containerId": null,
"components": [],
"widgets": [],
"definitionId": "36",
"hasOnSettingsChange": true,
"options": {
"version": "v2.9.0",
"Basics": {
"ComponentName": "TextToSpeech",
"Name": "",
"Data": "",
"HtmlText": "insert text here",
"Template": "",
"Theme": "Dark",
"FontSize": "13",
"horizontal": "Center",
"vertical": "Middle",
"tooltip": "",
"AllowUnsafeContent": false,
"version": "v2.9.0",
"SpeechOptions": {
"CacheData": false,
"Voice": "",
"Rate": 1,
"ShowPlayPause": false
}
},
"Style": { "advanced": "" },
"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
}
}
}
"Basics": {
"ComponentName": "TextToSpeech",
"HtmlText": "Welcome to the trading dashboard.",
"SpeechOptions": { "CacheData": false, "Voice": "", "Rate": 1, "ShowPlayPause": true }
}
"Basics": {
"ComponentName": "TextToSpeech",
"Data": { "_dashboardsType": "data", "value": "alertStream" },
"Template": "Alert: {{message}} for {{sym}}",
"SpeechOptions": { "CacheData": true, "Voice": "", "Rate": 1, "ShowPlayPause": false }
}
CacheData: true ensures only new rows added to alertStream are spoken; previously heard rows are not repeated.
"Basics": {
"ComponentName": "TextToSpeech",
"Template": "Selected symbol is {{selectedSym}}",
"SpeechOptions": {
"CacheData": false,
"Voice": "Google US English",
"Rate": 0.9,
"ShowPlayPause": true
}
}
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./kx-breadcrumbsUse this when the user wants a KX Dashboards breadcrumb trail for hierarchical drilldown or drill-through navigation, especially with pivot grids or chart-based exploration. Use kx-tabs for tabbed navigation instead of breadcrumbs./kx-buttonUse this when the user wants a KX Dashboards button or clickable action trigger: labels, icons, tooltips, alignment, fixed width, disabled state, colours, and click actions. Use it for buttons and action triggers; use kx-textinput for free-text entry, kx-dropdown for selection lists, or kx-selectioncontrols for radio/checkbox choices./kx-chart3dUse this when the user wants a KX Dashboards 3D chart or 3D visualisation: scatter, line, bar, surface, or 4D color/size-encoded layers. Use it for 3D graphics; use kx-chartgl for standard 2D WebGL charts and kx-gauge for dial or bullet-style KPI charts.Other plugins' skills for the same job