QD

qinghonglin/data2story-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

159 stars 质量 55 趋势 21MIT

青红林/data2story-skill 是从 https://github.com/qinghonglin/data2story-skill. 导入的特工技能候选人

概览

青红林/data2story-skill 是从 https://github.com/qinghonglin/data2story-skill. 导入的特工技能候选人

概述(AI 翻译)

这是一种数据记者代理技能,能将任何数据集转化为可验证、基于证据的多模态故事——一篇自成一体的HTML文章,每句话都追溯到支持其存在的数据或来源。

它的作用

https://github.com/user-attachments/assets/7a2e2b65-3289-431d-b06a-230252df8774

  • 数据集→完成的文章。 指向CSV、数据文件夹或论文,固定的七个角色流水线即可生成可发布的HTML故事,端到端。
  • 有证据依据。 每句话和视觉都指向其来源。管道会发出一个viewer.html检查器,你可以点击任何声明查看背后的数据、代码或引用。
  • 默认多模态。 图表、图片、视频、音频、地图和交互元素——从数据的实际属性中选择,而非固定的清单。媒体生成通过OpenRouter进行路由。
  • 可验证。 每次运行都会写入其自己的版本化项目文件夹,并快照所使用的具体技能版本,因此每个结果都可以被追踪和重新检查。
  • 渐进披露。 每个角色的“技能。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Data2Story

A data-journalist agent skill that turns any dataset into a verifiable, evidence-grounded multimodal story — a self-contained HTML article where every sentence traces back to the data or source that justifies it.

What it does

https://github.com/user-attachments/assets/7a2e2b65-3289-431d-b06a-230252df8774

  • Dataset → finished article. Point it at a CSV, a folder of data, or a paper, and a fixed pipeline of seven roles produces a publishable HTML story end to end.
  • Evidence-grounded. Every sentence and visual links back to its source. The pipeline emits a viewer.html inspector where you can click any claim to see the data, code, or citation behind it.
  • Multimodal by default. Charts, images, video, audio, maps, and interactive elements — chosen from the data’s actual properties, not a fixed checklist. Media generation routes through OpenRouter.
  • Verifiable. Each run writes to its own versioned project folder and snapshots the exact skill versions used, so every result can be traced and re-checked.
  • Progressive disclosure. Each role’s SKILL.md holds only its instructions; bulky reference material (output schemas, field rules, lookup tables) lives in that role’s references/ folder as JSON and is loaded only when needed.

Two versions. The repository ships two peer skills under skills/ — the richer, current build is data2story-pro; the paper’s reproducible version is data2story.

Skill Invoke What it is
data2story-pro /data2story-pro Improved version of data2story. See skills/data2story-pro/README.md.
data2story /data2story The paper’s canonical 7-role pipeline.

Updates

Installation & usage

Data2Story is an agent skill. The orchestrator lives in skills/data2story/SKILL.md — it works first-class with Claude Code, and equally with Codex, Cursor, Gemini CLI, and other agents.

  1. Set your API key. Media generation routes through OpenRouter by default:

    export OPENROUTER_API_KEY=sk-or-...
    
  2. Run the skill on a dataset:

    • Claude Code — make the skill available (place skills/data2story/ under ~/.claude/skills/, or run from inside this repo), then:

      /data2story data/pick_a_card
      
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add qinghonglin/data2story-skill
新手?先看 mcpskill.org 教程 →