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.00233 | $0.05241 |
| Opus 5 | $0.00117 | $0.02620 |
| Sonnet 5 | $0.00047 | $0.01048 |
| Haiku 4.5 | $0.00023 | $0.00524 |
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 11d 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 — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Storybook
Scaffold and test Storybook stories — three artefacts in two files
per component: a Default story and a Playground story (both in the
visual regression file) plus an interaction test file under a
/Tests namespace.
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.tsxlacks an interaction test counterpart. - 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-interactions |
Generate <name>.test.stories.tsx |
Skip the 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
15 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
- rules/adversarial-validation.md 9.9 KB
- rules/anti-patterns.md 9.8 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 7.8 KB
- rules/visual-verification.md 4.3 KB
- templates/auth.config.example.json 1.2 KB
- templates/component.native.stories.tsx 1.8 KB
- templates/component.native.test.stories.tsx 2.0 KB
- templates/component.stories.tsx 1.7 KB
- templates/component.test.stories.tsx 2.0 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.
- 11d ago First seen · 460 lines · 233 tokens per session scan A dbc4cfe5c65d
storybook is a skill published in the GitHub repository mthines/agent-skills (13 stars, last pushed yesterday), licensed MIT. It adds 233 tokens to every session and 5,241 once invoked, about $0.0012 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-31.
Other skills, from other repositories
diff
Reconcile a converted/built web page against its source prototype with two complementary probes — a PIXEL/layout diff (stretched images, dropped wraps, blank renders, colour flips) and a STRUCTURAL content+typography diff (dropped/mis-slotted headings, eyebrows, CTAs; rendered-face font forks). Stack-agnostic via…
find-test-content
Use this when you need to find existing pages that already use a specific block in an AEM Edge Delivery Services project, for example to locate test content or examples during block development. Covers reporting page URLs with occurrence counts and block variants. This searches existing content; to import a new page…
frontend-testing
Comprehensive frontend testing strategy covering unit, integration, E2E, visual regression, and accessibility testing.
accessibility-testing
WCAG 2.1/2.2 audit, axe, Lighthouse, manual testing, screen reader testing, and remediation.
appbuilder-testing
Generate and run tests for Adobe App Builder actions and UI components. Scaffolds Jest unit tests, integration tests against deployed actions, contract tests for Adobe API interactions, and React component tests using Testing Library. Provides mock helpers for State, Files, Events SDKs, @adobe/aio-lib- clients, ExC…
visual-qa-vision-agent
Equips the AI agent with visual QA capabilities using Playwright/Puppeteer and the agent's innate Vision capabilities to self-correct UI layout, CSS alignment, and visual regressions.