blog-chart

blog-chart is a skill for Claude Code from AgriciDaniel/claude-blog. It costs 164 tokens per session (2,661 once invoked), scanned A, original, MIT.

A tool for adding charts to blog posts as inline SVG graphics, which are drawings written directly into a webpage. It supports several chart types and accessible labels for screen readers.

In plain words
What is it for?
Use it to show rankings, comparisons, parts of a whole, trends over time, or relationships in blog data.
Why use it?
It avoids hand-building charts and helps readers understand numerical information in both light and dark website themes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/blog-chart/scripts/generate_chart_svg.py --input chart.json --output chart.html --json.

Part of the claude-blog plugin — 32 skills shipped together

Good fit Use it to show rankings, comparisons, parts of a whole, trends over time, or relationships in blog data.

Compare 6 skills from other repositories ↓
About the project

claude-blog is a Claude Code skill suite for planning, writing, optimizing, auditing, localizing, and refreshing blog content. It is for content and SEO workflows that produce articles and related publishing artifacts while checking drafts against defined delivery criteria. The catalogue entries provide the skills, agents, plugins, and instruction used by this workflow.

AgriciDaniel/claude-blog · 2,101 stars · on GitHub · claude-blog.md

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AgriciDaniel/claude-blog
agentmods
npx agentmods add skills/agricidaniel/claude-blog/blog-chart

Made for: Claude Code.

Or install claude-blog, the plugin that ships this one along with the rest of its 32 skills.

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 blog-chart

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agricidaniel/claude-blog/blog-chart"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-blog/blog-chart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,661 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
  • Socket pass 5 May 2026
  • Snyk pass 5 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 107
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00164 $0.02661
Opus 5 $0.00082 $0.01331
Sonnet 5 $0.00033 $0.00532
Haiku 4.5 $0.00016 $0.00266

Measured 11d ago against content hash 31e72f074e1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

blog-chart 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 11d 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.

brain/.raw/sources/claude-blog-skill/skills/blog-chart/SKILL.md · 279 lines

How it starts

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

Blog Chart: Built-In SVG Data Visualization

Generates dark-mode-compatible inline SVG charts for blog posts. Invoked internally by blog-write and blog-rewrite when chart-worthy data is identified. Not a standalone user-facing command.

Styling source of truth: skills/blog/references/visual-media.md

For supported chart types, prefer the deterministic CLI:

python3 skills/blog-chart/scripts/generate_chart_svg.py --input chart.json --output chart.html --json

Input Format

The writer or researcher passes a chart request:

Chart Request:
- Type: horizontal bar
- Title: "AI Citation Sources by Platform"
- Data: ChatGPT 43.8%, Perplexity 6.6%, Google AI Overviews 2.2%, Reddit 7.15%
- Source: [Verified source], [publication date]
- Platform: mdx (or html)

Chart Type Selection

Select based on the data pattern. Prefer chart type diversity, but repeat a type when comparability or reader comprehension clearly benefits.

Data Pattern Best Chart Type
Before/after comparison Grouped bar chart
Ranked factors / correlations Lollipop chart
Parts of whole / market share Donut chart
Trend over time Line chart
Percentage improvement Horizontal bar chart
Distribution / range Area chart
Multi-dimensional scoring Radar chart

Styling Rules (Non-Negotiable)

All charts must work on both dark and light backgrounds:

Text elements:     fill="currentColor"
Grid lines:        stroke="currentColor" opacity="0.08"
Axis lines:        stroke="currentColor" opacity="0.3"
Background:        transparent (no fill on root SVG)
Subtitle text:     fill="var(--chart-muted, currentColor)"
Source text:        fill="var(--chart-muted, currentColor)"
Label text:        fill="currentColor" opacity="0.8"

Set --chart-muted to an accessible text token in the host theme. If no token exists, use #4b5563 on light backgrounds and #d1d5db on dark backgrounds. Do not rely on low-opacity source or subtitle text for visible attribution.

Read the full file on GitHub · 279 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. 11d ago First seen · 279 lines · 164 tokens per session scan A 31e72f074e1d

Subscribe to this mod's changes

blog-chart is a skill published in the GitHub repository AgriciDaniel/claude-blog (2,101 stars, last pushed 6d ago), licensed MIT. It adds 164 tokens to every session and 2,661 once invoked, about $0.0008 per session on Opus 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-30.

Related

Other skills, from other repositories

banana

Direct, generate, edit, compare, and review visual assets with current Google Gemini image models. Use for image creation, image editing, reference-based consistency, product and character visuals, text-bearing graphics, grounded diagrams, video-derived images, and multi-model image portfolios.

AgriciDaniel/banana-claude · 55 tokens

shorts

Interactive longform-to-shortform video creator. Extracts viral-ready short clips from long videos using Claude as the orchestrator. Transcribes with faster-whisper (GPU), Claude scores and presents candidate segments interactively, user picks and adjusts, Remotion renders premium animated captions (Bold/Bounce/Clean…

AgriciDaniel/claude-shorts · 125 tokens

repurpose-discord

Generates Discord community content from content atoms: announcement posts for channels, discussion thread prompts designed for reply-generation, and rich embed messages with structured fields. Enforces casual peer tone, reaction prompts, and conversation-first design. Sub-skill of the Content Repurposing Engine. Use…

AgriciDaniel/claude-repurpose · 86 tokens

repurpose-pinterest

Generates Pinterest content from content atoms: standard pin concepts (3-5 pins) with keyword-rich descriptions, idea pin scripts (5-10 slides), and board suggestions. Optimizes for saves, clicks, and SEO — Pinterest is a visual search engine, not social media. Sub-skill of the Content Repurposing Engine. Use when…

AgriciDaniel/claude-repurpose · 101 tokens

repurpose-quotes

Extracts the 5 most quotable moments from content atoms and generates /banana image prompts for each using the 6-Component Brief. Produces quote cards ready for social sharing with platform-specific aspect ratios, color palettes, and text overlays. Sub-skill of the Content Repurposing Engine. Use when user says "quote…

AgriciDaniel/claude-repurpose · 92 tokens

repurpose-snapchat

Generates Snapchat content from content atoms: story scripts (3-5 frames at 10s each), Spotlight scripts (up to 60s vertical video), and AR lens concepts. Optimizes for completion rate, shares, and screenshot saves. Sub-skill of the Content Repurposing Engine. Use when user says "snapchat", "snap story", "snapchat…

AgriciDaniel/claude-repurpose · 93 tokens