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.05006 |
| Opus 5 | $0.00054 | $0.02503 |
| Sonnet 5 | $0.00022 | $0.01001 |
| Haiku 4.5 | $0.00011 | $0.00501 |
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 5d 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 — 357 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.
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 seven
files and register the four 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. That table is
the single source of truth for what a consuming repo gets; do not restate the
list here.
These are the documentation analog of tokens:validate; see
.throughline/scripts/README.md. This copy is setup, not a forever-fork:
/document-component re-checks these files' freshness on every run and refreshes
them from the plugin when it has moved on.
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.
- 5d ago Changed · +3 lines 01d07edf85b6
- 9d ago First seen · 354 lines · 108 tokens per session scan A 7946ad75118e
storybook-chromatic-builder is a cursor rule published in the GitHub repository jrpease/throughline (76 stars, last pushed 8d ago), licensed MIT. It adds 108 tokens to every session and 5,006 once invoked, about $0.0005 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.
Other cursor rules, from other repositories
codex-premium-website-skills
Apply Codex Skills standards to frontend, website, motion, accessibility, QA, agent reasoning, and handoff work.
react-prefer-shadcn-components
Preferir componentes shadcn/ui sobre alternativas custom o de terceros.
modal
A rule describing the inputs for a modal dialog component, which is a pop-up window. It specifies the title, HTML content, optional actions, open state, and supported sizes.
ant-design
A set of guidelines for using Ant Design, a collection of ready-made interface components, in React applications. It covers code organization, performance, security, testing, and common mistakes.
7-day-nextjs-web-design-cursor
A seven-day design workflow for web products that will be built in Next.js.
clone-ai
Site Clone AI — website klonlama pipeline kuralları.