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 ndisisnd/cook --skill reactgit clone --depth 1 https://github.com/ndisisnd/cookWrote 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/ndisisnd/cook/react)<a href="https://agentmods.dev/skills/ndisisnd/cook/react"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/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/ndisisnd/cook/react"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/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.00041 | $0.01639 |
| Opus 5.5 | $0.00016 | $0.00656 |
| Sonnet 5.5 | $0.00008 | $0.00328 |
| Haiku 4.5 | $0.00004 | $0.00164 |
Grade A, and why
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 1mo 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React
Target: React 19.x with React Compiler 1.0 and @types/react 19. Load by default for any .tsx or .jsx task; pull refs only when the task needs that depth. Framework rules (routing, caching, Server Actions wiring, CSP) live in the framework's skill.
P0 — Hook Correctness
- Dependency arrays must be exhaustive (
exhaustive-deps). Never suppress the linter — fix the logic. useEffectis for syncing with external systems only. Derived data belongs in render; event-specific logic belongs in event handlers. Prefer framework data APIs, route loaders, TanStack Query, or SWR over raw fetch effects.- Effects must clean up subscriptions, timers, and listeners. Use
AbortControllerfor cancellable fetches and anignoreflag for non-abortable async work. - Never call hooks inside conditions, loops, nested functions, event handlers, class components,
try/catch/finally, or after a conditional return.use()is the exception: it may be called conditionally. - Never read or write
ref.currentduring render (except lazy initif (ref.current === null)). Read refs in effects and event handlers. - Lazy-initialize expensive state:
useState(() => compute()). - Memoization: when React Compiler is enabled, do not add new
useMemo,useCallback, orReact.memo; the compiler memoizes. Keep existing manual memoization unless tests and profiling show removal is safe. Without the compiler, memoize only when identity is observable or profiling proves value. useTransition/useDeferredValuefor non-urgent updates that must not block input.useEffectEvent(stable since React 19.2) for effect-local callbacks that need the latest props/state without re-running the effect. Call it only from inside effects; never use it to hide real dependencies.
P0 — Component Basics
- Function components only. The one exception is an error boundary when no library (
react-error-boundary) or framework boundary (error.tsx) is available. - One exported component per file; keep small helpers module-local. Prefer named exports — except where a framework requires default exports (Next.js
page,layout,route,error,loading,not-found,default; React Router route modules;React.lazytargets). - ~250 lines is a review smell. Split by responsibility before a component accumulates unrelated state, effects, or branches.
- No nested component definitions — define components at module scope.
- Use stable IDs as list keys; never array index. Use
useIdfor accessibility IDs, never for keys. - Prefer ternary (
cond ? <A /> : null) over&&when the left side can be0or''. - Do not thread props through components that do not use them — use composition, Context, or a store.
- Custom dialogs, menus, tabs, and compound widgets must implement keyboard interaction, focus management, and ARIA semantics, or use a proven accessible primitive.
- Wrap independently failing subtrees in error boundaries. They do not catch errors in event handlers or async code; handle those explicitly.
What ships with it
8 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.
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.
- 1mo ago Changed · -12 lines 89c85953e242
- 3mo ago First seen · 116 lines · 41 tokens per session scan A 50f921153486
react is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 1,639 once invoked, about $0.0002 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.
react compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reactndisisnd/cook | Skill | 2 | 1mo ago | MIT | A | 41 | Claude Code, Codex |
| frontend-architecture-plannerytvee-dev/webdev-agent-kit | Skill | 7 | 28d ago | Apache-2.0 | A | 47 | Claude Code, Codex |
| frontend-layout-implementerytvee-dev/webdev-agent-kit | Skill | 7 | 28d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| react-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 79 | Claude Code |
| moai-design-toolsmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 45 | Claude Code |
| frontendcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 79 | Claude Code, Codex |
| moai-domain-uiuxmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 49 | Claude Code |