charts

charts is a skill for Claude Code, Codex from tam159/next-role. It costs 56 tokens per session (1,002 once invoked), scanned A, original, MIT.

A charting tool that runs warehouse queries and saves charts, dashboards, and written reports. It recommends visual forms such as line charts for trends, bar charts for comparisons, and histograms for distributions.

In plain words
What is it for?
Use it to show trends, comparisons, distributions, category composition, two-dimensional patterns, headline numbers, or exact figures from warehouse data.
Why use it?
It helps turn query results into a suitable visual or table instead of forcing readers to interpret raw numbers. It also explains when a chart would add little value.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to show trends, comparisons, distributions, category composition, two-dimensional patterns, headline numbers, or exact figures from warehouse data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tam159/next-role/charts
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 tam159/next-role --skill charts
Clone the repo
git clone --depth 1 https://github.com/tam159/next-role

Made for: Claude Code, Codex.

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 charts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tam159/next-role/charts"><img src="https://agentmods.dev/badge/skills/tam159/next-role/charts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,002 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.01002
Opus 5.5 $0.00022 $0.00401
Sonnet 5.5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

Measured 29d ago against content hash 3e9e1f0af8e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

charts 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 29d 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.

backend/agents/analytics_agent/skills/analytics-agent/charts/SKILL.md · 86 lines

How it starts

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

Charts

create_chart runs your SQL, draws the result, and saves it to the conversation. Charts persist: reopening the thread later still shows them.

Chart or not

Draw when the shape is the answer: a trend over time, a comparison across categories, a distribution, a two-dimensional pattern.

Do not draw when a sentence is the answer. One number is a sentence, or a kpi if it deserves emphasis. Three rows are a table. A chart of three bars is noise.

Choosing a kind

Question shape Kind Mapping
How did X move over time? line x = date, y = measure
Same, several measures or groups line plus series, or a list of y
Same, composition over time area with stacked=True x, y, series
How do categories compare? bar x = category, y = measure
Composition within each category bar with stacked=True plus series
Share of a whole, few slices pie x = labels, y = values
How is a value distributed? histogram x = the column to bin
How does a value spread per category? box (or violin for the shape) y = raw values, x = optional category, series = optional split
Where do two values cluster together? histogram2d x, y = the two columns to bin
Two dimensions against one value heatmap x = columns, series = rows, y = value
Same, as a continuous surface contour as heatmap, over numeric axes
Exact figures matter table no mapping
One headline number kpi y = value, x = optional label

Use pie only up to about six slices; beyond that a bar chart reads better.

Getting it right

  • Aggregate in SQL. The tool refuses more than a few thousand rows, and a chart of raw rows is unreadable anyway. The exceptions are box, violin and histogram2d, which plot the observations themselves: select the raw values, filtered or sampled to stay under the cap.
  • Order the query the way the chart should read: by date for a trend, by value descending for a ranked bar chart.
  • Give every chart a title that states the finding, not the mechanism: "LLM cost per day by model", not "Query results".
  • Put the caveat in description. Cost charts should say the figures are list price estimates; anything over message dates should say the timestamps are capture times.
  • Set y_format: currency for dollars, percent for rates (pass the fraction, not 0-100), duration_s for seconds.
  • Reuse a slug to replace a chart you already made rather than accumulating near-duplicates.

Read the full file on GitHub · 86 lines

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. 29d ago Changed · -28 lines · -14 tokens per session 3e9e1f0af8e9
  2. 2mo ago First seen · 114 lines · 70 tokens per session scan A 2a14262251ef

Subscribe to this mod's changes

charts is a skill published in the GitHub repository tam159/next-role (70 stars, last pushed 15d ago), licensed MIT. It adds 56 tokens to every session and 1,002 once invoked, about $0.0002 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-09-06.

Related

charts compared with skills from other repositories

charts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chartstam159/next-roleSkill7015d agoMITA56Claude Code, Codex
ai-dev-jobs-mcp-v2diegosouzapw/awesome-omni-skillsSkill1814mo agoMITA78Claude Code, Codex
ai-dev-jobs-mcpdiegosouzapw/awesome-omni-skillsSkill1814mo agoMITA76Claude Code, Codex
openspec-verify-changeFission-AI/OpenSpecSkill76kyesterdayMITA51Claude Code
omni-mcpdiegosouzapw/OmniRouteSkill91kyesterdayMITA48Claude Code, Codex
cli-resiliencediegosouzapw/OmniRouteSkill91kyesterdayMITA35Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex