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 agentmods add skills/syhily/kobato/react-router-framework-modenpx skills add syhily/kobato --skill react-router-framework-modegit clone --depth 1 https://github.com/syhily/kobatoWrote 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/syhily/kobato/react-router-framework-mode)<a href="https://agentmods.dev/skills/syhily/kobato/react-router-framework-mode"><img src="https://agentmods.dev/badge/skills/syhily/kobato/react-router-framework-mode.svg" alt="Measured on agentmods" 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 | $0.00056 | $0.00974 |
| Opus 5 | $0.00028 | $0.00487 |
| Sonnet 5 | $0.00011 | $0.00195 |
| Haiku 4.5 | $0.00006 | $0.00097 |
Grade A, and why
react-router-framework-mode 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 5d 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.
This is a copy
100% identical to react-router-framework-mode — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Router Framework Mode
Framework mode is React Router's full-stack development experience with file-based routing, server-side, client-side, and static rendering strategies, data loading and mutations, and type-safe route module API.
When to Apply
- Configuring new routes (
app/routes.ts) - Loading data with
loaderorclientLoader - Handling mutations with
actionorclientAction - Navigating with
<Link>,<NavLink>,<Form>,redirect, anduseNavigate - Implementing pending/loading UI states
- Configuring SSR, SPA mode, or pre-rendering (
react-router.config.ts) - Implementing authentication
References
Load the relevant reference for detailed guidance on the specific API/concept:
| Reference | Use When |
|---|---|
references/routing.md |
Configuring routes, nested routes, dynamic segments |
references/route-modules.md |
Understanding all route module exports |
references/special-files.md |
Customizing root.tsx, adding global nav/footer, fonts |
references/data-loading.md |
Loading data with loaders, streaming, caching |
references/actions.md |
Handling forms, mutations, validation |
references/navigation.md |
Links, programmatic navigation, redirects |
references/pending-ui.md |
Loading states, optimistic UI |
references/error-handling.md |
Error boundaries, error reporting |
references/rendering-strategies.md |
SSR vs SPA vs pre-rendering configuration |
references/middleware.md |
Adding middleware (requires v7.9.0+) |
references/sessions.md |
Cookie sessions, authentication, protected routes |
references/type-safety.md |
Auto-generated route types, type imports, type safety |
What ships with it
12 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.
- references/actions.md 8.9 KB
- references/data-loading.md 3.8 KB
- references/error-handling.md 4.5 KB
- references/middleware.md 6.6 KB
- references/navigation.md 4.1 KB
- references/pending-ui.md 6.8 KB
- references/rendering-strategies.md 3.8 KB
- references/route-modules.md 8.5 KB
- references/routing.md 6.0 KB
- references/sessions.md 10 KB
- references/special-files.md 12 KB
- references/type-safety.md 4.1 KB
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.
- 5d ago First seen · 122 lines · 56 tokens per session scan A f3ea09caa569
react-router-framework-mode is a skill published in the GitHub repository syhily/kobato (115 stars, last pushed 3d ago), licensed MIT. It adds 56 tokens to every session and 974 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to react-router-framework-mode, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
tanstack-query
Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.
tanstack-router
Type-safe routing for React and Solid applications with first-class search params, data loading, and seamless integration with the React ecosystem.
react-expert
Use when researching React APIs or concepts for documentation. Use when you need authoritative usage examples, caveats, warnings, or errors for a React feature.
astro-expert
Astro framework expertise — islands architecture, SSR/hybrid modes, React integration, performance, and production-ready frontend scaffolding.
dioxus-docs
Dioxus 0.7 — fullstack cross-platform Rust app framework. Web, Desktop, Mobile, SSR. RSX, signals, hooks, router.
astro
Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.