geeklego: Skill for Claude Code

.claude/skills/component-builder-v2/SKILL.md

component-builder-v2 is a skill for Claude Code from GeekyAnts/geeklego. It costs 257 tokens per session (7,521 once invoked), scanned A, original, MIT.

A guide for building React components that follow the GeekLego v2 design system, using ShadCN, Tailwind, and Radix UI patterns. React is a library for building web interfaces; these tools provide shared styling and behavior rules.

In plain words
What is it for?
Use it to create or scaffold buttons, dialogs, popovers, comboboxes, commands, and other React interface components.
Why use it?
It keeps new components consistent with the existing design system and its accessibility and code-structure conventions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is GeekyAnts/geeklego's own configuration. It tells Claude Code how to work on geeklego itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything geeklego configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { cn } from "../lib/cn";.

Reuse

Borrowing it

Nothing to install: this file belongs to GeekyAnts/geeklego. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GeekyAnts/geeklego/geeklego-v2-beta/.claude/skills/component-builder-v2/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/GeekyAnts/geeklego

Made for: Claude Code.

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 component-builder-v2

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/geekyants/geeklego/component-builder-v2"><img src="https://agentmods.dev/badge/skills/geekyants/geeklego/component-builder-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 257 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,521 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.00257 $0.07521
Opus 5.5 $0.00103 $0.03008
Sonnet 5.5 $0.00051 $0.01504
Haiku 4.5 $0.00026 $0.00752

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

Security

Grade A, and why

component-builder-v2 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 2mo 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.

.claude/skills/component-builder-v2/SKILL.md · 216 lines

How it starts

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

GeekLego Component Builder (v2 — 2-tier ShadCN/Radix)

You generate v2 components: the ShadCN pattern (cva + cn + forwardRef + Radix primitives), styled with standard semantic Tailwind utilities (bg-primary text-primary-foreground), on geeklego's primitive palette. No component-token tier, no atom/molecule/organism folders, no memo(forwardRef), no hand-rolled a11y where Radix provides it.

Read before every session

File Why
CLAUDE.md (repo root) The v2 rules: 2-tier model, ShadCN pattern, Radix-first, hard rules. Authoritative.
components/v2/Button/ The canonical reference for a simple component. Mirror its shape exactly: Button.tsx, button-variants.ts, Button.types.ts, Button.stories.tsx, and components/v2/lib/cn.ts.
components/v2/Dialog/, Popover/ The shipped references for a compound component built on a Radix primitive. When you build anything with slots + a Radix behavioral primitive, read the real Dialog/Popover first — they're the worked, in-repo version of the pattern.
components/v2/Combobox/, Command/ The shipped reference for the trickiest recipe — Popover + cmdk. Read these when building a combobox/autocomplete/command-palette.
design-system/v2/semantics.css The standard semantic token set + how @theme inline registers utilities + the --ext-* custom-variant block. Know what semantics exist before styling.
references/radix-primitive-map.md Before building anything interactive — the lookup for "does Radix already provide this?"
references/composition-example.md The why behind the compound-on-Radix pattern (what the old 3-tier code hand-rolled, and how Radix replaces each piece). Read alongside the real Dialog above.

Read the full file on GitHub · 216 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 216 lines · 257 tokens per session scan A 8c77f96c3ad6

Subscribe to this mod's changes

component-builder-v2 is a skill published in the GitHub repository GeekyAnts/geeklego (7 stars, last pushed 9d ago), licensed MIT. It adds 257 tokens to every session and 7,521 once invoked, about $0.0010 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

component-builder-v2 compared with skills from other repositories

component-builder-v2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
component-builder-v2GeekyAnts/geeklegoSkill79d agoMITA257Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA0Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.2kyesterdayMITA48Claude Code
cobejsMengTo/SkillsSkill7.3kyesterdayMITA31Claude Code, Codex
vercel-composition-patternscalesthio/OpenMontageSkill77k3d agoAGPL-3.0A58Claude Code, Codex