frame-data-chart-nyt

frame-data-chart-nyt is a skill for Claude Code, Codex from nexu-io/html-video. It costs 30 tokens per session (1,207 once invoked), scanned A, a copy of frame-data-chart-nyt, Apache-2.0.

A template for making New York Times-style data charts and animated frames from CSV data, JSON data, or a written conclusion. It uses editorial typography, charts, labels, and timed reveals.

In plain words
What is it for?
Use it to make line, bar, or range-band charts with a warm or dark background, source notes, and motion that can respect reduced-motion settings.
Why use it?
It provides a defined visual structure for turning data into a readable chart suitable for a video frame or social-media card.

Skill for Claude CodeCodex

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

Good fit Use it to make line, bar, or range-band charts with a warm or dark background, source notes, and motion that can respect reduced-motion settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexu-io/html-video/frame-data-chart-nyt
About the project

html-video is a local tool that turns HTML, CSS, and data into animated MP4 videos using configurable rendering engines and templates. Coding agents use it to create and export videos on a user's machine, with optional AI-generated soundtracks. The catalogue skills operate the tool and its video-generation workflow.

nexu-io/html-video · 4,557 stars · on GitHub · open-design.ai

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 nexu-io/html-video --skill frame-data-chart-nyt
Clone the repo
git clone --depth 1 https://github.com/nexu-io/html-video

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 frame-data-chart-nyt

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexu-io/html-video/frame-data-chart-nyt/github.svg)](https://agentmods.dev/skills/nexu-io/html-video/frame-data-chart-nyt)
Your own site
<a href="https://agentmods.dev/skills/nexu-io/html-video/frame-data-chart-nyt"><img src="https://agentmods.dev/badge/skills/nexu-io/html-video/frame-data-chart-nyt/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 frame-data-chart-nyt

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexu-io/html-video/frame-data-chart-nyt"><img src="https://agentmods.dev/badge/skills/nexu-io/html-video/frame-data-chart-nyt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,207 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 100% copy Near-identical to another mod 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.00030 $0.01207
Opus 5 $0.00015 $0.00603
Sonnet 5 $0.00006 $0.00241
Haiku 4.5 $0.00003 $0.00121

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

Security

Grade A, and why

frame-data-chart-nyt 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 10d 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.

Origin

This is a copy

100% identical to frame-data-chart-nyt — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/frame-data-chart-nyt/SKILL.md · 60 lines

What it actually says

【模板: NYT 风数据图表帧】 【意图】把一段数据 (CSV / JSON / 一句结论) 做成《纽约时报》专栏感的单帧/动画图表, 适合视频片段或推特卡。Inspired by hyperframes data-chart。

【画布】1920×1080, 暖白底 #f7f5ee 或墨黑底 #0e0e0e 二选一; 文字色和背景相反。

【布局】

  • 顶部 kicker (11px uppercase letterspace 0.14em, 颜色 = accent 红 #a91d1d 或 mint #5fb38a): 数据来源 + 类目, 如 "GLOBAL · WEEKLY ACTIVE USERS · 2018–2026"。
  • 大字标题 (Cheltenham / Playfair / Source Serif Pro, 5.6vw, italic 副标可选): 一句结论。结论必须从用户数据中提炼, 不是描述图。
  • 图表区 (占画布 55-65%):
    • 折线: 1-2 条线, 主线 ink 实心 2.5px, 次线 dashed 1.5px; 数据点用 6px 实心圆; 关键点旁标注 2024 · 412M 黑色 mono 小字。
    • 柱状: 全部 ink 单色或加 1 道 accent 高亮柱; 柱顶大数字; 柱底类目斜体 (Cheltenham italic)。
    • 范围带 (range band): 浅灰填充 #e6e2d2 包络 + 中线 ink。
  • 底部 source + footnote (10px mono, opacity 0.6): "Source: 用户数据 · Chart by html-anything"。
  • 错峰揭示动画: 标题 fade-in (0s), kicker (200ms), 折线 stroke-dashoffset 1.2s ease-out (400ms), 数据标签依次 100ms 间隔。可被 prefers-reduced-motion 关闭。

【设计细节】

  • 绝不: 使用 chart.js / d3 库 (除非 jsdelivr CDN 引入); 推荐手写 SVG, 不超过 80 行 inline。
  • 字体: 标题 Source Serif ProCheltenham (无则用 Playfair Display); body IBM Plex SansInter; 数据标签 IBM Plex Mono
  • 1 个主色 (ink) + 1 个 accent (NYT red #a91d1d / 编辑 mint #5fb38a / 暖橙 #d97757 三选一)。
  • Y 轴刻度仅 hairline + 3-4 个 tick, 标签在轴外侧 mono 字。
  • 严禁 grid 全屏铺线、阴影、3D 立体柱; 严禁 emoji。
  • 必须用用户提供的数据。如果输入是文本结论, 自动估算合理坐标 (但要标注 "schematic"); 如果是 CSV/JSON, 直接绘制。
  • 单文件 HTML; 数据点旁注释格式: <text class="annot">2024 · 412M</text>
Files

What ships with it

4 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. 10d ago First seen · 60 lines · 30 tokens per session scan A 3acbe9da168f

Subscribe to this mod's changes

frame-data-chart-nyt is a skill published in the GitHub repository nexu-io/html-video (4,557 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,207 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to frame-data-chart-nyt, differing in 0 lines, and is treated as a copy.