fusebase-flow: Skill for Claude Code

.agents/skills/app-routing/SKILL.md

app-routing is a skill for Claude Code from fusebase-dev/fusebase-flow. It costs 53 tokens per session (399 once invoked), scanned A, original, MIT.

Guidance for adding client-side page navigation to Fusebase Apps using React Router. Client-side routing changes the displayed page without loading a new document, while path-based routes use URLs such as /settings or /users/42.

In plain words
What is it for?
Use it when adding routes, fixing deployed routes, configuring BrowserRouter, or linking between pages in a Fusebase app.
Why use it?
It helps avoid broken links, deployment 404 errors, and lost navigation state after sign-in or other redirects. It also explains Fusebase's subdomain-based URL structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is fusebase-dev/fusebase-flow's own configuration. It tells Claude Code how to work on fusebase-flow 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 fusebase-flow configures →

Part of the fusebase-flow plugin — 56 skills, 8 commands, 4 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to fusebase-dev/fusebase-flow. 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/fusebase-dev/fusebase-flow/main/.agents/skills/app-routing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fusebase-dev/fusebase-flow

Made for: Claude Code.

Or install fusebase-flow, the plugin that ships this one along with the rest of its 56 skills, 8 commands, 4 agents.

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/fusebase-dev/fusebase-flow/app-routing/github.svg)](https://agentmods.dev/skills/fusebase-dev/fusebase-flow/app-routing)
Your own site
<a href="https://agentmods.dev/skills/fusebase-dev/fusebase-flow/app-routing"><img src="https://agentmods.dev/badge/skills/fusebase-dev/fusebase-flow/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/fusebase-dev/fusebase-flow/app-routing"><img src="https://agentmods.dev/badge/skills/fusebase-dev/fusebase-flow/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 399 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.00053 $0.00399
Opus 5.5 $0.00021 $0.00160
Sonnet 5.5 $0.00011 $0.00080
Haiku 4.5 $0.00005 $0.00040

Measured 2mo ago against content hash b940a39fe341, 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/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}.{FUSEBASE_APP_HOST}/

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.{FUSEBASE_APP_HOST}/settings
https://my-app.{FUSEBASE_APP_HOST}/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. 2mo ago First seen · 48 lines · 53 tokens per session scan A b940a39fe341

Subscribe to this mod's changes

app-routing is a skill published in the GitHub repository fusebase-dev/fusebase-flow (9 stars, last pushed 13d ago), licensed MIT. It adds 53 tokens to every session and 399 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-31.

Related

app-routing compared with skills from other repositories

app-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
app-routingfusebase-dev/fusebase-flowSkill913d agoMITA53Claude Code
lov-install-tanstack-querylovstudio/skillsSkill72yesterdayMITA61Claude Code
shadcnPyModel/react-frontend-skillsSkill424d agoMITA16Claude Code, Codex
nextjsPyModel/react-frontend-skillsSkill424d agoMITA13Claude Code, Codex
react-hook-formPyModel/react-frontend-skillsSkill424d agoMITA13Claude Code, Codex
lov-kill-emojilovstudio/skillsSkill72yesterdayMITA48Claude Code
lov-video-chapter-designlovstudio/skillsSkill72yesterdayMITA51Claude Code