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.
npx skills add mthines/agent-skills --skill storybookgit clone --depth 1 https://github.com/mthines/agent-skillsWrote 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/skills/mthines/agent-skills/storybook)<a href="https://agentmods.dev/skills/mthines/agent-skills/storybook"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/storybook/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/skills/mthines/agent-skills/storybook"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/storybook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 101 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 102 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00089 | $0.06126 |
| Opus 5.5 | $0.00036 | $0.02450 |
| Sonnet 5.5 | $0.00018 | $0.01225 |
| Haiku 4.5 | $0.00009 | $0.00613 |
Grade A, and why
storybook 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 2d 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 — 510 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Storybook
Scaffold and test Storybook stories.
Per component: a Default story and a Playground story (both in the visual regression file).
Plus a jsdom unit test file for everything jsdom can prove.
Plus, only when needed, an interaction test file under a /Tests namespace.
jsdom is the default because it is cheaper.
Storybook interaction tests are reserved for browser-only behavior and for design decisions worth replaying in the Interactions panel (rules/test-placement.md).
Works on React (web) and React Native / Expo (native).
Auth — when the running Storybook is gated — is opt-in and per-pathname,
with secrets stored in the OS keychain instead of the repo.
This
SKILL.mdis a thin index. Concern-specific rules live inrules/*.mdand load on demand. Reference material lives inreferences/*.md. Literal scaffolding lives intemplates/*.md. Do not preload every file — load only what the current phase asks for.
When to use
Reach for this skill when any of the following is true:
- A component has no story file yet and needs visual regression coverage.
- An existing
*.stories.tsxhas no test counterpart (jsdom or Storybook). - A
Playgroundstory is missing or out of sync with current props. - The Storybook target is gated by auth and the agent needs to log in.
- A flaky interaction test needs to be iterated against the running Storybook URL.
Do not reach for this skill when:
- The task is to build the component itself. Scaffold stories after the component is implemented and named.
- The repo has no Storybook installation at all. Halt and ask the user to install Storybook first — this skill does not bootstrap Storybook.
- The component is a hook or non-visual primitive with no rendered
surface.
Defer to
tdd.
Arguments and defaults
Parse $ARGUMENTS in this order:
| Argument | Default | Effect |
|---|---|---|
<component-path> |
Prompt the user | Source file of the component to scaffold stories for. |
--platform web|native |
Auto-detect (see rules/react-native.md) |
Web emits .stories.tsx; native emits the Expo / RN variant. |
--no-unit |
Generate <name>.test.tsx when a jsdom runner exists |
Skip the jsdom unit test file. |
--no-interactions |
Generate <name>.test.stories.tsx when a behavior needs the browser |
Skip the Storybook interaction test file. |
--no-playground |
Include a Playground story |
Skip the Playground story. |
--no-default |
Include a Default story with grouped variants |
Skip the visual regression Default story (rare — only for test-only). |
--validate |
Off | Run the opt-in adversarial validate-and-fix phase (Phase 6) after the scaffold. Local only. |
--auth <profile> |
None | Use the named auth profile when running Playwright against the URL. |
--title <storybook-title> |
Inferred from the component path | Override the Storybook title for the generated meta. |
What ships with it
18 files 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.
- references/flake-cookbook.md 7.0 KB
- references/platform-detection.md 4.1 KB
- references/test-placement.md 1.5 KB
- rules/adversarial-validation.md 10.0 KB
- rules/anti-patterns.md 10 KB
- rules/auth.md 9.6 KB
- rules/create-stories.md 7.9 KB
- rules/interaction-tests.md 12 KB
- rules/playwright-cli.md 8.9 KB
- rules/react-native.md 8.2 KB
- rules/test-placement.md 8.9 KB
- rules/visual-verification.md 4.6 KB
- templates/auth.config.example.json 1.2 KB
- templates/component.native.stories.tsx 1.8 KB
- templates/component.native.test.stories.tsx 2.8 KB
- templates/component.stories.tsx 1.7 KB
- templates/component.test.stories.tsx 2.1 KB
- templates/component.test.tsx 2.4 KB
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.
- 2d ago Changed · +61 lines · +16 tokens per session 1b83c11a8fb1
- 1mo ago Changed d6b94ec2c533
- 1mo ago Changed · -10 lines · -149 tokens per session 30f8db8684ce
- 2mo ago Changed · -1 lines · -11 tokens per session a8c26c762335
- 3mo ago First seen · 460 lines · 233 tokens per session scan A dbc4cfe5c65d
storybook is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 89 tokens to every session and 6,126 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-31.
storybook compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| storybookmthines/agent-skills | Skill | 22 | yesterday | MIT | A | 89 | Claude Code |
| skill-bodycitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 0 | Claude Code, Codex |
| ego-browsercitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 125 | Claude Code, Codex |
| temporal-developertemporalio/skill-temporal-developer | Skill | 243 | 9d ago | MIT | A | 216 | Claude Code, Codex |
| creating-explainersanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 98 | Claude Code, Codex |
| fact-checking-explainersanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 84 | Claude Code, Codex |
| explaining-codebasesanalyticalmonk/explain-this | Skill | 24 | 1mo ago | MIT | A | 84 | Claude Code, Codex |