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 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/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.
<a href="https://agentmods.dev/skills/jimmypaolini/codebase/write-react"><img src="https://agentmods.dev/badge/skills/jimmypaolini/codebase/write-react.svg" alt="Reviewed on agentmods" width="80" 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.00098 | $0.01452 |
| Opus 5.5 | $0.00039 | $0.00581 |
| Sonnet 5.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 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.
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.
- 2mo ago 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 2mo ago), licensed MIT. It adds 98 tokens to every session and 1,452 once invoked, about $0.0004 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-09-03.
write-react compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-reactJimmyPaolini/codebase | Skill | 0 | 2mo ago | MIT | A | 98 | Claude Code, Codex |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| ui-checkstyleopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 122 | Claude Code |
| tamagui-v6-configtamagui/tamagui | Skill | 14k | 3d ago | MIT | A | 76 | Claude Code, Codex |
| tamagui-theme-generatortamagui/tamagui | Skill | 14k | 3d ago | MIT | A | 48 | Claude Code, Codex |
| frontend-ui-dark-tsmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 48 | Claude Code |
| building-landing-homelobehub/lobe-icons | Skill | 2.7k | 7d ago | MIT | A | 121 | Claude Code, Codex |