Borrowing it
Nothing to install: this file belongs to proyecto26/projectx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/proyecto26/projectx/develop/.agents/skills/react-router-v7/SKILL.mdgit clone --depth 1 https://github.com/proyecto26/projectxWrote 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/proyecto26/projectx/react-router-v7)<a href="https://agentmods.dev/skills/proyecto26/projectx/react-router-v7"><img src="https://agentmods.dev/badge/skills/proyecto26/projectx/react-router-v7/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/proyecto26/projectx/react-router-v7"><img src="https://agentmods.dev/badge/skills/proyecto26/projectx/react-router-v7.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00051 | $0.03083 |
| Opus 5.5 | $0.00020 | $0.01233 |
| Sonnet 5.5 | $0.00010 | $0.00617 |
| Haiku 4.5 | $0.00005 | $0.00308 |
Grade A, and why
react-router-v7 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 2mo 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 — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Router v7 Best Practices
Project Structure
The frontend app is in apps/web/ using React Router v7 with SSR (Framework Mode).
apps/web/
├── src/
│ ├── routes/ # File-based routing
│ │ ├── layouts/ # Layout routes (root, auth, admin)
│ │ ├── admin/ # Admin routes
│ │ └── _index.tsx # Home page
│ ├── pages/ # Page components
│ ├── components/ # Shared components
│ ├── services/ # API services (http.server.ts)
│ ├── cookies/ # Session management (auth.server.ts)
│ ├── lib/ # Utilities and helpers
│ ├── root.tsx # Root layout
│ └── entry.server.tsx # Server entry
├── react-router.config.ts
└── vite.config.ts
File-Based Routing
Routes are defined by file structure in src/routes/:
| File | Route |
|---|---|
_index.tsx |
/ |
about.tsx |
/about |
products.tsx |
/products |
products.$id.tsx |
/products/:id |
products._index.tsx |
/products (index) |
auth.login.tsx |
/auth/login |
admin/index.tsx |
/admin |
$.tsx |
Catch-all (404) |
Layout Routes
routes/
├── layouts/
│ ├── root-layout.tsx # Root layout with Outlet
│ └── auth-layout.tsx # Auth layout (login/register)
├── products.tsx # Layout for /products/*
├── products._index.tsx # /products
└── products.$id.tsx # /products/:id
Quick Reference
Framework Mode (This Project - Vite plugin with SSR):
// routes.ts
import { index, route, layout } from "@react-router/dev/routes";
export default [
layout("./routes/layouts/root-layout.tsx", [
index("./routes/_index.tsx"),
route("products/:pid", "./routes/products.$id.tsx"),
route("admin/*", "./routes/admin/index.tsx"),
]),
];
Data Mode (Alternative for SPAs):
import { createBrowserRouter, RouterProvider } from "react-router";
const router = createBrowserRouter([
{
path: "/",
Component: Root,
ErrorBoundary: RootErrorBoundary,
loader: rootLoader,
children: [
{ index: true, Component: Home },
{ path: "products/:productId", Component: Product, loader: productLoader },
],
},
]);
ReactDOM.createRoot(root).render(<RouterProvider router={router} />);
What ships with it
8 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.
- 2mo ago First seen · 450 lines · 51 tokens per session scan A 85b4342f9e4c
react-router-v7 is a skill published in the GitHub repository proyecto26/projectx (83 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 3,083 once invoked, about $0.0002 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-router-v7 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-router-v7proyecto26/projectx | Skill | 83 | yesterday | MIT | A | 51 | Claude Code |
| getting-startedwasp-lang/open-saas | Skill | 16k | 9d ago | MIT | A | 31 | Claude Code |
| guided-tourwasp-lang/open-saas | Skill | 16k | 9d ago | MIT | A | 29 | Claude Code |
| add-wasp-skillswasp-lang/open-saas | Skill | 16k | 9d ago | MIT | A | 28 | Claude Code |
| evjsafx-team/evjs | Skill | 27 | 4d ago | MIT | A | 45 | Claude Code, Codex |
| nextjs-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 77 | Claude Code |
| remix-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 70 | Claude Code |