К основному содержанию
скилл CX Codex

evident-charts — скилл для Claude Code: графики и установка

Скилл evident-charts для Claude Code создаёт и проверяет объяснительные графики. Запускается при работе с диаграммой, её ревью или изображением графика.

MIT ★ 63 обновлён 2026-11-15

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add rhiever/evident-charts --skill evident-charts -a claude-code
Открыть на GitHub

Что делает evident-charts

evident-charts помогает создавать, переделывать и разбирать графики для блогов, отчётов, статей, слайдов, рассылок и постов. Он анализирует данные, проверяет единицы и охват, выбирает форму графика и собирает результат в стеке проекта или через Python и matplotlib.

Скилл запускает проверки данных и оформления, смотрит на PNG и повторяет цикл правок для найденных проблем. Поддерживаются matplotlib, seaborn, pandas .plot, ggplot2, Plotly, Altair/Vega-Lite, D3, а также PNG и SVG. Отдельный сценарий разбирает вопрос по готовому изображению графика.

Для проверок нужен Python 3.12+; проверки matplotlib требуют matplotlib и numpy. Проверка SVG-макета использует Chrome или Chromium, а без него этот этап пропускается.

Какие задачи решает

  • собрать график из данных для отчёта или статьи
  • разобрать неудачную диаграмму по её изображению
  • проверить единицы, охват и расчёты в данных
  • выбрать форму графика под главный вывод
  • проверить PNG или SVG перед публикацией

Примеры запросов агенту

  • Собери объяснительный график для отчёта и проверь расчёты.
  • Разбери это изображение графика: почему оно плохо читается?
  • Переделай диаграмму для слайда и проверь готовый PNG.

Как установить evident-charts

1Через Skills CLI (Vercel)

npx skills add rhiever/evident-charts --skill evident-charts -a claude-code

2Вручную: положить файлы

~/.claude/skills/evident-charts/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/evident-charts/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об evident-charts

Как установить evident-charts в Claude Code?

Выполните npx skills add rhiever/evident-charts --skill evident-charts -a claude-code. Файл скилла появится по пути ~/.claude/skills/evident-charts/SKILL.md.

Что делает evident-charts?

Скилл создаёт, редактирует и проверяет объяснительные графики, а также разбирает готовое изображение диаграммы. Он работает с несколькими библиотеками визуализации и форматами PNG/SVG.

Что нужно для работы evident-charts?

Для проверок нужен Python 3.12+. Проверки matplotlib требуют matplotlib и numpy, а проверка SVG-макета использует Chrome или Chromium.

Исходный текст

SKILL.md · MIT
---
name: evident-charts
description: >-
  Use when creating, revising, or reviewing explanatory data charts for a
  blog, report, paper, slide, newsletter, or social post. Includes matplotlib,
  seaborn, pandas .plot, ggplot2, Plotly, Altair/Vega-Lite, D3, and PNG/SVG
  charts. Also use for "critique this chart", "why does this plot look bad",
  or "make this figure better" with a chart image. Not for unrelated coding,
  software architecture diagrams, or non-data illustrations.
license: MIT
metadata:
  author: Randy Olson
  version: "0.2.4"
---

# evident-charts

Charts that make one point a reader gets at a glance. `<skill-dir>` is this skill's folder: `${CLAUDE_SKILL_DIR}` where the host fills it in, else the folder holding this SKILL.md (in claude.ai chat, its copy in the sandbox), never the working directory. Run scripts by absolute path with the project's Python.

Critique, review, or a chart image with a question: follow `references/critique.md`; otherwise the workflow below.

## Host and user instructions

- User instructions and host requirements take precedence over this skill, including its evidence rules. Preserve an explicit override, explain the consequence briefly, and report the rule deviation and any failed check; do not silently replace the requested chart.
- Use only available, permitted tools. Python 3.12+ runs the checks; matplotlib checks also need matplotlib and numpy. Palette and SVG scripts use the standard library; SVG layout checks need Chrome/Chromium. Optional helpers or exports may need their own libraries.
- Without Chrome, run SVG spec checks when a supported spec is available; otherwise skip SVG checks. Without Python, skip script checks. Review a rendered image when the host can view it. Report checks run, failed, skipped, and not checkable, with reasons. A partial check is not a full pass.
- Use a fresh reviewer only when delegation and vision are available and allowed by the user and host. Otherwise self-review; if no image can be viewed, mark visual review skipped. Do not install tools or delegate outside the host's permissions.

## Rules

Rule lines read `ID [tag] rule. Break: escape. check: name`. `[E]` experimental evidence: break only with a stated reason. `[P]` practitioner consensus: break for a clear reason. `[T]` taste: bend freely. A project's style guide overrides the house look (`assets/`) and `[T]` rules; retain integrity guidance unless explicitly overridden. `check:` names a check in `scripts/check_chart.py` (`scripts/check_svg.py` runs a subset of them on other stacks; `--list-checks` names them); `palette` means `scripts/check_palette.py`. Citations: `references/sources.md`, only when asked why.

## Workflow

1. **Analyze.** Load the data, print summary stats, confirm units and scope, run the checks below.
2. **Brief** in one line: `Takeaway: <claim the data supports> | Audience: <lay/expert> | Destination: <preset>`. The takeaway answers every part of the request (HI-1). Ask at most two questions, only if the takeaway is ambiguous. Presets (`assets/presets.json`): `blog` (default), `mobile` (phone, phone-read newsletters), `social` (X), `social_portrait` (LinkedIn, Instagram), `slide` (deck), `report` (print, memos, docs).
3. **Choose the form** from the takeaway and data shape; open `references/choosing.md` only when the form is not obvious. It may be a table or one hero number over a sparkline or part bar (`stats_size="hero"`, LY-6). Render alternatives (`references/candidates.md`) only when unsure between two honest forms.
4. **Build** in the project's stack; otherwise Python + matplotlib with `scripts/evident.py` (other stacks: `references/libraries.md`). Fit title and subtitle with `ev.fits_title` and `ev.fits_subtitle`.
5. **Check** with available tools. matplotlib: `python <skill-dir>/scripts/check_chart.py <chart.py> --dest <preset>`; other stacks: export an SVG with live text and run `python <skill-dir>/scripts/check_svg.py <chart.svg> --dest <preset> --spec <figure or Vega JSON>` (its docstring gives each stack's export). Color-blindness and contrast checks need the render measurement. Fix failures together, except explicit user overrides; retain those findings in the report.
6. **Review** the rendered PNG, never the code (`references/critique.md`, Review loop), using an allowed fresh reviewer or self-review. Fix P0/P1 issues within the user's instructions, re-render, recheck, re-review; stop when none remain to fix, at most 3 rounds. Report unresolved findings and skipped work.
7. **Deliver** the format asked for (`report` may add a PDF): absolute paths to available outputs; the brief; analysis choices a reader should know (any transform, exclusions, thresholds, minimum n); source confidence and anything unconfirmed (SRC-1); alt text when the image is viewable (A1); deviations; checks run, failed, skipped, or not checkable; the one-line review log. Never claim an output was rendered or inspected when it was not.

## Analysis checks

- Use the field's standard comparison: same period last year, calendar months or quarters, named members the audience acts on, standard thresholds; pool, smooth, roll, or rebase only when it would mislead, named in the subtitle (H22, H24).
- Flag a preliminary last point, never pool it away; compare a partial last period like-for-like (year to date, trailing 12 months, or within the only measure covering it) (H17, H15, H12).
- Parts sum to the published total; remainder = aggregate minus members; check duplicates, sentinel codes (0, 888, 999, blank), future-dated zero rows (unreleased), split events, and frozen values; compute every number from the data (H11, H24).
- Show n or intervals for small samples, never rank tiny ones; test survey differences at the publisher's MOE level (H23, U1).

## Chart defaults

- Title answers the question as asked ("what drives X": contribution, not rate; H13); subtitle qualifies it and gives what, units, and when; source line names the real publisher and dataset, a note any data you added; nothing addressed to the user on the chart (TI-1, TI-6, SRC-1, SRC-2).
- Marks encode the title's measure by position on a common scale; lines only over ordered x (ENC-1, TIME-1).
- Bars from zero; lines use a range that fits the data (zero only for ratio claims); no dual y-axes, 3D, inverted value axes, or rainbow colormaps (H1, H2, H3, H8, H5, C11).
- One accent on gray when one element is the story; otherwise color meaningful groups; at most 4 hues (C2, C3).
- Direct labels over legends (LB-1). Up to about 10-12 marks: value labels replace the value axis, never both; show the numbers the comparison needs; context columns only if needed (VL-1, VL-2).
- Units on every tick or in the axis title; light value gridlines only; remove ink that carries no information; leave white space; text at least 12 px at display size (TI-7, GR-1, DC-1, TY-2).

## Files

Read a reference only when its decision comes up.

| File | Read when |
|---|---|
| `references/integrity.md` | An analysis, axis, scale, uncertainty, or accessibility question |
| `references/text.md` | Titles, labels, annotation, layout |
| `references/color.md` | A color decision beyond the defaults |
| `scripts/evident.py` | Optional matplotlib helper; its docstring is the usage |
| `assets/presets.json`, `assets/palettes.json` | Destination sizes and type scale; house colors |

© Randy Olson · MIT · rhiever/evident-charts

Похожие скиллы

Все скиллы по теме «Данные и базы» →
charts Insilico-org Скилл charts для Claude Code строит графики по данным PLSI и объясняет, как их читать. Включается, когда данные проще показать на графике: например, динамику показателя или точность прошлых прогнозов. CX Codex +1 ★ 93звёзд репо answers-charts drawthingsai Скилл answers-charts для Claude Code строит графики через Matplotlib и выводит их картинками прямо в ответ. Генерирует файлы PNG и SVG из переданных данных без обращения к сети. CX Codex +1 ★ 171звёзд репо data-visualization официальный anthropics Скилл data-visualization подбирает подходящие типы графиков под структуру данных и генерирует код на Python с matplotlib, seaborn и plotly. Пригодится при подготовке отчётов. CX Codex +1 15 100установок plotly tondevrel Скилл обучает агента строить интерактивные графики на Python через Plotly Express и Graph Objects. Пригодится при анализе данных в блокнотах и веб-панелях. CX Codex +1 213установок create-viz официальный anthropics Скилл create-viz создаёт публикационные графики из таблиц и запросов на Python. Подбирает тип диаграммы, форматирует оси и сохраняет PNG для отчётов и презентаций. CX Codex +1 5 400установок swift-charts dpearson2699 Строит и разбирает графики на Swift Charts под iOS 26+: столбцы, линии, пончики, 3D-поверхности. CX Codex +1 4 300установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой