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 gaia-react/gaia --skill react-codegit clone --depth 1 https://github.com/gaia-react/gaiaWrote 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/gaia-react/gaia/react-code)<a href="https://agentmods.dev/skills/gaia-react/gaia/react-code"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/react-code/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/gaia-react/gaia/react-code"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/react-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 134 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00110 | $0.03765 |
| Opus 5.5 | $0.00044 | $0.01506 |
| Sonnet 5.5 | $0.00022 | $0.00753 |
| Haiku 4.5 | $0.00011 | $0.00377 |
Grade A, and why
react-code 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 — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Code
Write and edit React components, pages, routes, hooks, and forms following project conventions.
Contents: Reach for the Platform First; Pre-Flight Gates; Memoization: compiler-first; Component Structure; Data Loading; Route-Page Architecture; References.
Reach for the Platform First
Before installing a package or hand-rolling a primitive, walk this ladder and stop at the first hit:
- Existing project code, a component, hook, or util already covers it (form inputs → Gate 2).
- Web platform, a browser API or native element does the job (
Intl,URL,structuredClone(),<dialog>, modern CSS). - Already-installed dependency, check
package.jsonbefore adding a sibling that does the same job. For component/hook traps Claude often hand-rolls (client-only/useHydrated, sse, debounce-fetcher), see the remix-utils decision map atwiki/dependencies/remix-utils.mdbefore reinventing. - New dependency, only when 1-3 genuinely fall short; the added weight has to earn its place.
- Custom code, last resort, kept minimal.
Reaching for the platform replaces a needless dependency or bespoke widget; it never overrides accessibility, input validation, or an existing project component (a wrapper exists for a reason).
Pre-Flight Gates
Run each gate when its pattern appears in your changes.
Gate 1: Hook Check
Before writing useEffect: decide whether it should be an Effect at all. Lint (react-you-might-not-need-an-effect) reports the ones that should not: state derived from props or state, user-event logic, chained updates, notifying a parent, and resetting state on a prop change. An Effect is right when it synchronizes with an external system (browser API, third-party widget, network). Add cleanup (a fetch aborts its AbortController; a client that cannot cancel uses an ignore flag: references/hook-patterns.md).
Before writing useMemo, useCallback, or memo: don't; see ## Memoization: compiler-first.
What ships with it
4 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 · +1 lines 607a9203eee9
- 1mo ago Changed · -7 lines eb4cb3991acb
- 1mo ago Changed 6e993cd58b46
- 1mo ago Changed · +2 lines 76428718e894
- 1mo ago Changed · -23 lines 5aa4cdcb561b
- 1mo ago Changed · -77 tokens per session 8a7c9882d569
- 1mo ago Changed · +13 lines 4ad98f1306a8
- 1mo ago Changed · +16 lines · +11 tokens per session d8797b827fe4
- 1mo ago Changed · +2 lines 6d9c860d023d
- 2mo ago First seen · 200 lines · 176 tokens per session scan A d5787180fc63
react-code is a skill published in the GitHub repository gaia-react/gaia (26 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 3,765 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-08-30.
react-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-codegaia-react/gaia | Skill | 26 | 1mo ago | MIT | A | 110 | Claude Code |
| mcp-serverDaleStudy/skills | Skill | 4 | 28d ago | MIT | A | 58 | Claude Code |
| migrate-oxlintoxc-project/oxc | Skill | 24k | today | MIT | A | 52 | Claude Code, Codex |
| inspector-workbenchCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 112 | Claude Code |
| react-doctoramplifthq/opentag | Skill | 1.4k | 14d ago | MIT | A | 42 | Claude Code, Codex |
| devtools-bidirectionalTanStack/devtools | Skill | 519 | yesterday | MIT | A | 59 | Claude Code, Codex |
| react-doctorPostHog/posthog-foss | Skill | 736 | today | MIT | A | 32 | Claude Code, Codex |