/stv:using-terminal-chartsfrom stv
Renders numeric data as terminal charts using chartli, supporting ASCII line, sparklines, horizontal bars, columns, heatmap, braille, and SVG export. Accepts whitespace-separated data from files or stdin.
Ships in stv. 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.
Render numeric data as terminal charts using chartli — supports ASCII line, sparklines, horizontal bars, columns, heatmap, unicode bars, braille, and SVG output.
npx chartli <file> -t <type> [-w <width>] [-h <height>] [-m <mode>]
| Type | Best For | Key Options |
|---|---|---|
ascii | Line charts with axes | -w width, -h height |
spark | Compact inline trends | (none) |
bars | Horizontal bar comparison | -w width |
columns | Vertical bar comparison | -h height |
heatmap | Multi-series density view | (none) |
unicode | Detailed vertical bars | (none) |
braille | High-density scatter/line | -w width, -h height |
svg | File export, embedding | -m circles|lines, -w, -h |
Whitespace-separated numeric rows. Optional header row (non-numeric first row is treated as labels).
day value
1 10
2 20
3 15
4 30
5 25
day sales costs profit
1 10 8 2
2 14 9 5
3 12 11 3
4 18 10 8
Multi-series data renders separate series for spark, bars, heatmap, and unicode types. Single-series types (ascii, braille) use the first numeric column.
npx chartli data.txt -t ascii -w 40 -h 10
npx chartli data.txt -t spark
npx chartli data.txt -t bars -w 28
printf 'x y\n1 10\n2 20\n3 15\n4 30\n' | npx chartli -t ascii -w 24 -h 8
Generate a temp data file from any command output, then chart it:
# Line counts per file
wc -l src/*.ts | grep -v total | awk '{print NR, $1}' > /tmp/chart-data.txt
npx chartli /tmp/chart-data.txt -t bars -w 30
# Git commits per day (last 30 days)
git log --since="30 days ago" --format='%ad' --date=short | sort | uniq -c | awk '{print NR, $1}' > /tmp/chart-data.txt
npx chartli /tmp/chart-data.txt -t ascii -w 40 -h 10
# Process memory usage over time
ps aux | sort -k4 -rn | head -10 | awk '{print NR, $4}' > /tmp/chart-data.txt
npx chartli /tmp/chart-data.txt -t bars -w 30
npx chartli data.txt -t svg -m lines -w 320 -h 120 | sed -n '/^<?xml/,$p' > chart.svg
The sed filter strips the chartli banner. Use -m circles (default) or -m lines for SVG style.
spark (most compact, one line per series)ascii (classic line chart with scale)bars (horizontal) or columns (vertical)heatmap (grid with shading) or unicode (grouped vertical bars)braille (2x4 dot matrix per character cell)svg (vector output for docs/web)| Context | Suggested |
|---|---|
| Inline / compact | -w 24 -h 6 |
| Standard terminal | -w 40 -h 10 |
| Wide terminal | -w 60 -h 15 |
| SVG export | -w 320 -h 120 |
npx chartli auto-installs on first run (no global install needed)2>/dev/null to suppress stderr, or sed -n '/^<?xml/,$p' for SVGWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
terminal-charts, chartli, ascii-charts, sparklines, data-visualization
npx claudepluginhub 2lab-ai/oh-my-claude --plugin stv15 skills in this plugin
/clarifyUse when the user's request is ambiguous — vague asks, polysemous instructions, unclear scope — BEFORE committing to a feature. Two-track loop (one question at a time + parallel codebase exploration) producing a Context Brief that becomes the SSOT for the follow-up work./debugUse when code behaves differently from expectations — 'why does this happen', 'find the bug', 'follow the callstack', symptom reports even without the word debugging. Blackbox methodology: AS-IS/TO-BE confirmation, callstack tracing recorded in a CWD-relative trace file, red-green fix./do-workUse when a trace.md with unfinished scenarios exists and the user wants autonomous implementation — 'continue the work', 'implement the traced feature', or after a bundle was selected. Accepts an explicit bundle contract (trace_path + scenario_ids); scans for ready scenarios only when no contract is given./excalidraw-diagramCreate Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts./exploreUse when the problem is vague, the domain unfamiliar, multiple approaches are possible, or the user says 'investigate first' / 'before we spec this'. Read-only stance (not a workflow): no code changes, no mandatory artifacts; exits to spec/debug/clarify/direct implementation when insight crystallizes./new-taskUse when the user gives a vague or high-level feature request that needs decomposition into implementable work — new ideas, '~만들어줘' with implicit requirements, features with multiple possible approaches. NOT for specific 1-2 file changes, obvious bug fixes, quick questions, or when spec/trace already exist (use stv:do-work).Other plugins' skills for the same job