frame-data-chart-nyt

frame-data-chart-nyt is a skill for Claude Code, Codex from nexu-io/html-anything. It costs 33 tokens per session (942 once invoked), scanned A, original, Apache-2.0.

A design template for turning CSV data, JSON, or a written finding into a New York Times-style chart frame for video or social media.

In plain words
What is it for?
Use it to create single-frame or animated line charts, bar charts, or range bands at 1920×1080 resolution.
Why use it?
It gives the chart a consistent editorial layout, typography, colors, source note, and optional reveal animation.

Skill for Claude CodeCodex

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

Good fit Use it to create single-frame or animated line charts, bar charts, or range bands at 1920×1080 resolution.

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

html-anything is a local AI-assisted HTML editor in which coding-agent command-line tools create documents such as articles, presentations, posters, prototypes, and reports from reusable templates. People use it to produce HTML and export it to services such as WeChat, X, and Zhihu or to HTML and PNG files. The catalogue entries are the skills and instructions that define its output surfaces and workflows.

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

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-anything/frame-data-chart-nyt/github.svg)](https://agentmods.dev/skills/nexu-io/html-anything/frame-data-chart-nyt)
Your own site
<a href="https://agentmods.dev/skills/nexu-io/html-anything/frame-data-chart-nyt"><img src="https://agentmods.dev/badge/skills/nexu-io/html-anything/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-anything/frame-data-chart-nyt"><img src="https://agentmods.dev/badge/skills/nexu-io/html-anything/frame-data-chart-nyt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 942 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.00033 $0.00942
Opus 5 $0.00016 $0.00471
Sonnet 5 $0.00007 $0.00188
Haiku 4.5 $0.00003 $0.00094

Measured 10d ago against content hash 8536e1ce1ea4, 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

Copies of this mod

1 near-identical copy found in the catalogue:

next/src/lib/templates/skills/frame-data-chart-nyt/SKILL.md · 44 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

2 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 · 44 lines · 33 tokens per session scan A 8536e1ce1ea4

Subscribe to this mod's changes

frame-data-chart-nyt is a skill published in the GitHub repository nexu-io/html-anything (8,715 stars, last pushed 18d ago), licensed Apache-2.0. It adds 33 tokens to every session and 942 once invoked, about $0.0002 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.