kx-chartgl

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

A configuration guide for WebGL-accelerated charts in KX Dashboards. WebGL is a browser technology for drawing graphics efficiently; these charts support lines, bars, bubbles, waterfalls, candlesticks, bounds, baselines, and heatmaps.

In plain words
What is it for?
Use it to build interactive 2D charts connected to kdb+, SQL, or PyKX data, including multi-series and multi-axis views.
Why use it?
It brings chart layers, multiple axes, zooming, panning, tooltips, highlighting, filtering, and live data wiring into one chart setup. This avoids having to assemble those settings manually.

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 to build interactive 2D charts connected to kdb+, SQL, or PyKX data, including multi-series and multi-axis views.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kxsystems/kx-skills/kx-chartgl"><img src="https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-chartgl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,643 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.00080 $0.01643
Opus 5.5 $0.00032 $0.00657
Sonnet 5.5 $0.00016 $0.00329
Haiku 4.5 $0.00008 $0.00164

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

Security

Grade A, and why

kx-chartgl 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-chartgl/SKILL.md · 82 lines

How it starts

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

KX ChartGL Component

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

Use this skill for chart layers and chart-based visualisations. Use kx-heatmap for standalone heatmap components rather than a ChartGL layer.

key: "ChartGL" · definitionId: "669" · version: "v2.18.0"

ChartGL is a WebGL-accelerated chart supporting 8 series types: Line, Bar, Bubble, Waterfall, Candlestick, Bounds, Baseline, Heatmap. Supports multi-series layering, multiple X/Y axes, zoom/pan, crosshair overlay, custom tooltips, override rules, per-layer highlight rules, ViewState-driven filtering, and kdb+/SQL/PyKX query binding.

This skill uses progressive disclosure: the workflow, hazards, and pre-flight checklist 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 The generate.js componentType: "chartgl" config envelope and the full Series fields table.
reference/component-schema.md The raw component JSON — options envelope, Basics, axes, all 8 layer types, override/highlight rules, overlay, file export, annotations.
reference/examples.md Five worked generate.js config examples (Category/Time axes, dual axes, streaming, dropdown, candlestick, grouped ViewState).
reference/learnings.md Known limitations and the L1–L18 learnings captured from live testing.
reference/workflow-details.md The original detailed input checklist — series/axis-type enums, per-series fields — plus the generate & verify steps.

⚠️ Critical Hazards — Read First

  1. id = hash = filename stem. Generate once; use for all three. Never let them drift.
  2. Line layers must NOT contain a Bubbles block with Color + RadiusScaling > 0 on Layer 0. The presence of such a block causes KX to render the layer as Bubble type regardless of _Type. See the two legitimate Bubbles-on-Line patterns in reference/component-schema.md (§ "Bubbles on Line layers — two legitimate patterns").
  3. by queries return lists per cell, not scalars. select bid, ask by sym from T returns a list per sym — ChartGL cannot plot lists. Always use an explicit aggregate: select last bid, last ask by sym from T.
  4. possibleXColumns, possibleYColumns, and all possible* arrays must list actual column names from the query — the settings panel is built from these arrays.
  5. Widget IDs must be unique across the entire dashboard, not just one screen.
  6. ViewState names are case-sensitive and path-sensitive. Trade Filters/sym ≠ trade filters/sym. Separator is /.
  7. _connection must match the connection file name field exactly.
  8. Always write both _autoExecute and _autoExec in every data source for maximum compatibility.
  9. Y-axis Range.UseMinMax controls the scale range. When false, KX auto-scales — if series have very different magnitudes (e.g. FX pairs + JPY on one axis), use a second Y-axis or set UseMinMax: true with explicit Min/Max.
  10. FilterUnique: true is required on Category X-axes to deduplicate labels.
  11. Axis type is "Logarithmic", not "Log". Using "Log" silently falls back to "Linear".
  12. Basics.Zoom and Basics.RangeSelection are mutually exclusive. Always set both explicitly: "Zoom": true, "RangeSelection": false or vice versa.
  13. Candlestick colours live inside CandlestickFormat, not at the layer root. Use CandlestickFormat.BullColor, .BearColor, .NeutralColor, .WickColor.

Read the full file on GitHub · 82 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 · 82 lines · 80 tokens per session scan A e534de64d23c

Subscribe to this mod's changes

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

kx-chartgl next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kx-chartglKxSystems/kx-skillsSkill2222d agoApache-2.0A80Claude 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