/splash:analystfrom splash
Reads a closed storyboard slot, frozen profile, and frozen data to produce chart-ready data.json and DATA-NOTES.md for a beat. Refuses if Gate 2 is unclosed or sources are missing or inconsistent.
Ships in splash. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Every command below is written bun skills/<skill>/…, which is the path inside a Splash checkout.
An installed stories root is not a checkout: it vendors shared/ and the Engine projects the skills
into its own store, so that path resolves to nothing and the first command a new reader runs fails
with Module not found. Set this once, in whichever root you are working in, and every command below
works verbatim with $SPLASH_SKILLS in place of skills:
# an installed stories root (the Engine's projection)
export SPLASH_SKILLS=~/.agents/skills/splash
# …or a development checkout
export SPLASH_SKILLS="$PWD/skills"
Beat paths are the other half: in a checkout a worked example sits at proof/<beat>/, and a
journalist's own beat always sits at stories/<story>/beats/<beat>/. Where a command below says
proof/…, it is naming the catalogue; your own beat goes under stories/.
Production's pre-step. Between a closed storyboard and the first line of a craft component sits a
mechanical question: what data does this beat actually draw? This skill answers it once, into
a file. buildData({storyDir, slotId}) (scripts/build-data.mjs) validates the slot has really
left Gate 2, re-checks the frozen pair (source/profile.json still describing
source/data.csv), transforms the frozen rows into a compact {columns, rows} artifact with
nulls preserved and series typed from the profile, and writes beats/<id>/data.json plus its
human-readable companion DATA-NOTES.md. The artifact's meta.hashes records the sha256 of the
storyboard, the profile and the source data it was built from — so every downstream reader can
prove which inputs it came from without trusting anyone's memory.
The skill is deliberately small and produces nothing visual. It never chooses a chart type (that decision is the storyboard's), never approves pixels, and never edits the frozen source. Its whole value is that a craft skill starts from a file, not from a re-reading of the CSV in whatever way suits the moment.
BRIEF.md and before dispatching any craft
skill — exactly when whereIs reports beat <id>: run analyst (data.json).A refusal is the product working, and it must write nothing. Every check runs before the
first write: a slot whose chosen is off its candidate list, a profile that disagrees with its
CSV, a data.json already on disk built from different hashes — all refuse with the reason named,
and the story directory is left exactly as found. The failure mode this prevents is quiet: a
half-built artifact that a craft skill then treats as current. If you are tempted to "just write
the file anyway, the data looked fine" — that temptation is the defect class the hash record
exists to catch.
Which rows a beat draws is an editorial decision, and until 2026-09-23 it was the only consequential one this chain did not write down: the contract carried every frozen row, the component picked some of them by hand, and nothing recorded which. Draw the wrong subset and no gate, no file and no test could tell.
A slot names its population in three flat fields, beside its other answers:
populationKey: iso3 # the column its values are read from
populationPeriod: 2024 # optional; matched against the `year` column
population: [ROU, ITA, DEU] # the values, or `all`
buildData then carries only those rows into data.json, and records what it left out in
DATA-NOTES.md under Exclusions. That is why the field lives here rather than in a document: a
component cannot draw a row that is not in the contract.
Three refusals, each by name and each before anything is written: a populationKey that is not a
column, a period no row holds, and — the one that matters — a value the frozen table does not hold.
A recorded population that silently drops a subject is the failure this exists to prevent, so a
typo fails loud instead of shortening the list.
A slot that records no population is a complete and ordinary state: every frozen row is carried, and
DATA-NOTES.md says so in those words, so the absence is visible rather than silent.
| Layer | File | Role |
|---|---|---|
| Transform | scripts/build-data.mjs | parseStoryboardForAnalyst, slotRefusal, buildData({storyDir, slotId, fs}) — validate everything, write last; injectable fs per house style, no network seam because there is no network I/O |
| CSV reader | scripts/csv.mjs | Carried byte-identical copy of intake's RFC 4180 reader — skills never import across boundaries at runtime |
| Profiler | scripts/profile.mjs | Carried byte-identical copy of intake's profileTable, used to re-verify the frozen profile against the frozen data |
| Rules | references/data-rules.md | The consulted rules: rounding policy, null handling, aggregation honesty (no imputation), unit normalization |
STORYBOARD.md is parsed for its scalars and
slots; slotRefusal names every way slot <id> has not left Gate 2 — unresolved grounding,
unclosed reference loop, nothing chosen, a chosen off its own candidate list, a medium that
carries no data contract, a medium/format never confirmed reachable. Any one of them refuses.source/data.csv and the result
must equal source/profile.json byte-for-byte after JSON round-trip. A swapped CSV, a
hand-edited profile, a story directory copied halfway — all refused here instead of surfacing
as a chart that quietly mislabels its own axes.meta.hashes. If data.json already exists and was built from different inputs,
the rebuild refuses — a source moved under an artifact someone may be rendering from. The
refusal is the default; passing rebuild: true (CLI: --rebuild) acknowledges the drift in
the operator's name and rewrites from current inputs, refreshing meta.hashes.null, numbers as
numbers, everything else as text. No rounding, no imputation, no aggregation, no unit
conversion — see references/data-rules.md.data.json is machine-read and compact;
DATA-NOTES.md records the input hashes, derivations (none, by construction), null counts per
column, exclusions (none — all frozen rows carried), and the profile citation for every
column's type. It is the document a journalist reads to see what their chart is standing on.# whereIs said: {"phase":"production","missing":["beat 1: run analyst (data.json)"]}
bun skills/analyst/scripts/build-data.mjs stories/annemasse-rain 1
# → wrote stories/annemasse-rain/beats/1/data.json
# → wrote stories/annemasse-rain/beats/1/DATA-NOTES.md
import { buildData } from "./scripts/build-data.mjs";
const { wrote } = await buildData({ storyDir: "stories/annemasse-rain", slotId: "1" });
// wrote = [beats/1/data.json, beats/1/DATA-NOTES.md]; a refusal THROWS naming the gap and
// leaves the directory untouched.
Then dispatch the craft skill. It reads beats/<id>/data.json — never the CSV directly — so the
chart and its source line cannot drift apart.
| Want | Knob | Where |
|---|---|---|
| Which mediums owe a data contract | 2 (chart, map) — mirrors whereIs's own ANALYST_MEDIUMS | ANALYST_MEDIUMS, build-data.mjs; mirrored in splash/scripts/where.mjs |
| What must be true of the storyboard before the transform runs | gate 2 closed, as checkStoryboard reads it — the same contract whereIs dispatches on | slotRefusal, build-data.mjs; scripts/gate-contract.mjs (carried from storyboard) |
| What a blank cell becomes | always null — there is no knob; imputation is refused by design | references/data-rules.md |
| Artifact shape version | schemaVersion: 1 | SCHEMA_VERSION, build-data.mjs |
scripts/build-data.mjs — the transform and the CLI (bun scripts/build-data.mjs <storyDir> <slotId> [--rebuild]; exit 1 refuses having written nothing).scripts/csv.mjs, scripts/profile.mjs, scripts/header.mjs — carried copies of intake's reader and
profiler; scripts/gate-contract.mjs, scripts/producer-gate.mjs and
references/datawrapper-chart-types.json — carried copies of storyboard's gate contract. All held
byte for byte by splash/test/carried-copies.test.ts.references/data-rules.md — rounding, nulls, aggregation honesty, unit normalization.assets/sample-data/rainfall.csv — eleven readings with one genuinely missing cell, so the
seed proof shows how a hole is carried, never filled.assets/sample-data/story/ — the fixture story the proof builds from: frozen article, frozen
profile, and a Gate-2-complete storyboard.output-proof/ — the exact data.json + DATA-NOTES.md this skill's script produces from
that fixture; test/canon.test.ts rebuilds them into a temp directory and requires equality.test/canon.test.ts — the canon's shape plus behavior: refusals write nothing, hash mismatch
refuses, nulls survive, the sample table clears eight rows.assets/sample-data/rainfall.csv (opens in a new tab)assets/sample-data/story/STORYBOARD.md (opens in a new tab)assets/sample-data/story/article.md (opens in a new tab)assets/sample-data/story/profile.json (opens in a new tab)output-proof/DATA-NOTES.md (opens in a new tab)output-proof/data.csv (opens in a new tab)output-proof/data.json (opens in a new tab)references/data-rules.md (opens in a new tab)references/datawrapper-chart-types.json (opens in a new tab)scripts/build-data.mjs (opens in a new tab)scripts/csv.mjs (opens in a new tab)scripts/gate-contract.mjs (opens in a new tab)scripts/header.mjs (opens in a new tab)scripts/panel-shape.mjs (opens in a new tab)scripts/producer-gate.mjs (opens in a new tab)scripts/profile.mjs (opens in a new tab)test/canon.test.ts (opens in a new tab)test/population.test.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub buriedsignals/splash --plugin splash17 skills in this plugin
/chart-beatUse to produce a chart beat — one visual with one thing to prove — by WRITING a bespoke component under doctrine, then rendering a still and looking at it. Carries the seed that teaches the anatomy (pure geometry, furniture derived from the ground, direct annotation, one accent), the static discipline, and the render ladder's first rung. SP1 covers the static format only./chart-videoUse to produce a chart beat in the VIDEO format — a directed motion piece (title card, an argument told in shots, the whole chart at the end) written under the owner's choreography rules and one editable timing contract, measured in Bun and verified by looking at rendered frames before the mp4. Carries the directed-video path (rules, 32 type sheets, the shared shot helpers), the timing contract, the seed composition, and the render ladder's second rung./Other plugins' skills for the same job