interaction

interaction is a skill for Claude Code from QinghongLin/data2story-skill. It costs 117 tokens per session (2,925 once invoked), scanned A, original, MIT.

An interaction-building stage for data stories that creates a main interactive feature and selected supporting tools. These features let readers explore a finding, run a model or enter a value themselves.

In plain words
What is it for?
Use it to build scrollytelling, an interactive hero feature and supporting playgrounds for a data article. It also handles transitions, animation and the connection between each interaction and the story's data.
Why use it?
It turns important claims into things readers can test or produce through interaction rather than only read in text. Each interactive is tied to a specific finding approved by the editor.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the data2story-pro plugin — 25 skills shipped together

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.

agentmods
npx agentmods add skills/qinghonglin/data2story-skill/interaction
Any agent
npx skills add QinghongLin/data2story-skill --skill interaction
Clone the repo
git clone --depth 1 https://github.com/QinghongLin/data2story-skill

Made for: Claude Code.

Or install data2story-pro, the plugin that ships this one along with the rest of its 25 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 interaction

README.md
[![agentmods](https://agentmods.dev/badge/skills/qinghonglin/data2story-skill/interaction.svg)](https://agentmods.dev/skills/qinghonglin/data2story-skill/interaction)
Your own site
<a href="https://agentmods.dev/skills/qinghonglin/data2story-skill/interaction"><img src="https://agentmods.dev/badge/skills/qinghonglin/data2story-skill/interaction.svg" alt="Measured on agentmods" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00117 $0.02925
Opus 5 $0.00059 $0.01463
Sonnet 5 $0.00023 $0.00585
Haiku 4.5 $0.00012 $0.00293

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

Security

Grade A, and why

interaction 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 6d 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.

skills/data2story-pro/interaction/SKILL.md · 97 lines

How it starts

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

Interaction Engineer

Your job is the single thing that lifts a competent multimodal article to Pudding-grade: turn the story's contestable claims into playgrounds the reader operates — they run the model / guess / enter their own value, and the finding becomes something they produced, not just read. You own the hero centerpiece interaction AND the curated supporting set the Editor approved (editor.json.interactives) — one earned hero plus any number of supporting playgrounds, each bound to a distinct finding — plus scrollytelling + transition craft. You do not redo the Designer's per-section visuals, and you build nothing the Editor didn't curate.

Setup

  • PROJECT_DIR = first argument.
  • Read: editor.md + editor.json (the spine + editor.json.interactives = the curated hero + ranked supporting[] you build — the binding curation, not a hint), imagineer.json (the candidate concept pool; each supporting/hero entry's concept_ref points at an img_xx here, with its archetype/reader_produces/feasibility/sketch), analyst.json (findings + the client_model), designer.json (theme + per-section plan), detective.json (context). If editor.json.interactives is absent (older spine), fall back to the Editor's prose centerpiece nomination and build the hero only.
  • Read the playbook ../../frontend-design-pro/references/interaction_playbook.json in full — craft_principles, centerpiece_doctrine, universal_engine, recipes, portability_rules. Follow it.
  • Read the role-local references/interaction_recipes.json for harvested patterns this role owns that extend the shared playbook — including the E1 interactive-hero verify-coexistence recipe (the highest-value reusable rule: an interactive element that COEXISTS with the Verify layer over a provenance container — role=link sub-targets out of the Verify allow-list + every feature handler early-returns under verify-on + feature code never stopPropagation).
  • Output: PROJECT_DIR/interaction.json. You MAY also Edit editor.json/designer.json to mark the centerpiece slot.

Read the full file on GitHub · 97 lines

Files

What ships with it

1 file 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. 6d ago First seen · 97 lines · 117 tokens per session scan A e89776e05f74

Subscribe to this mod's changes

interaction is a skill published in the GitHub repository QinghongLin/data2story-skill (154 stars, last pushed 2mo ago), licensed MIT. It adds 117 tokens to every session and 2,925 once invoked, about $0.0006 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

ndtv

R ndtv package for network animation. Use for visualizing and animating dynamic networks.

LeoLin990405/r-analytics-skill · 21 tokens

pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying…

Lord1Egypt/scientific-agent-toolkit · 152 tokens

scientific-schematics

Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.1 Pro Preview for quality review. Only regenerates if quality is below threshold for your document type. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways…

Lord1Egypt/scientific-agent-toolkit · 68 tokens

pptx-posters

Create research posters using HTML/CSS that can be exported to PDF or PPTX. Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format. For standard research posters, use latex-posters instead. This skill provides modern web-based poster design with responsive layouts and easy visual…

Lord1Egypt/scientific-agent-toolkit · 66 tokens

generate-image

Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that is not a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the…

Lord1Egypt/scientific-agent-toolkit · 71 tokens

scientific-slides

Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and…

Lord1Egypt/scientific-agent-toolkit · 65 tokens