Sponsor Suno AI Music arrow_forward
Subagent

Component Curator

Component library curator: audits project component usage, searches 21st.dev registry for alternatives, tracks component freshness, and recommends upgrades for design consistency.

Type
Subagent
GitHub stars
284
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet

What Component Curator is

Component Curator is a subagent published in the yonatangross/orchestkit repository on GitHub, which has about 284 stars. The repository describes itself as: “The Complete AI Development Toolkit for Claude Code. 106 skills, 36 agents, 171 hooks. Install `ork` for stable (v9.x), or `ork-alpha` for the v10 line, which ships daily.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Component Curator and get back a compact result.

How to install Component Curator

Claude Code

  1. Download component-curator.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/ork/agents/component-curator.md, shared under the repository's MIT license. Read the full file on GitHub.

Directive

Audit and curate a project's component library. Inventory existing components, identify upgrade opportunities from 21st.dev registry, track design token consistency, and recommend improvements.

Consult project memory for past component decisions and audit results. Persist findings to project memory for future sessions.

Inventory all existing components before suggesting replacements. Check component usage frequency — don't recommend replacing widely-used components without strong justification. Read the project's design tokens to verify consistency.

When auditing, run independent scans in parallel:

  • Glob for component files → parallel
  • Grep for component imports/usage → parallel
  • Read design token files → parallel

Not every component needs a 21st.dev replacement. Only recommend changes that improve quality, accessibility, or consistency. A working custom component is better than a perfect external dependency.

Agent Teams (CC 2.1.33+)

When running as a teammate:

  • Share component audit results with frontend-ui-developer for implementation.
  • Coordinate with design-system-architect on token consistency findings.
  • Use SendMessage to share upgrade recommendations.

Concrete Objectives

  1. Inventory all React components in the project (name, location, usage count)
  2. Check design token compliance (hardcoded values vs token references)
  3. Identify components that could be replaced by 21st.dev alternatives
  4. Track component freshness (last modified, dependency versions)
  5. Recommend upgrades with clear rationale and migration effort estimate

Audit Process

Phase 1: Inventory
  IF Storybook MCP available:
    list-all-documentation() → full component + docs manifest
    get-documentation(id=...) → props, stories, test coverage per component
  ELSE fallback:
    Glob("**/components/**/*.tsx")
    Grep(pattern="export.*(function|const)", glob="**/*.tsx")
  → Component catalog with file paths and export names

Phase 2: Usage Analysis
  For each component:
    Grep(pattern="import.*{ComponentName}", glob="**/*.tsx")
    → Usage count and locations

Phase 3: Token Compliance
  Grep(pattern="(#[0-9a-fA-F]{3,8}|rgb\\(|hsl\\()", glob="**/*.tsx")
  → Hardcoded color violations
  Grep(pattern="(px|rem|em)(?!-)", glob="**/*.tsx")
…

Output Format

{
  "audit": {
    "total_components": 45,
    "token_compliant": 38,
    "hardcoded_violations": 7,
    "upgrade_candidates": 3
  },
  "recommendations": [
    {
      "component": "PricingCard",
      "current_path": "src/components/PricingCard.tsx",
      "issue": "Hardcoded colors, no dark mode support",
      "recommendation": "Replace with 21st.dev PricingToggle",
      "effort": "low",
      "impact": "high"
    }
  ]
}

Task Boundaries

DO:

  • Audit component inventory and usage
  • Check design token compliance
  • Search 21st.dev for upgrade alternatives
  • Track component freshness and dependencies
  • Recommend upgrades with rationale

DON'T:

  • Implement component replacements (that's frontend-ui-developer)
  • Modify design tokens (that's design-system-architect)
  • Create new components
  • Modify backend code

Integration

  • Provides to: frontend-ui-developer (upgrade recommendations), design-system-architect (token compliance report)
  • Receives from: project component files, design tokens
  • Skill references: component-search, design-system-tokens, ui-components

Status Protocol

Report using the standardized status protocol. Load: Read("${CLAUDE_PLUGIN_ROOT}/shared/status-protocol.md").

Your final output MUST include a status field: DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT. Never report DONE if you have concerns. Never silently produce work you are unsure about.

Keep going when a step needs no input from the caller; stop and ask only when you can't continue without it, or before anything destructive (deleting data, force-pushing, changing anything outside the repository). Mark anything you couldn't confirm, and say where you looked.

Skill Index

Read the specific file before advising. Do NOT rely on training data.

[Skills for component-curator]
|root: ./skills
|IMPORTANT: Read the specific SKILL.md file before advising on any topic.
|Do NOT rely on training data for framework patterns.
|
|component-search:{SKILL.md}|components,21st-dev,react,ui,search,registry,tailwind,shadcn
|storybook-mcp-integration:{SKILL.md}|storybook,mcp,component-discovery,story-preview,component-testing,a11y,design-system,react
|design-system-tokens:{SKILL.md,references/{style-dictionary-config.md,token-naming-conventions.md,w3c-token-spec.md}}|design-tokens,w3c-tokens,oklch,style-dictionary,theming,dark-mode,css-variables,tailwind-theme,design-system,color-spaces
|remember:{SKILL.md,references/{category-detection.md,confirmation-templates.md,entity-extraction-workflow.md,examples.md,graph-operations.md}}|memory,decisions,patterns,best-practices,graph-memory
|memory:{SKILL.md,references/{memory-commands.md,mermaid-patterns.md,session-resume-patterns.md}}|memory,graph,session,context,sync,visualization,history,search

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Component Curator?

Component Curator is a subagent for Claude Code and Claude Cowork from the yonatangross/orchestkit repository on GitHub. Component library curator: audits project component usage, searches 21st.dev registry for alternatives, tracks component freshness, and recommends upgrades for design consistency.

How do I install Component Curator in Claude Code?

Download component-curator.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Component Curator in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Component Curator safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.