generate-component

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 CodeCodex

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.

agentmods
npx agentmods add skills/annondeveloper/ui-kit/generate-component
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, Codex.

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. Scan, not verified.
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 $0.00060 $0.00405
Opus 5 $0.00030 $0.00202
Sonnet 5 $0.00012 $0.00081
Haiku 4.5 $0.00006 $0.00040

Measured yesterday against content hash 4fb15b5cec27, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 2mo ago), licensed MIT. It adds 60 tokens to every session and 405 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-31.

Related

Other skills, from other repositories

add-provider

Add or extend an open-source OOMOL Connect provider under src/providers, including provider definition, action schemas, local executors, credential validation, examples, and generated catalog updates.

oomol-lab/open-connector · 39 tokens

update-saasmail

Sync the local saasmail repo with the latest upstream changes from https://github.com/choyiny/saasmail. Use this skill whenever the user wants to update saasmail, pull upstream changes, sync with upstream, rebase on upstream, get the latest saasmail, or says "/update-saasmail". Handles adding the upstream remote if…

choyiny/saasmail · 105 tokens

story-html-publisher

Final step of the AI Storybook pipeline. Consolidates the scenes, images, and per-scene audio into ONE self-contained HTML storybook — a swipe/tap player with every image and audio clip embedded as base64 so the single file works offline and can be shared as-is. Reads {slug}scenes.json, {slug}images.json, and…

hassancs91/claude-image-generation · 207 tokens

github-code-review

Comprehensive GitHub code review with AI-powered swarm coordination.

aegntic/cldcde · 15 tokens

Pair Programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

aegntic/cldcde · 61 tokens

Skill Builder

Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build custom skills for specific workflows, generate skill templates, or understand the Claude Skills specification.

aegntic/cldcde · 46 tokens