Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies.

MITAuto-check: notesData & Analytics

Install Analyst

skills CLI
$ npx skills add QinghongLin/data2story-skill --skill analyst -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install QinghongLin/data2story-skill analyst --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/QinghongLin/data2story-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/data2story-pro/analyst .claude/skills/analyst && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analyst
GitHub stars
156
Token cost
~2.4k tokens
SKILL.md length
1,130 words
Files
5 (incl. references)
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies.

  • Works in 5 steps: Dataset Profile → Field Inventory → All Possible Analyses → …
  • Data & Analytics work in your project
  • SKILL.md covers Setup, Steps, Output and Scientific Paper Mode, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Analyst is an agent skill from QinghongLin/data2story-skill. Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies. Reads detective.json for context. Runs after the Detective/Scout, before the Editor. Outputs analyst.json with anaxx IDs and chart-ready datatables.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/data_table_rules.json`, `references/field_rules.json` and `references/paper_mode.json`).

It sits in Data & Analytics. The repository describes itself as: Data Journalist Agent: Transforming Data into Verifiable Multimodal Story. The licence is MIT.

When your agent uses it

  • Data & Analytics work in your project

Example prompts

  • “/analyst”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash(*), Read, Write, Glob, Grep

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Dataset Profile
  2. Field Inventory
  3. All Possible Analyses
  4. Save all code to code/
  5. Write analyst.json

What it can do on your machine

Read from SKILL.md and the folder at commit 63a55c1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(*)
    • Read
    • Write
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Analyst loads about 2.4k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 1,130 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash(*), Read, Write, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from QinghongLin/data2story-skill at commit 63a55c1, republished under its MIT licence (© QinghongLin). 1,130 words, ~2,393 tokens.

Download SKILL.mdSave it as .claude/skills/analyst/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
analyst
description
Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies. Reads detective.json for context. Runs after the Detective/Scout, before the Editor. Outputs analyst.json with ana_xx IDs and chart-ready data_tables.
allowed-tools
Bash(*), Read, Write, Glob, Grep
argument-hint
[DATA_DIR] [PROJECT_DIR]

Analyst

Your job is completeness, not curation. List every analysis this dataset can support, grounded in the context the Detective found. You are not deciding what story to tell — that is the Editor's job. You are cataloguing what the data contains.

Setup

  • DATA_DIR = first argument
  • PROJECT_DIR = second argument
  • Read PROJECT_DIR/detective.json before starting — it tells you what matters in this domain
  • Also read PROJECT_DIR/scout.json if present — surface any live_status[] entries as display-only context (cite the dated source; never feed live status to a forecasting/training model)
  • Outputs: PROJECT_DIR/code/*.py (analysis scripts), PROJECT_DIR/analyst.json

Steps

1. Dataset Profile

Run code to compute:

  • File(s), format, row count, column count
  • What one row represents
  • Time range, geographic scope
  • Missing value counts per column
  • Cardinality of categorical columns
2. Field Inventory

For every column:

  • Name, inferred meaning, data type
  • Sample values
  • Noteworthy distributions or quirks
3. All Possible Analyses

Run actual code (Python/Bash) for every applicable category below. Record the actual numbers — not descriptions of what could be computed.

Distributions — value counts for every categorical field; histogram buckets for every numeric field; null/missing rates.

Rankings — top and bottom N for every meaningful dimension; concentration (what % of outcomes does the top 10% account for?).

Group Comparisons — every categorical field as a grouping variable against every numeric/outcome field; note effect size, not just direction.

Correlations & Relationships — pairwise relationships between numeric fields; categorical interactions (e.g. A × B → outcome).

Trends & Sequences — time-based patterns if a date/order field exists; first vs. last, early vs. late.

Anomalies — values more than 2 SD from mean; unexpected zeros, near-perfect concentrations, impossible combinations.

Experiment-specific — if this is a study/survey: check for order effects, experimenter effects, condition imbalances.

Context-informed — use detective.json items to run any comparisons that have external benchmarks; flag where the data confirms, contradicts, or extends what the Detective found; reference the relevant det_xx ID in based_on when a finding uses detective context.

Validation & robustness (REQUIRED whenever a finding is derived, modelled, or predictive — not just descriptive) — don't only state the number; show it can be trusted. Run and record at least one of: a backtest / holdout, a comparison against a naive baseline, a sanity check, or a sensitivity/robustness check — plus what would falsify the claim. Make this its own ana_xx finding (a validation finding) so the Editor can give "why believe this" its own beat. A predictive/derived headline with no validation is incomplete.

  • State the level it validates vs the level the headline claims. A validation often confirms skill at a different granularity than the headline sells — e.g. the backtest validates a per-event/per-match outcome, but the headline is an aggregate/tournament-level probability the backtest never directly tests. The validation finding MUST say, in plain words, what level it validates and what level the lead claim is at, and name the gap when they differ. Don't let an Editor read "validated" and assume the headline figure itself was validated.
  • Record comparability when benchmarking against an external number. When you compare the model to an outside benchmark or forecast (often a det_xx), record its timepoint, method, and sample_size alongside the comparison so the Editor doesn't oversell a "disagreement" that is partly a snapshot artefact (a different as-of date, a different method, or a tiny sample) rather than a real divergence.

Client model (for the interactive centerpiece + any model/derived/predictive finding) — beyond data_table, emit a client_model so an in-browser explorable can let the reader RE-RUN it: the coefficients/params + a small PURE-JS function (and a compact data slice if needed) that recomputes the result client-side from reader inputs. Keep it cheap enough to run live (closed-form, or a few-thousand-iteration simulation that finishes <1s). Save it to code/ (e.g. code/client_model.js) and reference it from the finding so the Programmer can inline it. See ../../frontend-design-pro/references/interaction_playbook.json → recipes.explorable_recompute.

4. Save all code to code/

Save every script you run to PROJECT_DIR/code/. This folder is the complete verifiable record of all analysis. Every script must be runnable from DATA_DIR.

Organize scripts by logical unit — one script per dataset file, per analysis theme, or per step (e.g. load_and_profile.py, answer_distribution.py, step_analysis.py).

Mark findings in scripts so analyst.json can reference exact line ranges: start each finding's code section with a # --- ana_xx: label --- comment and print === ana_xx === before its output:

python
# --- ana_04: Top 20 most common answers ---
print("=== ana_04 ===")
vc = final_answers.value_counts()
print(vc.head(20))

The calculation field in analyst.json then references which file + which lines produce each finding.

Show full SKILL.md (426 more words)Show less
5. Write analyst.json

Every finding goes into analyst.json as a structured item with an ana_xx ID.

Note (feeds the orchestrator's post-Analyst re-confirm of is_computational): if you emit any client_model or any rate / ranking / aggregate / probability / model-output finding, the orchestrator will upgrade topic_profile.is_computational to true after this stage — so make those findings explicit (don't bury a computed headline as a plain descriptive item), so the interaction + runnable-verify flagship levers aren't lost to an early Detective mis-classification.

Output

Write scripts to PROJECT_DIR/code/ first, then write PROJECT_DIR/analyst.json.

Shape (validator-enforced): items is a dict keyed by ana_xx id (NOT a findings[] array). validate.py/verify.py read analyst.items as {id: {...}}:

json
{
  "meta": {...}, "dataset": {...},
  "items": {
    "ana_01": { "label": "...", "content": "...", "type": "...", "strength": "...",
                "calculation": { "file": "...", "lines": [1, 9], "output": "..." },
                "data_table": {...}, "based_on": ["det_01"] }
  },
  "caveats": []
}

References:

  • references/schema.json — the full output structure (meta, dataset, items, caveats).
  • references/field_rules.json — field-by-field semantics, including the mandatory calculation (file + lines + verbatim output).
  • references/data_table_rules.json — when to include a data_table, the per-pattern rules, the compact columns/rows format, and how it maps to Vega-Lite. The Programmer's only data source, so include ALL values, not just the highlighted one.

Scientific Paper Mode

When DATA_DIR contains paper.pdf and metadata.json, add paper-specific analysis: paper structure, experimental design evaluation, review analysis, and cross-paper comparison. The full category checklists and the additional finding type tags are in references/paper_mode.json.

Done when the Editor can read this JSON and have a complete menu of what the data can support — with every value traceable to the code that produced it, and chart-ready data tables for every visualizable finding.

Team coordination — Analyst team

You are the lead of the Analyst team. Your member is the Imagineer (interactive-concept fan-out). You catalogue every analysis the data supports; the Imagineer then turns the producible findings you surface into a pool of candidate interactive concepts the Editor curates into the hero + supporting set.

  • Member call (mirrored from the orchestrator): the orchestrator runs Skill imagineer PROJECT_DIR at Stage 2.5, after your analyst.json is complete (and before the Editor). The Imagineer reads your analyst.json (including any client_models) and detective.json, so finish and save them first.
  • Make the producible findings explicit. The Imagineer fans out one img_xx concept per finding the reader could PRODUCE, so don't bury a computed headline (a rate / ranking / aggregate / probability / model output) as a plain descriptive item — surface it as its own ana_xx, and emit a client_model for any model/derived finding (per Step 3's client-model rule) so an in-browser explorable can re-run it. The orchestrator's post-Analyst re-confirm of topic_profile.is_computational keys off exactly these, so the interaction + runnable-verify flagship levers aren't lost to an early mis-classification.

This is coordination prose, not a new gate: your ana_xx ids, the mandatory calculation, the data_table shape, and the client_model mechanics are unchanged.

© QinghongLin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/data2story-pro/analyst of QinghongLin/data2story-skill.

  • SKILL.md
  • references/data_table_rules.json
  • references/field_rules.json
  • references/paper_mode.json
  • references/schema.json

Open the folder on GitHubat commit 63a55c1

Compare with similar skills

Analyst next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analyst compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyst this skillQinghongLin/data2story-skill156—~2.4kAutomated safety check: NotesMIT
MatplotlibzLanqing/codex-claude-academic-skills4.7k17 repos~2.9kAutomated safety check: PassMIT
Exploratory Data Analysisspacering-net/codeg3.9k14 repos~3.6kAutomated safety check: PassMIT
Scikit LearnzLanqing/codex-claude-academic-skills4.7k16 repos~3.9kAutomated safety check: PassBSD-3-Clause
Chart Visualizationbytedance/deer-flow84k2 repos~840Automated safety check: PassMIT
TimesFM Forecastinggoogle-research/timesfm34k—~4.7kAutomated safety check: PassApache-2.0

Similar skills

  • Matplotlib

    zLanqing/codex-claude-academic-skills

    Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 17 repos~2.9k tokens
    Data & AnalyticsAuto-check passed
  • Exploratory Data Analysis

    spacering-net/codeg

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    3.9k GitHub starsUsed in 14 repos~3.6k tokens
    Data & AnalyticsAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Chart Visualization

    bytedance/deer-flow

    Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.

    84k GitHub starsUsed in 2 repos~840 tokens
    Data & AnalyticsAuto-check passed
  • TimesFM Forecasting

    google-research/timesfm

    Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.

    34k GitHub stars~4.7k tokensUpdated 9 days ago
    Data & AnalyticsAuto-check passed
  • Sandbox Bench

    vercel/next.js

    Official

    Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…

    143k GitHub stars~4.1k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from QinghongLin/data2story-skill

All 31 skills in this repo
  • Inspector

    QinghongLin/data2story-skill

    Run sentence-level traceability verification on a Data2Story blog (verify.py - verifier.json), then emit the in-page Inspector panel (the reader-facing runnable verifier) + the verify/ artifacts…

    156 GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check: notes
  • Auditor

    QinghongLin/data2story-skill

    Audit a generated Data2Story blog for build correctness across ALL modalities by ACTUALLY RENDERING it in a real headless browser (when available) — catching blank/0-width charts, broken/oversized…

    156 GitHub stars~6.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Critic

    QinghongLin/data2story-skill

    Review a finished Data2Story blog against the 5 quality rubric dimensions (visualdesign, narrativepacing, datamethodtransparency, claimdataalignment, insightvalue), score each 1-7 with on-page…

    156 GitHub stars~4.7k tokensUpdated 3 mo ago
    Auto-check: notes
  • Detective

    QinghongLin/data2story-skill

    Research external context for a dataset — domain background, history, related studies, and why this data matters.

    156 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Inspector

    QinghongLin/data2story-skill

    Run sentence-level traceability verification on a blog, then generate viewer.html with interactive evidence panel.

    156 GitHub stars~697 tokensUpdated 3 mo ago
    Auto-check: notes
  • Data2story Pro

    QinghongLin/data2story-skill

    A skill your agent uses to turn a dataset into a verifiable multimedia blog (a data story / data-driven article / interactive dashboard from a dataset).

    156 GitHub stars~14k tokensUpdated 3 mo ago
    Auto-check: notes

Questions about Analyst

What does Analyst do?

Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies. Analyst is an agent skill from QinghongLin/data2story-skill. Exhaustively profile a dataset and list ALL possible analyses — distributions, correlations, rankings, trends, group comparisons, anomalies.

When should I use Analyst?

Analyst fits situations like: data & Analytics work in your project.

How do I install Analyst in Claude Code?

Run `npx skills add QinghongLin/data2story-skill --skill analyst -a claude-code`. Or copy the skill folder (skills/data2story-pro/analyst in QinghongLin/data2story-skill) into .claude/skills/analyst in your project. Claude Code loads it when a task matches its description.

How do I install Analyst in Codex?

Run `npx skills add QinghongLin/data2story-skill --skill analyst -a codex`. Or copy the skill folder (skills/data2story-pro/analyst in QinghongLin/data2story-skill) into .agents/skills/analyst in your project. Codex loads it when a task matches its description.

Can I use Analyst in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add QinghongLin/data2story-skill --skill analyst -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyst, .gemini/skills/analyst, .github/skills/analyst and .opencode/skills/analyst in your project.

What does Analyst need to run?

SKILL.md names no scripts, command-line tools or credentials: Analyst is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(*), Read, Write, Glob, Grep.

Does Analyst access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Analyst safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Analyst use?

Analyst is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyst use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Analyst?

Skills that share tags, products or a category with Analyst: Matplotlib (zLanqing/codex-claude-academic-skills, 4.7k stars), Exploratory Data Analysis (spacering-net/codeg, 3.9k stars), Scikit Learn (zLanqing/codex-claude-academic-skills, 4.7k stars) and Chart Visualization (bytedance/deer-flow, 84k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyst?

QinghongLin (a GitHub user) maintains it in QinghongLin/data2story-skill, which has 156 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on July 5, 2026.

Source: QinghongLin/data2story-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.