Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add strongeron/storybook-workbench/plugin install storybook-workbenchWrote 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/strongeron/storybook-workbench/sb-inventory)<a href="https://agentmods.dev/skills/strongeron/storybook-workbench/sb-inventory"><img src="https://agentmods.dev/badge/skills/strongeron/storybook-workbench/sb-inventory/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/strongeron/storybook-workbench/sb-inventory"><img src="https://agentmods.dev/badge/skills/strongeron/storybook-workbench/sb-inventory.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.00058 | $0.03429 |
| Opus 5 | $0.00029 | $0.01715 |
| Sonnet 5 | $0.00012 | $0.00686 |
| Haiku 4.5 | $0.00006 | $0.00343 |
Grade A, and why
sb-inventory 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 10d 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 — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sb-inventory — ground truth, not trust
Vibe-coded apps ship ~30% slop. This skill replaces "trust the AGENTS.md / CLAUDE.md / DESIGN.md" with
"see what's actually imported." Read CONTEXT.md for the real/vendor/dead/kind vocabulary.
(The dominant design system here comes from code signals, never from a doc. If a DESIGN.md
brief is present, sb-health cross-checks its claimed colors against the code — it drifts/lies the
same way an AGENTS.md does.)
Run it
SKILL=${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}
CORE=${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}
"$SKILL/scripts/inventory-project.sh" # writes .storybook/project-inventory.json (atomic)
The script is the ground truth — do NOT recompute by hand. Read the JSON and cite its fields.
For the known detector gotchas (what the discovery scripts get right vs. wrong across validation runs),
load references/field-learnings.md only when a count looks surprising (a 0, an outlier, a
suspected false orphan). Do NOT load it for a clean first-pass inventory whose numbers look right —
the JSON fields stand on their own.
Report (read these fields, in this order)
- Stack —
libraries(react/vite/tailwind v4|v3/shadcn/radix/baseui/r3f). - Dominant design system —
designSystem.dominant(one of tailwind-v4/shadcn/dtcg/css-vars/ none) +mixedflag. Ifmixed→ tell the user the project is in transition; suggestsb-health. - The user's own components —
components.realCount/deadCountare domain components only. Citecomponents.real[](most-imported first) as the priority list for stories. - Vendor —
components.vendorCount+byKind.vendor= shadcncomponents/ui/primitives. Call these out separately: "you also have N installed shadcn primitives — not your code, not slop, don't write stories for them first." - Modules / support / scaffold —
moduleCount(byKind.module= types/helpers/hooks/utils/ lib/api — non-component source),supportCount(byKind.scaffold|support= test/factory/mock + SB init tutorial). All excluded from the headline AND thereal[]most-imported list, so that list is your prod components, not atypes.tsthat's imported everywhere. Mention if non-zero. - Tokens — used vs orphan. Stories —
orphanStories(stories importing a component that no longer exists) ANDcomponents.storyCoverage— own components written vs. needed:{real, storyFiles, withColocatedStory, withStory, needsCount, needsStory[]}. Read coverage fromwithColocatedStory(own components with their own<name>.stories.*) andstoryFiles(distinct story files that exist) — those are the hard counts.withStoryis a loose upper bound: it also counts a component as covered when any story merely imports it (e.g. a dialog story importing a form to mock it), so it over-reports — treatwithColocatedStory ≤ real_coverage ≤ withStory.needsStory[]is the "stories needed" worklist (the inverse of orphanStories);refresh-usage.shkeeps it current sosb-storiescan work downneedsStory[].
What ships with it
19 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.
- agents/openai.yaml 825 B
- CONTEXT.md 14 KB
- decorators/withLayoutFrame.tsx 2.6 KB
- references/field-learnings.md 7.3 KB
- scripts/build-component-pages.py 18 KB runs code
- scripts/extract-component-usage.sh 11 KB runs code
- scripts/inventory-project.sh 29 KB runs code
- scripts/refresh-usage.sh 3.5 KB runs code
- scripts/scaffold-usage-mdx.py 4.8 KB runs code
- scripts/scaffold-wrapper.sh 16 KB runs code
- scripts/token-usage.py 24 KB runs code
- templates/usage-profile.mdx 3.8 KB
- wrappers/ComponentUsage.tsx 17 KB
- wrappers/icons.tsx 3.6 KB
- wrappers/ProjectInventory.tsx 21 KB
- wrappers/ReportIntro.tsx 12 KB
- wrappers/resolve-paint.ts 2.8 KB runs code
- wrappers/usage-index.tsx 12 KB
- wrappers/usage-stamp.tsx 12 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.
- 10d ago First seen · 199 lines · 58 tokens per session scan A 1f70bb852bd9
sb-inventory is a skill published in the GitHub repository strongeron/storybook-workbench (33 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 3,429 once invoked, about $0.0003 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 skills, from other repositories
skillshare-ui-website-style
Skillshare frontend design system for the React dashboard (ui/) and Docusaurus website (website/). Use this skill whenever you: build or modify a dashboard page or component in ui/src/, style or layout website pages or custom CSS in website/, create new React components for the dashboard, add pages to the dashboard…
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API ( component, addTransitionType, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components…
extract-source-sample
Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
remotion-to-hyperframes
Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my…