generate-component

generate-component is a skill for Claude Code from annondeveloper/ui-kit. It costs 60 tokens per session (405 once invoked), scanned A, original, MIT.

A generator for React interface code using components from the UI Kit library. React is a JavaScript framework for building user interfaces.

In plain words
What is it for?
It helps build pages, forms, dashboards, UI components, and multi-component interface compositions in TypeScript React.
Why use it?
It looks up the library’s component details and applies its required theme, styling, layout, and animation conventions while creating code.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the ui-kit plugin — 5 skills, 2 agents, 1 hook shipped together

Good fit It helps build pages, forms, dashboards, UI components, and multi-component interface compositions in TypeScript React.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/annondeveloper/ui-kit/generate-component
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.

Any agent
npx skills add annondeveloper/ui-kit --skill generate-component
Clone the repo
git clone --depth 1 https://github.com/annondeveloper/ui-kit

Made for: Claude Code.

Or install ui-kit, the plugin that ships this one along with the rest of its 5 skills, 2 agents, 1 hook.

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 generate-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/annondeveloper/ui-kit/generate-component/github.svg)](https://agentmods.dev/skills/annondeveloper/ui-kit/generate-component)
Your own site
<a href="https://agentmods.dev/skills/annondeveloper/ui-kit/generate-component"><img src="https://agentmods.dev/badge/skills/annondeveloper/ui-kit/generate-component/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 generate-component

Your own site · 80×15
<a href="https://agentmods.dev/skills/annondeveloper/ui-kit/generate-component"><img src="https://agentmods.dev/badge/skills/annondeveloper/ui-kit/generate-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 405 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.00060 $0.00405
Opus 5.5 $0.00024 $0.00162
Sonnet 5.5 $0.00012 $0.00081
Haiku 4.5 $0.00006 $0.00040

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

Security

Grade A, and why

generate-component 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 1mo 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.

plugins/claude-code/skills/generate-component/SKILL.md · 37 lines

What it actually says

UI Kit Code Generator

Generate a component using @annondeveloper/ui-kit for: $ARGUMENTS

Rules

  1. Always wrap in UIProvider — the root of any ui-kit app needs <UIProvider> for theme/motion
  2. Use correct imports — Standard: @annondeveloper/ui-kit, Lite: @annondeveloper/ui-kit/lite, Premium: @annondeveloper/ui-kit/premium
  3. OKLCH colors only — never use hex/rgb in custom styles. Use oklch(65% 0.2 270) or CSS variables like var(--brand)
  4. Motion prop — all animated components accept motion={0|1|2|3}. Default is 3 (cinematic). Use 0 for instant, 1 for subtle
  5. Logical properties — use margin-inline-start not margin-left, block-size not height
  6. Container queries — components adapt to container, not viewport. Use container-type: inline-size

Use MCP Tools

Use get_component to look up exact props before generating code. Use generate_snippet for multi-component compositions. Use get_theme for theme tokens. Use get_icons for icon names.

Template

import { UIProvider } from '@annondeveloper/ui-kit'
import { /* components */ } from '@annondeveloper/ui-kit'

export function MyComponent() {
  return (
    <UIProvider>
      {/* composition here */}
    </UIProvider>
  )
}
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. 1mo ago First seen · 37 lines · 60 tokens per session scan A 4fb15b5cec27

Subscribe to this mod's changes

generate-component is a skill published in the GitHub repository annondeveloper/ui-kit (0 stars, last pushed 4mo ago), licensed MIT. It adds 60 tokens to every session and 405 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-08-31.

Related

Other skills, from other repositories

frontmcp-auth-ui

Use when customizing, branding, or replacing the built-in FrontMCP OAuth pages (the login, consent, federated-select, incremental-authorization, and error pages) with your own React components. Covers the auth.ui slot-to-file map and auth.extras name-to-handler map on the auth config (no decorator, no class); the…

agentfront/frontmcp · 184 tokens

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens

add-provider

Add a new storage or service provider to the core package. Use when implementing a new backend for StorageService (e.g., a new database) or a new service provider (e.g., a new LLM backend).

cyanheads/mcp-ts-core · 47 tokens

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

component-forge

Build production-grade components for React, Vue 3, and Svelte 5 with all states (loading, empty, error, success, idle), TypeScript strict, WCAG 2.2 accessibility, server components (RSC), and compound component patterns. Includes scaffold script, reference patterns, and template files for React and Vue. Use when user…

EliasOulkadi/shokunin · 112 tokens

react-native

Build production React Native apps with Expo SDK 53+, Expo Router (file-based navigation), New Architecture (Fabric + TurboModules), FlashList, Reanimated 4, Zustand for state, Hermes, EAS Build, and App Store/Play Store deployment.

EliasOulkadi/shokunin · 55 tokens