gaia: Skill for Claude Code

.claude/skills/new-route/SKILL.md

new-route is a skill for Claude Code from gaia-react/gaia. It costs 94 tokens per session (313 once invoked), scanned A, original, MIT.

A route scaffolder that creates the files needed for a new page in an application, including its component, test, story, and optional translation setup. A route is the URL path that opens a page.

In plain words
What is it for?
Use it when adding a page under the public or signed-in part of the app, with optional data loading, form actions, or internationalized text.
Why use it?
It gives a new page the expected project structure and avoids manually creating related files or wiring.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is gaia-react/gaia's own configuration. It tells Claude Code how to work on gaia itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gaia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gaia-react/gaia. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gaia-react/gaia/main/.claude/skills/new-route/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gaia-react/gaia

Made for: Claude Code.

Wrote 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.

agentmods badge for new-route

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaia-react/gaia/new-route.svg)](https://agentmods.dev/skills/gaia-react/gaia/new-route)
Your own site
<a href="https://agentmods.dev/skills/gaia-react/gaia/new-route"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/new-route.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00313
Opus 5 $0.00047 $0.00156
Sonnet 5 $0.00019 $0.00063
Haiku 4.5 $0.00009 $0.00031

Measured 7d ago against content hash e16c185340a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

new-route 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 7d 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.

.claude/skills/new-route/SKILL.md · 25 lines

What it actually says

new-route

Trigger: user asks to add a new page/route.

Workflow

  1. Confirm with the user: name (kebab-case), group (_public+ or _session+), and which of --loader, --action, --i18n they want.
  2. Run from the repo root: .gaia/cli/gaia scaffold route <name> --group <group> [flags] (output paths resolve from the working directory).
  3. Verify: pnpm typecheck clean; pnpm dev reaches the new route.

Flags

  • --group, required, _public+ or _session+
  • --loader, emit a loader stub
  • --action, emit an action stub
  • --i18n, emit the locale file and wire the locale barrel
  • --dry-run, print what would be written without touching the filesystem
  • --json, print the scaffold result as JSON
Changes

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.

  1. 7d ago First seen · 25 lines · 94 tokens per session scan A e16c185340a2

Subscribe to this mod's changes

new-route is a skill published in the GitHub repository gaia-react/gaia (23 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 313 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-08-30.

Related

Other skills, from other repositories

storybook-testing

Storybook 10 testing patterns with Vitest integration, ESM-only distribution, CSF3 typesafe factories, play() interaction tests, Chromatic TurboSnap visual regression, module automocking, accessibility addon testing, and autodocs generation. Use when writing component stories, setting up visual regression testing…

yonatangross/orchestkit · 77 tokens

testing

A guide for testing React components with React Testing Library and Vitest. It emphasizes checking interfaces through the way users find and interact with them.

DaleStudy/skills · 119 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens

compiler-port

Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.

react/react · 35 tokens

release-safety

Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip tests. NEVER skip checks or tests without explicit permission.

tamagui/tamagui · 0 tokens