react-router-framework-mode

react-router-framework-mode is a skill for Claude Code, Codex from syhily/kobato. It costs 56 tokens per session (974 once invoked), scanned A, a copy of react-router-framework-mode, MIT.

A guide for building full-stack React applications with React Router’s framework mode, which handles page routes, server data, forms, and navigation.

In plain words
What is it for?
Use it when setting up routes, loading or changing data, building forms, adding authentication, or configuring server-side, client-side, or static rendering.
Why use it?
It provides direction for organizing these parts of an application and handling loading, errors, and submitted data consistently.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/syhily/kobato/react-router-framework-mode
Any agent
npx skills add syhily/kobato --skill react-router-framework-mode
Clone the repo
git clone --depth 1 https://github.com/syhily/kobato

Made for: Claude Code, Codex.

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 react-router-framework-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/syhily/kobato/react-router-framework-mode.svg)](https://agentmods.dev/skills/syhily/kobato/react-router-framework-mode)
Your own site
<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>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00056 $0.00974
Opus 5 $0.00028 $0.00487
Sonnet 5 $0.00011 $0.00195
Haiku 4.5 $0.00006 $0.00097

Measured 5d ago against content hash f3ea09caa569, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

Origin

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.

.agents/skills/react-router-framework-mode/SKILL.md · 122 lines

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 loader or clientLoader
  • Handling mutations with action or clientAction
  • Navigating with <Link>, <NavLink>, <Form>, redirect, and useNavigate
  • 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

Read the full file on GitHub · 122 lines

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. 5d ago First seen · 122 lines · 56 tokens per session scan A f3ea09caa569

Subscribe to this mod's changes

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.