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 new-componentgit 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/new-component)<a href="https://agentmods.dev/skills/gaia-react/gaia/new-component"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/new-component/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/new-component"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/new-component.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 Excessive Agency · line 4 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00108 | $0.01002 |
| Opus 5.5 | $0.00043 | $0.00401 |
| Sonnet 5.5 | $0.00022 | $0.00200 |
| Haiku 4.5 | $0.00011 | $0.00100 |
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 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 — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.
new-component
Workflow
- Registry check first. Before writing any component by hand, check whether shadcn has it:
pnpm shadcn view <name>for a known item, orpnpm shadcn search(for examplepnpm shadcn search dialog) to look. A registry counterpart means a button, dialog, tabs, popover, select, table and the like. - If the registry has it, run
pnpm shadcn add <name>. The file lands flat inapp/components/ui/<name>.tsxand is vendored: do not edit it (seefrontend/.claude/rules/shadcn-ui.md). Then compose the added component in a GAIA component or page rather than hand-writing a replacement; addapp/components/ui/tests/<name>.stories.tsxfor the new ui file. Stop here unless the user still needs a GAIA component around it. - Only when the registry has no counterpart, or the request is app logic around ui parts: confirm with user via AskUserQuestion: name (PascalCase or kebab-case; the folder is kebab-case), parent dir (default
app/components), props (or "none"). - Run from the repo root:
./.gaia/cli/gaia scaffold component <Name> [flags](the package comes from the registry, not the working directory). - Verify:
pnpm typecheckclean. Open the new files, sanity-check the props. - If user wants more (variants, conditional rendering, complex children): edit the generated files. The skill does not regenerate. Before hand-editing, read one or two existing components with a similar shape and follow their pattern; style with role tokens and
cvafor variants (frontend/.claude/skills/tailwind/SKILL.md).
Adopter notes
- Registry hooks land in
~/hooksas kebab-caseuse-*.tsfiles, which GAIA's layout accepts. - The
utilsalias incomponents.jsonis required by the config schema but unused: registry files importcnfrom thecnpackage, soshadcn addwrites no util file.
Flags
--no-storyis refused (exit 1, nothing written): the story is the component's test, so a component cannot be scaffolded without one--parent <dir>, non-default parent dir, an existingapp/components[/...]folder (e.g.app/components/form) orapp/pages/<path>to colocate the component in a page folder. A parent equal to or underapp/components/ui, or outsideapp/componentsandapp/pages, is refused; the layout rule is infrontend/.claude/rules/coding-guidelines-react.md--props "a:string,b:number", typed props rendered as a Props alias and destructured in the signature. Only top-level commas separate props, so comma-bearing types (Record<K, V>,(a, b) => void, tuples) are supported within a single entry.
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 · -2 lines 1d7ef3aa705f
- 1mo ago Changed · +1 tokens per session 9c2366b6b8e5
- 1mo ago Changed · +7 lines · +27 tokens per session da720fc24612
- 1mo ago Changed 0e9ffd354eda
- 1mo ago Changed f983a63392e3
- 2mo ago Changed 746bc1fe163d
- 3mo ago First seen · 29 lines · 80 tokens per session scan A 3954f0933df3
new-component is a skill published in the GitHub repository gaia-react/gaia (26 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 1,002 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.
new-component compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| new-componentgaia-react/gaia | Skill | 26 | 1mo ago | MIT | A | 108 | Claude Code |
| writing-react-native-storybook-storiesstorybookjs/react-native | Skill | 1.3k | today | MIT | A | 83 | Claude Code |
| setup-react-native-storybookstorybookjs/react-native | Skill | 1.3k | today | MIT | A | 102 | Claude Code |
| upgrading-react-native-storybookstorybookjs/react-native | Skill | 1.3k | today | MIT | A | 151 | Claude Code |
| typescript-advanced-typesbartstc/vite-ts-react-template | Skill | 124 | 3d ago | MIT | A | 57 | Claude Code, Codex |
| writing-specbartstc/vite-ts-react-template | Skill | 124 | 3d ago | MIT | A | 69 | Claude Code, Codex |
| e2e-testingbartstc/vite-ts-react-template | Skill | 124 | 3d ago | MIT | A | 49 | Claude Code |