Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/skills/salah-xd/appcn/new-component)<a href="https://agentmods.dev/skills/salah-xd/appcn/new-component"><img src="https://agentmods.dev/badge/skills/salah-xd/appcn/new-component.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.01973 |
| Opus 5 | $0.00034 | $0.00986 |
| Sonnet 5 | $0.00013 | $0.00395 |
| Haiku 4.5 | $0.00007 | $0.00197 |
Grade A, and why
new-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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/new-component
You are about to add a new component to appCN — a shadcn-philosophy component library for React Native + Expo. Read this entire skill before asking the user any questions.
Read these first (if you haven't this session)
CLAUDE.md— architecture, monorepo map.DESIGN.md— taste layer + the SOP this skill operationalizes.AGENTS.md— agent-specific rules.
Step 0 — Gather the spec from the user
Ask only what's missing. You need:
- Slug (kebab-case, e.g.
bottom-sheet). - Category —
base(broad mobile primitive) orai(featured AI collection). If unclear, default tobaseand ask. - One-line description.
- Anatomy — 2–4 sentences: what's it made of, when to reach for it.
- The delight detail — the one non-obvious motion / haptic / behavior that earns the component's place. If the user can't articulate it, push back. Components without a delight detail don't get merged.
- Props sketch — even rough is fine; you'll refine in step 2.
Step 1 — Author packages/ui/src/{components,ai}/<slug>.tsx
File shape (mirror the existing components):
header doc comment ← what it is + the delight detail, in one breath
imports ← react, react-native, reanimated, ../lib/cn, ../lib/motion, optional ../lib/haptics
cva blocks ← <name>Variants / <name>TextVariants (only if there are variants)
Props interface ← exported, named <Name>Props
component ← exported, named <Name>
local sub-components ← Dot, Caret, icons… below the main component
named exports ← incl. variants
Non-negotiables (DESIGN.md):
- NativeWind classes only (no
StyleSheet). - Reanimated for motion, gesture-handler for gestures.
- Pull durations / easings / springs /
PRESS_SCALEfrom../lib/motion. - Pull haptics from
../lib/hapticsif any tactile feedback is needed. accessibilityRole+ label +hitSlopon every interactive surface.- Honor
useReducedMotion()— fall back to crossfade or settled state. - Dark-mode first; use token classes (
bg-primary,text-muted-foreground) only. - Icons: draw small glyphs from
Views/borders (seeprompt-input.tsx). Don't add an icon library.
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.
- 6d ago First seen · 213 lines · 67 tokens per session scan A 33d959eef804
new-component is a skill published in the GitHub repository Salah-XD/appCN (3 stars, last pushed 3mo ago), licensed MIT. It adds 67 tokens to every session and 1,973 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.
Other skills, from other repositories
ui-components
UI component library patterns for shadcn/ui and Radix Primitives. Use when building accessible component libraries, customizing shadcn components, using Radix unstyled primitives, or creating design system foundations.
coss-particles
Index of all COSS UI particle examples. Use when implementing UI features to find copy-paste-ready component patterns built on coss primitives. Each particle has a description and a JSON URL for easy installation.
coss
Helps implement coss UI components correctly. Use when building UIs with coss primitives and patterns (buttons, dialogs, selects, forms, menus, tabs, segmented controls, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior.…
creative-tim-ui
Creative Tim UI block library assistant. Use when adding, generating, or modifying UI blocks/components/pages from creative-tim.com/ui. Covers design philosophy (minimalism, the 95% rule, research-first), block discovery, both CLI install methods, PRO API key setup, and Creative Tim design rules (orange brand…
spark-ui
Install and compose Spark UI signature React components such as Widget Stack, Dynamic Island, Interactive Pets, Tactile Highlight, Shimmer Text, Image Trail, Animated Gradient, Ghost Ether, Logo Carousel, QR Code, Receipt, Number Ticker, Spotify Card, Masonry, Keyboard, and Hello from the Spark UI shadcn-compatible…
shadcn-ui
Build accessible, customizable UIs with shadcn/ui, Radix UI, and Tailwind CSS. Use when setting up shadcn/ui, installing components, building forms with React Hook Form + Zod, customizing themes, or implementing component patterns.