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.
npx agentmods add skills/jimmypaolini/codebase/write-reactnpx skills add JimmyPaolini/codebase --skill write-reactgit clone --depth 1 https://github.com/JimmyPaolini/codebaseWrote 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/jimmypaolini/codebase/write-react)<a href="https://agentmods.dev/skills/jimmypaolini/codebase/write-react"><img src="https://agentmods.dev/badge/skills/jimmypaolini/codebase/write-react.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 | $0.00098 | $0.01452 |
| Opus 5 | $0.00049 | $0.00726 |
| Sonnet 5 | $0.00020 | $0.00290 |
| Haiku 4.5 | $0.00010 | $0.00145 |
Grade A, and why
write-react 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 today.
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 — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write React
All projects use React 19 with the new JSX transform — no React import needed.
// ✅ CORRECT: No React import (React 19)
import { useState } from "react";
export const Counter = (): ReactElement => {
const [count, setCount] = useState(0);
return <button onClick={() => setCount(count + 1)}>{count}</button>;
};
Component Structure
Organize every component with these emoji-marked sections in order:
| Section | Emoji | Contents |
|---|---|---|
| Type | 🔖 | Props interface, types |
| Component | 🧩 | Component declaration |
| Hooks | 🪝 | useState, useEffect, custom hooks |
| Setup | 🏗 | Computed values, memoized callbacks |
| Handler | 💪 | Event handlers |
| Early returns | 🏁 | Loading, error states |
| Render | 🎨 | JSX return |
import { useState, useEffect, useCallback } from "react";
import { type ReactElement } from "react";
// 🔖 Type
export interface UserCardProps {
userId: string;
className?: string;
}
// 🧩 Component
export const UserCard = (props: UserCardProps): ReactElement => {
const { userId, className } = props;
// 🪝 Hooks
const [user, setUser] = useState<User | null>(null);
const [loading, setLoading] = useState(true);
useEffect(() => {
void fetchUser(userId).then(setUser);
}, [userId]);
// 🏗 Setup
const displayName = user?.name ?? "Unknown User";
const handleClick = useCallback(() => {
console.log("User clicked", user);
}, [user]);
// 💪 Handler
const handleRefresh = (): void => {
setLoading(true);
void fetchUser(userId).then(setUser).finally(() => { setLoading(false); });
};
// 🏁 Early returns
if (loading) return <Spinner />;
if (!user) return <ErrorMessage />;
// 🎨 Render
return (
<Card className={className}>
<h2>{displayName}</h2>
<Button onClick={handleClick}>View Profile</Button>
<Button onClick={handleRefresh}>Refresh</Button>
</Card>
);
};
lexico-components
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.
- today First seen · 215 lines · 98 tokens per session scan A e64579482db4
write-react is a skill published in the GitHub repository JimmyPaolini/codebase (0 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 1,452 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-09-03.
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…
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.
shadcn-ui
Skill "shadcn-ui" from Hainrixz/claude-webkit, covering shadcn/ui - component library, summary, when to use, quick start and installation.
ui-design
Designs, builds, and audits UI in React, Next, and Tailwind: visual direction, Tailwind implementation, dark-mode and responsive retrofits, and a rule-based audit of built frontends covering state gaps, data loss, focus and keyboard failures, accessibility markup, layout resilience, and AI-slop tells, with file:line…
light-frontend-design
Light 按需工程技能·前端设计:把模糊的「做个好看的界面」落成能跑的 React/Tailwind/shadcn 代码 + 设计决策说明—— 有视觉记忆点(signature element)、风格自洽(design tokens 一致)、适配场景(学术海报/数据大屏/管理后台/移动端/营销 landing 信息密度各不同)、反「一眼 AI」(紫蓝渐变/Inter/16px 圆角/巨型 hero/居中堆叠/emoji 标题)、视觉无障碍(WCAG 2.2)。 何时用:竞赛作品/项目演示/科研系统界面要做网页或应用 UI / 要改造现有前端 / 要选设计系统或配色或字体 / 要做 dashboard·后台·landing·移动端…
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…