mandu-fs-routes

mandu-fs-routes is a skill for Claude Code, Codex from konamgil/mandu. It costs 58 tokens per session (886 once invoked), scanned A, original, MPL-2.0.

A guide for file-system routing in Mandu, where folders and files under app/ determine the application's URLs. It covers pages, layouts, API endpoints, and dynamic URL parts such as [id].

In plain words
What is it for?
Use it when creating or changing pages, API routes, layouts, or dynamic routes, then verify the result with Mandu's agent tools.
Why use it?
It helps prevent route changes that conflict with Mandu's workflow, generated files, or verification checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or changing pages, API routes, layouts, or dynamic routes, then verify the result with Mandu's agent tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konamgil/mandu/mandu-fs-routes
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 konamgil/mandu --skill mandu-fs-routes
Clone the repo
git clone --depth 1 https://github.com/konamgil/mandu

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 mandu-fs-routes

README.md
[![agentmods](https://agentmods.dev/badge/skills/konamgil/mandu/mandu-fs-routes/github.svg)](https://agentmods.dev/skills/konamgil/mandu/mandu-fs-routes)
Your own site
<a href="https://agentmods.dev/skills/konamgil/mandu/mandu-fs-routes"><img src="https://agentmods.dev/badge/skills/konamgil/mandu/mandu-fs-routes/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 mandu-fs-routes

Your own site · 80×15
<a href="https://agentmods.dev/skills/konamgil/mandu/mandu-fs-routes"><img src="https://agentmods.dev/badge/skills/konamgil/mandu/mandu-fs-routes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00058 $0.00886
Opus 5 $0.00029 $0.00443
Sonnet 5 $0.00012 $0.00177
Haiku 4.5 $0.00006 $0.00089

Measured 11d ago against content hash 9ada30e37e7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mandu-fs-routes 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 11d 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.

docs/archive/skills/mcp-v0/mandu-fs-routes/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mandu FS Routes

FS Routes는 파일 시스템 기반 라우팅입니다. app/ 폴더의 파일 구조가 URL이 됩니다.

Agent Workflow Contract

This skill is a Domain addendum. It must not replace mandu-agent-workflow. Use it only after mandu.agent.plan selects the route or API domain.

Canonical workflow step: plan -> apply -> verify.

Preferred MCP tools:

Step Tools
plan mandu.agent.plan, mandu.route.list
apply mandu.agent.apply, mandu.generate, mandu.route.add
verify mandu.agent.verify, mandu.manifest.validate
repair mandu.agent.repair

Allowed file edits:

  • app/**/page.tsx, app/**/layout.tsx, app/**/route.ts
  • Route-local metadata files and co-located helpers
  • Related contract/slot files only when the plan includes those domains

Verification command:

mandu agent verify --changed --json --write

Common failures:

  • Creating a page or API route before reading the local app/ pattern
  • Editing generated route manifests by hand
  • Adding API files without contract verification when the plan includes API work

Repair path:

mandu agent repair --from .mandu/agent-verify.json --json

When to Apply

Reference these guidelines when:

  • Creating new pages or API endpoints
  • Setting up dynamic routes with parameters
  • Implementing shared layouts
  • Organizing route groups
  • Working with catch-all routes

Rule Categories by Priority

Priority Category Impact Prefix
1 File Naming CRITICAL routes-naming-
2 Page Routes HIGH routes-page-
3 API Routes HIGH routes-api-
4 Dynamic Routes MEDIUM routes-dynamic-
5 Layouts MEDIUM routes-layout-

Quick Reference

1. File Naming (CRITICAL)

  • routes-naming-page - Use page.tsx for page components
  • routes-naming-route - Use route.ts for API handlers
  • routes-naming-layout - Use layout.tsx for shared layouts

2. Page Routes (HIGH)

  • routes-page-component - Export default function component
  • routes-page-metadata - Export metadata object for SEO

Read the full file on GitHub · 123 lines

Files

What ships with it

6 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.

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. 11d ago First seen · 123 lines · 58 tokens per session scan A 9ada30e37e7a

Subscribe to this mod's changes

mandu-fs-routes is a skill published in the GitHub repository konamgil/mandu (46 stars, last pushed 15d ago), licensed MPL-2.0. It adds 58 tokens to every session and 886 once invoked, about $0.0003 per session on Opus 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.