kanpeki

kanpeki is a skill for Codex from fellipeutaka/leon. It costs 104 tokens per session (1,486 once invoked), scanned A, original, MIT.

A copy-and-customise component library for React, a JavaScript interface framework. Its components are copied into your project with the shadcn command-line tool and use React Aria, Tailwind CSS, and CVA.

In plain words
What is it for?
Use it to add or compose interface elements such as buttons, dialogs, forms, menus, calendars, charts, and date pickers in React applications.
Why use it?
It provides ready-made interface building blocks while leaving their source code in your project to change. The components include accessibility support and reusable style variations.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to add or compose interface elements such as buttons, dialogs, forms, menus, calendars, charts, and date pickers in React applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fellipeutaka/leon/kanpeki
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 fellipeutaka/leon --skill kanpeki
Clone the repo
git clone --depth 1 https://github.com/fellipeutaka/leon

Made for: Codex.

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 kanpeki

README.md
[![agentmods](https://agentmods.dev/badge/skills/fellipeutaka/leon/kanpeki.svg)](https://agentmods.dev/skills/fellipeutaka/leon/kanpeki)
Your own site
<a href="https://agentmods.dev/skills/fellipeutaka/leon/kanpeki"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/kanpeki.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,486 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.00104 $0.01486
Opus 5 $0.00052 $0.00743
Sonnet 5 $0.00021 $0.00297
Haiku 4.5 $0.00010 $0.00149

Measured 7d ago against content hash 83392091a442, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

kanpeki 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 7d 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.

skills/kanpeki/SKILL.md · 106 lines

How it starts

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

Kanpeki

Kanpeki is a copy-paste component library for React. Components are copied into your project (not installed as npm packages) via the shadcn CLI. Built on React Aria Components (accessibility), CVA beta (variants), and Tailwind CSS 4.1 (styling).

Docs: https://kanpeki.vercel.app

Quick Start

Install dependencies, create ~/lib/cva.ts, configure globals.css, then add components:

npx shadcn@latest add @kanpeki/button

Components are copied to ~/components/ui/<name>/. You own the code.

See references/installation-setup.md for full setup (deps, CVA config, globals.css, dark mode, path alias).

Component Architecture

Each component has: index.ts (exports), <name>.tsx (implementation), styles.ts (CVA variants).

  • Simple components — single export: import { Button } from "~/components/ui/button"
  • Multi-part components — namespace exports: import { Dialog } from "~/components/ui/dialog"Dialog.Root, Dialog.Content, etc.

Multi-part components: Accordion, Breadcrumb, ButtonGroup, Calendar, Card, Carousel, Chart, Combobox, DateField, DatePicker, Dialog, Drawer, Field, InputGroup, ListBox, Menu, NumberField, Pagination, Popover, RadioGroup, Resizable, ScrollArea, SearchField, Select, Sheet, Sidebar, Slider, Table, Tabs, Toast, ToggleGroup, Tooltip.

Key rule: Always use composeRenderProps from react-aria-components on React Aria primitives — required for state selectors (pressed:, selected:, etc.). For plain HTML elements, call CVA directly.

See references/component-patterns.md for full examples (Button, Dialog, namespace pattern, customization).

Form System

3-layer architecture: Form > Field > Input component.

Field.Root's render prop connects to a React Aria form primitive (TextField, Select, NumberField, etc.) for automatic label association and validation.

Form Library Integration

  1. Determine the form library:

Read the full file on GitHub · 106 lines

Files

What ships with it

7 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. 7d ago First seen · 106 lines · 104 tokens per session scan A 83392091a442

Subscribe to this mod's changes

kanpeki is a skill published in the GitHub repository fellipeutaka/leon (5 stars, last pushed 4d ago), licensed MIT. It adds 104 tokens to every session and 1,486 once invoked, about $0.0005 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

cobejs

Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).

MengTo/Skills · 31 tokens

stitch::react-components

Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.

google-labs-code/stitch-skills · 43 tokens

seed-design

An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.

daangn/seed-design · 109 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens