app-routing

app-routing is a skill for Claude Code from ryan-haver/fusebase-mcp. It costs 53 tokens per session (394 once invoked), scanned A, a copy of app-routing, MIT.

A guide to client-side routing, which lets a web app show different pages or views as the URL changes without a full reload.

In plain words
What is it for?
It helps add React Router, configure routes, and fix routes that work locally but fail after deployment.
Why use it?
It helps prevent broken links and deployment-time 404 errors when adding or configuring routes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the fusebase plugin — 16 skills, 2 agents, 1 hook, 1 MCP server shipped together

Good fit It helps add React Router, configure routes, and fix routes that work locally but fail after deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ryan-haver/fusebase-mcp/app-routing
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.

Any agent
npx skills add ryan-haver/fusebase-mcp --skill app-routing
Clone the repo
git clone --depth 1 https://github.com/ryan-haver/fusebase-mcp

Made for: Claude Code.

Or install fusebase, the plugin that ships this one along with the rest of its 16 skills, 2 agents, 1 hook, 1 MCP server.

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 app-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryan-haver/fusebase-mcp/app-routing/github.svg)](https://agentmods.dev/skills/ryan-haver/fusebase-mcp/app-routing)
Your own site
<a href="https://agentmods.dev/skills/ryan-haver/fusebase-mcp/app-routing"><img src="https://agentmods.dev/badge/skills/ryan-haver/fusebase-mcp/app-routing/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.

agentmods 80×15 button for app-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/ryan-haver/fusebase-mcp/app-routing"><img src="https://agentmods.dev/badge/skills/ryan-haver/fusebase-mcp/app-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 394 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 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.1 $0.00053 $0.00394
Opus 5.5 $0.00021 $0.00158
Sonnet 5.5 $0.00011 $0.00079
Haiku 4.5 $0.00005 $0.00039

Measured 1mo ago against content hash 8aa6a04dddf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

app-routing 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.

Origin

This is a copy

100% identical to app-routing — 6 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.

apps/client-portal-dashboard/.claude/skills/app-routing/SKILL.md · 48 lines

What it actually says

App Routing

Fusebase Apps apps are each served from their own subdomain root:

https://{app-subdomain}.thefusebase.app/

Read FUSEBASE_APP_HOST from the project .env when constructing app URLs. The app always owns the full path space from /.

IMPORTANT: Always use path-based routing (BrowserRouter). Hash-based routing (HashRouter) is forbidden — hash fragments are stripped during redirects (e.g. OAuth, SSO), causing users to lose their navigation state.

Path-Based Routing

Routes work as normal from root:

https://my-app.thefusebase.app/settings
https://my-app.thefusebase.app/users/42

Configure the router

import { BrowserRouter, Routes, Route } from 'react-router-dom'

function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<Home />} />
        <Route path="/settings" element={<Settings />} />
      </Routes>
    </BrowserRouter>
  )
}

Common Pitfalls

  1. Using HashRouter — Forbidden. Hash fragments are dropped on redirects, breaking navigation after OAuth or SSO flows.
  2. Hardcoded absolute paths — Use React Router's <Link> component, not raw <a href="/settings">.
  3. Defining routes under /api — The /api prefix is reserved for the backend when an app has one. Never create SPA routes under /api/*. See skill app-backend.
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. 1mo ago First seen · 48 lines · 53 tokens per session scan A 8aa6a04dddf1

Subscribe to this mod's changes

app-routing is a skill published in the GitHub repository ryan-haver/fusebase-mcp (8 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 394 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to app-routing, differing in 6 lines, and is treated as a copy.

Related

app-routing compared with skills from other repositories

app-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
app-routingryan-haver/fusebase-mcpSkill83d agoMITA53Claude Code
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41k2d agoMITA214Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99ktodayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k5d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7kyesterdayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14kyesterdayMITA0Claude Code