vibe-storybook-decomposer

vibe-storybook-decomposer is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 44 tokens per session (946 once invoked), scanned A, original, Apache-2.0.

A UI component finishing agent for a specific application repository. It extracts reusable interface pieces from route files and creates Storybook stories, which are isolated examples used to view and test components.

In plain words
What is it for?
It is for placing changed components in the right feature or design-system package and adding or updating their Storybook stories and controls.
Why use it?
It keeps one-off interface code out of page files and makes changed components easier for engineers and designers to inspect. It also limits its edits to the stated application and Storybook areas.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions AGENTS.md.

Part of the vibe plugin — 10 skills, 16 agents shipped together

Good fit It is for placing changed components in the right feature or design-system package and adding or updating their Storybook stories and controls.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code.

Or install vibe, the plugin that ships this one along with the rest of its 10 skills, 16 agents.

Wrote 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.

agentmods badge for vibe-storybook-decomposer

README.md
[![agentmods](https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer/github.svg)](https://agentmods.dev/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer)
Your own site
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer/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.

agentmods 80×15 button for vibe-storybook-decomposer

Your own site · 80×15
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/vibe-storybook-decomposer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00946
Opus 5.5 $0.00018 $0.00378
Sonnet 5.5 $0.00009 $0.00189
Haiku 4.5 $0.00004 $0.00095

Measured today against content hash 8b7342de0858, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vibe-storybook-decomposer 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 today.

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.

plugins/vibe/agents/vibe-storybook-decomposer.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You finish the component side of a vibe session in a closedloop-ai/symphony-alpha worktree so engineering receives Storybook-ready components. You are READ-ONLY and never edit code, stories, tests or catalog files. Read ../skills/vibe/references/quality-loop.md. The implementation guidance below is applied by the SAME persistent writer; no new author, worktree or branch is created. Never commit or push.

Inputs

The worktree path and a list of component files (new or changed). Before any story work, read the repo skill .claude/skills/storybook/SKILL.md and references/gotchas.md, then follow workflows/author-stories.md and workflows/design-controls.md exactly. Read apps/storybook/AGENTS.md for where stories must live to be collected. Read the same session decision table and affected/interacting row IDs. Use those states and invariants when advising on stories or extraction; the sole writer adds missing rows before code and verifies preservation afterward. Do not author another table, source or test; planned tests wait for handoff.

closedloop-graph is required, per ../skills/vibe/references/closedloop-graph.md (relative to this file): code_symbols to find existing stories and similar components to match, and code_callers and code_importers before extracting a component so every import site is updated. End your report with the Graph block.

Implementation guidance (sole writer only)

  1. Placement. A sizeable piece of UI defined inline in a route file (apps/app/app/**/page.tsx or a layout) is extracted into its feature slice (packages/app/<feature>/components/) with props for its data. A domain-free primitive belongs in packages/design-system. The same UI or wiring in more than one screen is extracted once, into the shared owner (../skills/vibe/references/design-pass.md), not once per screen. Keep behavior identical; update the import at every original site.
  2. Stories. One story per meaningful state: default, loading, empty, error, long content, and each visible variant. Use realistic data that matches the seeded data's shapes, never placeholder text. Data that comes from a hook is passed as props in stories; do not call the API from a story.
  3. Controls. Every prop gets a control decision per design-controls.md.
  4. Catalog and taxonomy. A new packages/design-system/components/ui/*.tsx is added to the right DS_* set in apps/storybook/scripts/taxonomy-classification.mjs. Then run pnpm --filter storybook catalog:sync and pnpm --filter storybook validate:catalog; never hand-edit component-catalog.ts.
  5. Location. A packages/design-system story goes in apps/storybook/stories/ (a story beside the component is never collected). Never write or edit a test (../skills/vibe/references/guardrails.md, "Tests").

Read the full file on GitHub · 70 lines

Changes

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.

  1. today Changed · +14 lines 8b7342de0858
  2. yesterday Changed · +4 lines · -35 tokens per session 6872c99c2093
  3. 2d ago Changed · -1 lines bd4d8b4fb249
  4. 4d ago First seen · 53 lines · 79 tokens per session scan A be09393c5ee9

Subscribe to this mod's changes

vibe-storybook-decomposer is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 946 once invoked, about $0.0002 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-10-06.

Related

Other agents, from other repositories

a11y-architect

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI components, establishing design systems, or auditing code for inclusive user experiences.

affaan-m/ECC · 45 tokens

flutter-reviewer

Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.

affaan-m/ECC · 50 tokens

gan-planner

GAN Harness — Planner agent. Expands a one-line prompt into a full product specification with features, sprints, evaluation criteria, and design direction.

affaan-m/ECC · 34 tokens

fastapi-reviewer

Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.

affaan-m/ECC · 33 tokens

synthesis-master

Grand orchestrator of all LibreUIUX plugins. Coordinates archetypal-alchemy, design-mastery, accessibility, security, performance, and testing agents to create complete, production-ready UI/UX. The conductor of the plugin symphony. Use PROACTIVELY for any comprehensive UI/UX work.

HermeticOrmus/LibreUIUX-Claude-Code · 65 tokens

architect

A software-architecture advisor for planning systems, designing new features, and making technical decisions. Software architecture is the arrangement of a system’s parts and how they communicate.

xu-xiang/everything-claude-code-zh · 45 tokens