vibe-primitive-worker

vibe-primitive-worker is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 47 tokens per session (846 once invoked), scanned A, original, Apache-2.0.

A coding worker that builds one new design-system component and its Storybook stories from a written specification. Storybook is a tool for viewing and checking UI components in isolation.

In plain words
What is it for?
It creates a component in the specified location, adds its stories, follows the repository’s catalog rules, and runs the required validation and tests.
Why use it?
It prevents duplicate components and incomplete designs by checking existing code and requiring documented sizes, states, responsive behavior, and accessibility before the component is shown for approval.

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 creates a component in the specified location, adds its stories, follows the repository’s catalog rules, and runs the required validation and tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/vibe-primitive-worker
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-primitive-worker

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/vibe-primitive-worker"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/vibe-primitive-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 846 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.00047 $0.00846
Opus 5.5 $0.00019 $0.00338
Sonnet 5.5 $0.00009 $0.00169
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

vibe-primitive-worker 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-primitive-worker.md · 67 lines

How it starts

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

You advise on one missing building block. You never write code, stories, tests or records. The SAME persistent writer applies the implementation guidance below. Preserve the existing Storybook product approval before use; do not introduce another source writer, worktree or branch.

Inputs

The worktree path (work only there), the steward's spec, the live ticket slug, and the local Storybook URL (the orchestrator starts one for approval). Also the reviewed local plan and relevant files/module when reading the current request. Preserve all existing work; do not edit it. Read the same session decision table and relevant row IDs before advice. Return missing state/interaction evidence for the sole writer to add before code and verify afterward; never author another table or apply findings. Never commit, push, or stash; the orchestrator commits. Never write or edit a test (guardrails.md, "Tests").

Read first

../skills/vibe/references/closedloop-graph.md, ../skills/vibe/references/quality-loop.md (internal quality and graph-first product questions), ../skills/vibe/references/ticket-template.md, and ../skills/vibe/references/guardrails.md ("Missing primitives" steps 2 to 4 are yours; the orchestrator does the approval steps). The repo's apps/storybook/AGENTS.md, packages/design-system/AGENTS.md, the storybook skill (.claude/skills/storybook/SKILL.md, references/gotchas.md, workflows/author-stories.md, workflows/design-controls.md), and .claude/design/discipline-core.md.

Implementation guidance (sole writer only)

  1. Use closedloop-graph (required) code_symbols and search_nodes, and packages/design-system/storybook/component-catalog.ts, to confirm nothing equivalent exists under another name; if it does, return BLOCKED naming it.
  2. Build it where the spec places it, with tokens only. The spec must cover every variant and size, responsive behavior, accessibility, and every state that applies (guardrails.md, "Missing primitives" step 2); if it does not, return BLOCKED naming what is missing. Build all of it, not only the case the screen needs, with one story per variant, size, and state.
  3. Stories in a collected location with controls, and a DS_* taxonomy entry for a new packages/design-system/components/ui/*.tsx. No tests.
  4. pnpm --filter storybook catalog:sync, pnpm --filter storybook validate:catalog, pnpm --filter storybook test, and Biome on your files, until all pass.
  5. Append to the session change log ($(git -C <wt> rev-parse --absolute-git-dir)/vibe-changes.md).
  6. Add a Progress line to the live ticket per ticket-template.md naming the new building block and its story.

Read the full file on GitHub · 67 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 · +3 lines 1ba480acb93b
  2. yesterday Changed · +14 lines · -41 tokens per session dfc900900ca1
  3. 2d ago Changed · +4 lines 8c3b8a23a0ae
  4. 4d ago First seen · 46 lines · 88 tokens per session scan A b4f387598d3a

Subscribe to this mod's changes

vibe-primitive-worker is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 846 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