plugins/stv/skills/using-terminal-charts/SKILL.md
This skill should be used when the user asks to "visualize data", "render a chart", "plot numbers", "show a graph in terminal", "create a bar chart", "make a sparkline", "draw a heatmap", or needs to display numeric data as terminal charts using chartli. Also triggers on "chartli", "terminal chart", "ASCII chart", "braille chart".
npx skillsauth add 2lab-ai/oh-my-claude using-terminal-chartsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 SVGdevelopment
Problem space exploration mode. Stance, not workflow. Read-only codebase investigation before committing to spec. Triggers on 'explore this', 'investigate', 'understand the problem', 'what are we dealing with', 'before we spec this'.
tools
유저의 요구가 불명확할때 트리거. 애매한 요청, 다의적 지시, 범위 불분명한 작업에서 Context Brief를 생성하여 명확화한다.
development
STV Phase 3: Implementation (GREEN) + Trace Verify loop. Implements code to pass contract tests, then verifies implementation matches trace document. Supports non-linear flow — returning to spec/trace when implementation reveals errors in earlier artifacts.
testing
Triggers on "check the PR", "is it implemented per the issue", "compare spec vs implementation", "compare JIRA and PR", "verify", "validate". Final checkpoint before PR merge using 3-dimensional verification (Completeness, Correctness, Coherence).