Borrowing it
Nothing to install: this file belongs to JaguarJack/catch-admin. 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/JaguarJack/catch-admin/v5/.claude/skills/06-routes/SKILL.mdgit clone --depth 1 https://github.com/JaguarJack/catch-adminWrote 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/jaguarjack/catch-admin/06-routes)<a href="https://agentmods.dev/skills/jaguarjack/catch-admin/06-routes"><img src="https://agentmods.dev/badge/skills/jaguarjack/catch-admin/06-routes.svg" alt="Measured on agentmods" 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.00010 | $0.00348 |
| Opus 5 | $0.00005 | $0.00174 |
| Sonnet 5 | $0.00002 | $0.00070 |
| Haiku 4.5 | $0.00001 | $0.00035 |
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.
What it actually says
Step 6: Generate Routes
创建路由配置。
File Location
modules/{Module}/routes/route.php
Template
<?php
use Illuminate\Support\Facades\Route;
use Modules\{Module}\Http\Controllers\{Model}Controller;
// CRUD routes
Route::apiResource('{resources}', {Model}Controller::class);
// Toggle status
Route::put('{resources}/enable/{id}', [{Model}Controller::class, 'enable']);
// Export
Route::get('{resource}/export', [{Model}Controller::class, 'export']);
// Import
Route::post('{resource}/import', [{Model}Controller::class, 'import']);
// Restore from trash
Route::put('{resources}/restore/{id}', [{Model}Controller::class, 'restore']);
Route Naming
| Method | URI | Action |
|---|---|---|
| GET | /{resources} |
index |
| POST | /{resources} |
store |
| GET | /{resources}/{id} |
show |
| PUT | /{resources}/{id} |
update |
| DELETE | /{resources}/{id} |
destroy |
| PUT | /{resources}/enable/{id} |
enable |
| GET | /{resource}/export |
export |
| POST | /{resource}/import |
import |
Permission Middleware
路由自动被 PermissionGate 中间件保护。
跳过权限检查:
Route::get('public/data', [Controller::class, 'data'])
->withoutMiddleware([PermissionGate::class]);
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 First seen · 62 lines · 10 tokens per session scan A 699411206472
routes is a skill published in the GitHub repository JaguarJack/catch-admin (930 stars, last pushed 7d ago), licensed Apache-2.0. It adds 10 tokens to every session and 348 once invoked, about $0.0001 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.
Other skills, from other repositories
owl-admin-devtools-generator
A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.
owl-admin-app-dev
Use this skill when developing an application that installed slowlyo/owl-admin, especially backend CRUD, menus, permissions, controllers, services, routes, config/admin.php, app/Admin, helper functions, settings(), adminpages(), AdminPipeline, upload/file preview issues, route conflicts, custom login/menu examples, or…
owl-admin-ops-commands
Use this skill for Owl Admin installation, publishing assets, upgrades, diagnostics, database inspection, menu maintenance, user creation, password reset, route generation, IDE helper, admin:publish, admin:install, admin:update, admin:doctor, admin:db, admin:menu, admin:create-user, or deployment troubleshooting.
owl-admin-extension-module
A development guide for Owl Admin extensions and modules. An extension adds optional functionality, while a module groups related routes, settings, menus, and permissions.
php-expert
Expert-level PHP development with PHP 8+, Laravel, Composer, and modern best practices. Use when the user mentions Laravel, Composer, Symfony, PHPUnit, or PSR standards, or when the task involves PHP 8+ Features, Object-Oriented PHP, Modern PHP, or Constructor Property Promotion.
laravel-best-practices
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization…