charts

charts is a skill for Claude Code, Codex from ssmurfgg04-gif/context-m. It costs 323 tokens per session (5,804 once invoked), scanned A, original, Apache-2.0.

A skill for creating charts and diagrams, including data charts and structural diagrams such as flowcharts.

In plain words
What is it for?
Use it to create bar, line, pie, scatter, heatmap, radar, candlestick, histogram, and other charts, as well as diagrams in formats such as Mermaid.
Why use it?
It provides guidance for choosing an output format and keeping visual details consistent, so charts and diagrams are easier to read and review.

Skill for Claude CodeCodex

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

Good fit Use it to create bar, line, pie, scatter, heatmap, radar, candlestick, histogram, and other charts, as well as diagrams in formats such as Mermaid.

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

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/ssmurfgg04-gif/context-m/charts/github.svg)](https://agentmods.dev/skills/ssmurfgg04-gif/context-m/charts)
Your own site
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/charts"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/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/ssmurfgg04-gif/context-m/charts"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/charts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 323 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,804 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.
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.00323 $0.05804
Opus 5.5 $0.00129 $0.02322
Sonnet 5.5 $0.00065 $0.01161
Haiku 4.5 $0.00032 $0.00580

Measured 3mo ago against content hash 519a90c00abe, 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/charts/SKILL.md · 428 lines

How it starts

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

Beautiful Charts

Quick Setup

bash "$SKILL_DIR/setup.sh"    # Interactive environment check + install

Make every chart and diagram look professionally designed, not AI-generated.

Architecture

Module File When to Load
Routing + Core Rules This file Always read first
Framework Templates references/ by framework After choosing framework, read the corresponding file

Loading order: Read this file → choose framework → read template file → start coding.

Each template file contains its own framework-specific rules (spacing, connectors, color details). This file contains only routing decisions and universal rules that apply to ALL charts.


Part 1: Routing

⚠️ Format Constraint Rule (HIGHEST PRIORITY)

When the user specifies an output format/tool, you MUST comply. Never substitute.

User Says You Must Do Forbidden
"use mermaid code" / "用Mermaid格式输出" / "转化为mermaid" / "mermaid流程" ① Output Mermaid code block (mermaid ... ) ② Also provide a rendered image preview ❌ Cannot only give image without code; ❌ Cannot screenshot raw code text as image
"use markdown code" Output markdown-formatted hierarchy ❌ Cannot switch to HTML/CSS
"via mermaid or markdown code" Choose one of the two, output code text ❌ Cannot switch to any non-specified format
"flowchart" / "mind map" (no format specified) Free to choose the best approach -
"use echarts/d3" Must use the specified framework ❌ Cannot switch

🚫 FORBIDDEN: Mermaid Code Screenshot

NEVER take a screenshot of raw Mermaid source code and deliver it as the "diagram image". This is the worst possible outcome — the user gets neither usable code nor a visual diagram. When the user requests Mermaid format:

  1. MUST output the Mermaid code in a fenced code block (````mermaid`)
  2. SHOULD also render the code into a visual diagram image (via mermaid-cli or Playwright + mermaid.js)
  3. If rendering fails, deliver the code block and tell the user to paste it into mermaid.live

Read the full file on GitHub · 428 lines

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 428 lines · 323 tokens per session scan A 519a90c00abe

Subscribe to this mod's changes

charts is a skill published in the GitHub repository ssmurfgg04-gif/context-m (2 stars, last pushed today), licensed Apache-2.0. It adds 323 tokens to every session and 5,804 once invoked, about $0.0013 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-08-31.

Related

charts compared with skills from other repositories

charts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chartsssmurfgg04-gif/context-mSkill2todayApache-2.0A323Claude Code, Codex
context-engineeringbojieli/ai-agent-bookSkill61kyesterdayApache-2.0A96Claude Code, Codex
kv-cache-designbojieli/ai-agent-bookSkill61kyesterdayApache-2.0A91Claude Code, Codex
agent-memory-disciplinesickn33/agentic-awesome-skillsSkill51kyesterdayMITA36Claude Code
agent-evaluationbojieli/ai-agent-bookSkill61kyesterdayApache-2.0A133Claude Code, Codex
post-training-strategybojieli/ai-agent-bookSkill61kyesterdayApache-2.0A159Claude Code, Codex
ai-stylebojieli/ai-agent-bookSkill61kyesterdayApache-2.0A25Claude Code, Codex