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.
npx skills add filipebraida/adonisjs-starter-kit --skill routesgit clone --depth 1 https://github.com/filipebraida/adonisjs-starter-kitWrote 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/filipebraida/adonisjs-starter-kit/routes)<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/routes"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/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.
<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/routes"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/routes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00121 | $0.01765 |
| Opus 5.5 | $0.00048 | $0.00706 |
| Sonnet 5.5 | $0.00024 | $0.00353 |
| Haiku 4.5 | $0.00012 | $0.00177 |
Grade A, and why
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 7d 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Routes
Each module owns its routes.ts. The file is imported, in order, by apps/web/start/routes.ts, wired in [[module-scaffolding]] — there is no autoloader. Controllers are referenced through the generated registry (controllers.<mod>.<Name> from #generated/controllers, rebuilt by pnpm ace codegen or the dev server), and middleware comes from #start/kernel. Routes have three loads to bear: they're the source of truth for URL generation (typed clients like Tuyau and the server-side URL builder read the named routes), for the middleware chain that guards the endpoint, and for the param typing that keeps garbage input out of the ORM.
Rules
- Numeric params get
router.matchers.number(). Without it, a non-numeric URL reaches the controller,Number('foo') → NaN, and Postgres throwsinvalid input syntax for type integer— the response is a 500. With the matcher the router 404s upstream, before boot. - CRUD verbs go through
router.resource(), trimmed with.only([...])/.except([...])to what the controller exposes. Custom verb actions (activate, publish, finalize) are separaterouter.post(...)in the same file, each on its own single-action controller (<verb>_<object>_controller.ts, onlyhandle()) — never an extra method on the resource controller. See [[crud]] for the two controller shapes. - Reference controllers via the registry.
[controllers.users.ImpersonateUser]for a single-action controller (resolves tohandle),[controllers.users.Invite, 'store']when naming a resource method,controllers.users.Usersforrouter.resource. Neverimport UsersController from ...or a lazy() => import(...)in a routes file. - Every route is named with
.as(...), following the URL hierarchy:parents.children.action. Named routes are the single source of truth for both the typed frontend URL client and the server-sideurlFor(...)/signedUrlFor(...)used in mails and workflows. Both derive the URL from the name; the name is a contract. - Param names: the resource the route acts on is
:id; every other param is camelCase, as the controller reads it (/parents/:parentId/children/:id). For a nested resource rename the parent segment with.params({ parents: 'parentId' })and pin every id. - Group by shared middleware. Put every route that shares the same auth/middleware stack inside one
router.group(() => {...}).use([...])block; a single route takes.middleware(middleware.auth())(or.use(...)) directly. Public routes live outside, guarded ones inside.
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.
- 7d ago Changed 6322b0a7449b
- 15d ago Changed · +11 lines · +23 tokens per session 12dcf2885c1c
- 3mo ago First seen · 86 lines · 98 tokens per session scan A 0e9f0f9b73fc
routes is a skill published in the GitHub repository filipebraida/adonisjs-starter-kit (99 stars, last pushed yesterday), licensed MIT. It adds 121 tokens to every session and 1,765 once invoked, about $0.0005 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.
routes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| routesfilipebraida/adonisjs-starter-kit | Skill | 99 | yesterday | MIT | A | 121 | Claude Code |
| calendarcnvmnog/calendarcn | Skill | 164 | 4d ago | MIT | A | 76 | Claude Code, Codex |
| ui-beatsnikhils4/ui-beats | Skill | 236 | 3mo ago | MIT | A | 62 | Claude Code, Codex |
| framework-nextjswahidyankf/ose-public | Skill | 12 | yesterday | MIT | A | 47 | Claude Code |
| declare-typesone-ie/one | Skill | 135 | 8d ago | none | A | 49 | Claude Code, Codex |
| sdkone-ie/one | Skill | 135 | 8d ago | none | A | 34 | Claude Code |
| frontend-engineerbuiphucminhtam/forgewright | Skill | 49 | 3d ago | none | A | 55 | Claude Code |