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.
git clone --depth 1 https://github.com/jrpease/throughlineWrote 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.
[](https://agentmods.dev/rules/jrpease/throughline/storybook-chromatic-builder)<a href="https://agentmods.dev/rules/jrpease/throughline/storybook-chromatic-builder"><img src="https://agentmods.dev/badge/rules/jrpease/throughline/storybook-chromatic-builder/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.
<a href="https://agentmods.dev/rules/jrpease/throughline/storybook-chromatic-builder"><img src="https://agentmods.dev/badge/rules/jrpease/throughline/storybook-chromatic-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.06918 |
| Opus 5.5 | $0.00043 | $0.02767 |
| Sonnet 5.5 | $0.00022 | $0.01384 |
| Haiku 4.5 | $0.00011 | $0.00692 |
Grade A, and why
storybook-chromatic-builder 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 26d 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.
How it starts
The opening of the file, as written. The whole thing — 473 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Storybook + Chromatic builder
Builds the code half of the component library: real components consuming the synced tokens, stories documenting them, Chromatic for visual regression, and Code Connect tying Figma to code when available.
Calibrate + prerequisites
Read user.codingLevel (.throughline/references/coding-level.md) and scale explanation.
This skill needs:
- A repo with the monorepo scaffold (
repository-builder, at leastlocal-git). Offer to run it if missing. - Synced tokens in
packages/tokens(token-sync-layer) so components consume real token files. Offer to run sync if missing. - Figma components (
components.built) with their slot contracts, so stories reflect the real component APIs.
The Figma-touching steps (Code Connect in Step 5, the doc-card write-back in Step 6)
also need a live Figma connection — do a cheap liveness read before the first Figma
call; if it fails, offer figma-environment-setup.
Strongly recommend github stage so Chromatic's CI integration works; it can be
set up locally first and wired to CI when the remote exists.
Step 1 — Stand up Storybook
Initialize Storybook in packages/ui (or the components package), configured for
the framework the tokens were synced for (e.g. React + Vite for a shadcn/Tailwind
system). Wire it to consume packages/tokens output so stories render with the
real design tokens (import the generated CSS/theme). Checkpoint: confirm
Storybook runs and shows the token-themed canvas.
Install the documentation scripts alongside the token scripts: copy the fifteen
files and register the six npm scripts listed under Documentation scripts —
install as a set in .throughline/scripts/README.md. adherence:check
needs the repo's own values substituted in — the UI package's specifier for
--package, and paths for --root/--system that match this repo's layout;
registering it with the table's placeholders leaves a script that cannot run.
verify:check needs the same treatment for its --root and --tokens, and
registering it without --tokens is worse than leaving a placeholder: the script
runs, and skips both orphan-token and color-contrast on every run. Pass one
--tokens flag per mode file — color-contrast checks each file as its own
mode, so a multi-mode system registered with a single --tokens silently checks
only one of them. That table is
the single source of truth for what a consuming repo gets; do not restate the
list here.
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.
- 26d ago Changed · +4 lines a8e761a2f326
- 1mo ago Changed · -3 lines 1722d535ab53
- 1mo ago Changed · +7 lines 8a37a47ba4da
- 1mo ago Changed 9556b2f39865
- 1mo ago Changed · +4 lines 8cd6d7718d2c
- 2mo ago Changed 55168c44780b
- 2mo ago Changed · +2 lines bd28fd2a2e8f
- 2mo ago Changed · +98 lines 1de7f027d15b
- 2mo ago Changed · +4 lines c88f8152314e
- 3mo ago First seen · 357 lines · 108 tokens per session scan A 01d07edf85b6
storybook-chromatic-builder is a cursor rule published in the GitHub repository jrpease/throughline (80 stars, last pushed today), licensed MIT. It adds 108 tokens to every session and 6,918 once invoked, about $0.0004 per session on Opus 5.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.
storybook-chromatic-builder compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| storybook-chromatic-builderjrpease/throughline | Cursor rule | 80 | today | MIT | A | 108 | Cursor |
| explorer-interface-briefmohitagw15856/pm-claude-skills | Cursor rule | 1.6k | yesterday | MIT | A | 91 | Cursor |
| prototype-previewerchocpink123/prototype-previewer-skill | Cursor rule | 32 | 7mo ago | MIT | A | 14 | Cursor |
| figma-performancehoshikitsunoda/figma-plugins-vibe-coding-template | Cursor rule | 21 | 11mo ago | MIT | A | 0 | Cursor |
| ant-designTideTree/awesome-cursor-rules-mdc-zh | Cursor rule | 14 | 8mo ago | none | A | 0 | Cursor |
| 7-day-nextjs-web-design-cursormattcsnyder/7-day-mobile-and-web-design-skill | Cursor rule | 2 | 6mo ago | none | A | 16 | Cursor |
| clone-aiOmerfaruk-aydn/sitecloner | Cursor rule | 2 | 6mo ago | none | A | 374 | Cursor |