Borrowing it
Nothing to install: this file belongs to bayesimpact/bayes-platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bayesimpact/bayes-platform/main/.claude/skills/storybook-screenshot/SKILL.mdgit clone --depth 1 https://github.com/bayesimpact/bayes-platformWrote 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/bayesimpact/bayes-platform/storybook-screenshot)<a href="https://agentmods.dev/skills/bayesimpact/bayes-platform/storybook-screenshot"><img src="https://agentmods.dev/badge/skills/bayesimpact/bayes-platform/storybook-screenshot/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/bayesimpact/bayes-platform/storybook-screenshot"><img src="https://agentmods.dev/badge/skills/bayesimpact/bayes-platform/storybook-screenshot.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.00068 | $0.01964 |
| Opus 5.5 | $0.00027 | $0.00786 |
| Sonnet 5.5 | $0.00014 | $0.00393 |
| Haiku 4.5 | $0.00007 | $0.00196 |
Grade A, and why
storybook-screenshot scanned grade A with 1 finding 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 6d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
until curl -sf http://localhost:PORT/index.json >/dev/null; do sleep 3; done How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Storybook screenshot
Overview
Storybook renders every route and component of apps/web with seeded state and mocked services, and the whole Desk (apps/desk) on its MSW handlers, without the API, a database or a login. The script opens one story in headless Chromium, saves a PNG to read with the Read tool, and lists console errors and warnings, uncaught exceptions, failed requests and content wider than the viewport.
Steps
Run every command from the repository root. Pick a port and use it everywhere below as PORT: in the main checkout 6006 for apps/web, 6007 for apps/web-embed, 6008 for packages/ui, 6009 for apps/desk; in a worktree another one (for example 6016), since those may belong to another checkout's Storybook. In a fresh worktree, run npm ci first.
In a worktree with an environment (infra/worktree/.env exists), never start a Storybook on the host: the environment serves them. Skip steps 1 and 6, start the one you need with bayes wt up --with storybook-web (or storybook-ui, storybook-embed, storybook-desk), and pass its URL, which bayes wt up prints, as --base-url instead of --port: https://<name>-storybook.<domain> for apps/web, https://<name>-desk-storybook.<domain> for the Desk. Use the same URL in place of http://localhost:PORT in step 2.
-
Start Storybook as a background command (Bash
run_in_background: true):npm --prefix apps/web run storybook -- -p PORT --ci --no-openFor shared components, use
--prefix packages/ui; for the embed widget,--prefix apps/web-embed; for the Desk,--prefix apps/desk. -
Wait until it serves stories, as a background command (a foreground
sleepmay be blocked), then find the story id with a word of the screen you want:until curl -sf http://localhost:PORT/index.json >/dev/null; do sleep 3; done curl -s http://localhost:PORT/index.json | grep -o '"id":"[^"]*SEARCH_WORD[^"]*"'The Desk's stories are in
apps/desk/src/stories/, one per state of its mocked world, in three folders:Desk/General(Desk.stories.tsx),Desk/ConversationandDesk/Extraction(desk-general--terms-to-accept,desk-conversation--conversation,desk-extraction--csv-run...): each opens the whole Desk at a page. An id is the storytitlein kebab case,--, then the export name:title: "routes/studio/project/membership"withexport const Defaultgivesroutes-studio-project-membership--default. Open the story file (apps/web/src/stories/...) to see its exports andargTypes: the states you can reach come from both, for example aWithDataexport or awithMemberAgentstoggle. Storybook silently ignores an arg the component does not use, so pass names you saw in the story'sargTypesorargs, or props of its component.
What ships with it
2 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.
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.
- 6d ago Changed · +2 lines · +2 tokens per session e0d6b8fd6157
- 29d ago First seen · 100 lines · 66 tokens per session scan A d0be99d57c40
storybook-screenshot is a skill published in the GitHub repository bayesimpact/bayes-platform (23 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,964 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.
storybook-screenshot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| storybook-screenshotbayesimpact/bayes-platform | Skill | 23 | yesterday | MIT | A | 68 | Claude Code |
| verify-omnigentomnigent-ai/omnigent | Skill | 11k | yesterday | Apache-2.0 | A | 100 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 104 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 57k | 29d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.3k | yesterday | MIT | A | 55 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.3k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| test-warp-uiwarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 55 | Claude Code |