catch-admin: Skill for Claude Code

.claude/skills/06-routes/SKILL.md

routes is a skill for Claude Code from JaguarJack/catch-admin. It costs 10 tokens per session (348 once invoked), scanned A, original, Apache-2.0.

A route configuration for a CatchAdmin module in Laravel, a PHP web framework. It defines the URLs and actions for creating, viewing, updating, deleting, importing, exporting, restoring, and enabling records.

In plain words
What is it for?
Use it when adding API routes to a CatchAdmin module. It covers standard CRUD operations, status changes, Excel import and export, and restoring deleted records.
Why use it?
It removes the need to write the module's API endpoints by hand. It also shows which HTTP request method and URL each action uses.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/JaguarJack/catch-admin/v5/.claude/skills/06-routes/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JaguarJack/catch-admin

Made for: Claude Code.

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 routes

README.md
[![agentmods](https://agentmods.dev/badge/skills/jaguarjack/catch-admin/06-routes.svg)](https://agentmods.dev/skills/jaguarjack/catch-admin/06-routes)
Your own site
<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>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 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.00010 $0.00348
Opus 5 $0.00005 $0.00174
Sonnet 5 $0.00002 $0.00070
Haiku 4.5 $0.00001 $0.00035

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

Security

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.

.claude/skills/06-routes/SKILL.md · 62 lines

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]);
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. 7d ago First seen · 62 lines · 10 tokens per session scan A 699411206472

Subscribe to this mod's changes

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.

Related

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.

slowlyo/owl-admin · 82 tokens

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…

slowlyo/owl-admin · 114 tokens

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.

slowlyo/owl-admin · 71 tokens

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.

slowlyo/owl-admin · 75 tokens

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.

personamanagmentlayer/pcl · 64 tokens

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…

gdarko/laravel-vue-starter · 114 tokens