gbtweilai-star

Gbt Chart HTML — Data skill for Claude Code

Data community

GBT V8 capability #65/341 · chart_html (data) — 数据 → 自包含交互 ECharts HTML(蒸馏自 skills.sh smart-charts,只蒸思想不搬代码;2026-10-17):CSV/TSV/JSON/XLSX → 单文件 HTML(ECharts 内联,零外链、离线可开);自动推题型(bar/line/pie)与轴;落 st.

How to install Gbt Chart HTML

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gbtweilai-star/gbt-chart-html and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gbt Chart HTML does

GBT V8 capability #65/341 · chart_html (data) — **数据 → 自包含交互 ECharts HTML**(蒸馏自 skills.sh smart-charts,只蒸思想不搬代码;2026-10-17):CSV/TSV/JSON/XLSX → 单文件 HTML(ECharts 内联,零外链、离线可开);自动推题型(bar/line/pie)与轴;落 state/charts/。op=make(data=路径 · kind/title/out 可选)。 | contract + validation + CLI, 0 runtime deps.

Alternatives in Data

  • MCP Server Chart — 🤖 A visualization mcp & skills contains 25+ visual charts using @antvis 4k ★
  • Portaljs Add Dataset — Add a dataset (CSV, TSV, JSON, or GeoJSON) to an existing PortalJS portal 2.3k ★
  • Query Token Info — Search tokens and fetch metadata, real-time market data, and K-Line candlestick charts by keyword or contract 483 ★

README

chart_html

**One capability bit from GBT V8, packaged standalone.** No. 65 of 341, `data` domain (Data).

python license deps

**数据 → 自包含交互 ECharts HTML**(蒸馏自 skills.sh smart-charts,只蒸思想不搬代码;2026-10-17):CSV/TSV/JSON/XLSX → 单文件 HTML(ECharts 内联,零外链、离线可开);自动推题型(bar/line/pie)与轴;落 state/charts/。op=make(data=路径 · kind/title/out 可选)。

That description is copied verbatim from the registry. `tests/test_spec.py` pins it, so documentation drift fails the build instead of shipping quietly.

What this package actually is

It is the **contract** for one capability: its name, its parameters, the values it accepts, and whether it can change state that cannot be restored. It is not the implementation — that lives in the runtime this bit was extracted from.

So `run()` goes through a narrow `Backend` protocol, and the default backend is a stub that **says so**:

status="validated"   backend="stub"   data={"executed": false}

Never `status="ok"`. A stub that reports success is worse than no stub, because the caller stops looking for the real thing.

Install

git clone https://github.com/gbtweilai-star/gbt-chart-html.git
cd gbt-chart-html
python -m pip install -e ".[dev]"

Use

python -m gbt_chart_html info                  # capability card
python -m gbt_chart_html spec --json           # machine-readable contract
python -m gbt_chart_html check --payload '{}'
python -m gbt_chart_html run   --payload '{}'

Real `info` output from this machine:

chart_html  (data)  v1.0.0
----------------------------------------
**数据 → 自包含交互 ECharts HTML**(蒸馏自 skills.sh smart-charts,只蒸思想不搬代码;2026-10-17):CSV/TSV/JSON/XLSX → 单文件 HTML(ECharts 内联,零外链、离线可开);自动推题型(bar/line/pie)与轴;落 state/charts/。op=make(data=路径 · kind/title/out 可选)。

ga