Agent skill

Controller

by JaguarJack in JaguarJack/catch-admin

Generate CRUD controller for CatchAdmin module. An agent skill from JaguarJack/catch-admin.

Apache-2.0Auto-check passedDocuments & Office

Install Controller

skills CLI
$ npx skills add JaguarJack/catch-admin --skill controller -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JaguarJack/catch-admin controller --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JaguarJack/catch-admin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/04-controller .claude/skills/controller && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
controller
GitHub stars
935
Token cost
~523 tokens
SKILL.md length
30 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate CRUD controller for CatchAdmin module. An agent skill from JaguarJack/catch-admin.

  • Documents & Office work in your project
  • SKILL.md covers File Location, Template and CatchController Methods
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Controller is an agent skill from JaguarJack/catch-admin. Generate CRUD controller for CatchAdmin module.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. It works with Vue.js and Laravel. The repository describes itself as: CatchAdmin 是一个功能强大、易于扩展的现代化 PHP 后台管理系统。它采用前后端分离架构,CatchAdmin 集成了 Token 鉴权、权限管理、动态路由、动态表格、分页封装、资源权限、上传下载、代码生成器支持一键导出导入,数据回收站,附件管理的等等一系列实用的开发功能的模块化框架。官网地址:. The licence is Apache-2.0.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/controller”

What it can do on your machine

Read from SKILL.md and the folder at commit e83d5aa. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are php).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Controller loads about 523 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 30 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~523

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from JaguarJack/catch-admin at commit e83d5aa, republished under its Apache-2.0 licence (© JaguarJack). 30 words, ~523 tokens.

Download SKILL.mdSave it as .claude/skills/controller/SKILL.md (or your agent's skills folder).
name
controller
description
Generate CRUD controller for CatchAdmin module.

Step 4: Generate Controller

创建 CRUD 控制器。

File Location

modules/{Module}/Http/Controllers/{Model}Controller.php

Template

php
<?php

namespace Modules\{Module}\Http\Controllers;

use Catch\Base\CatchController as Controller;
use Illuminate\Http\Request;
use Modules\{Module}\Http\Requests\{Model}Request;
use Modules\{Module}\Models\{Model};
use Modules\{Module}\Import\{Model} as {Model}Import;

class {Model}Controller extends Controller
{
    public function __construct(
        protected readonly {Model} $model
    ) {}

    /**
     * List with pagination
     */
    public function index()
    {
        return $this->model->getList();
    }

    /**
     * Create
     */
    public function store({Model}Request $request)
    {
        return $this->model->storeBy($request->all());
    }

    /**
     * Show
     */
    public function show($id): mixed
    {
        return $this->model->firstBy($id);
    }

    /**
     * Update
     */
    public function update($id, {Model}Request $request): mixed
    {
        return $this->model->updateBy($id, $request->all());
    }

    /**
     * Delete
     */
    public function destroy($id)
    {
        return $this->model->deleteBy($id);
    }

    /**
     * Toggle status
     */
    public function enable($id)
    {
        return $this->model->toggleBy($id);
    }

    /**
     * Export
     */
    public function export(): mixed
    {
        return {Model}::query()
            ->select('id', 'name', 'created_at')
            ->get()
            ->download(['ID', 'Name', 'Created At']);
    }

    /**
     * Import
     */
    public function import(Request $request, {Model}Import $import)
    {
        return $import->import($request->file('file'));
    }
}

CatchController Methods

MethodPurpose
getList()分页列表 (使用 $searchable)
storeBy()创建记录 (使用 $form)
firstBy()获取单条
updateBy()更新记录
deleteBy()软删除
toggleBy()切换状态

© JaguarJack, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/04-controller of JaguarJack/catch-admin.

Open the folder on GitHubat commit e83d5aa

Compare with similar skills

Controller next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Controller compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Controller this skillJaguarJack/catch-admin935—~523Automated safety check: PassApache-2.0
Livewire Developmentcoollabsio/coolify63k—~964Automated safety check: PassMIT
Livewire Developmentyungifez/skuul4091 repos~1.9kAutomated safety check: PassMIT
Medialibrary Developmentgdarko/laravel-vue-starter1453 repos~880Automated safety check: PassMIT
Wayfinder Developmentslimani-dev/muraqib1281 repos~622Automated safety check: PassMIT
Configure Nightwatchtrypostit/trypost676—~2.7kAutomated safety check: PassMIT

Similar skills

  • Livewire Development

    coollabsio/coolify

    A skill your agent uses for any task or question involving Livewire.

    63k GitHub stars~964 tokensUpdated today
    Backend & APIsAuto-check passed
  • Livewire Development

    yungifez/skuul

    A skill your agent uses for any task or question involving Livewire.

    409 GitHub starsUsed in 1 repo~1.9k tokens
    Backend & APIsAuto-check passed
  • Medialibrary Development

    gdarko/laravel-vue-starter

    Build and work with spatie/laravel-medialibrary features including associating files with Eloquent models, defining media collections and conversions, generating responsive images, and retrieving…

    145 GitHub starsUsed in 3 repos~880 tokens
    Backend & APIsAuto-check passed
  • Wayfinder Development

    slimani-dev/muraqib

    A skill your agent uses for Laravel Wayfinder which auto-generates typed functions for Laravel controllers and routes.

    128 GitHub starsUsed in 1 repo~622 tokens
    Backend & APIsAuto-check passed
  • Configure Nightwatch

    trypostit/trypost

    Configures Laravel Nightwatch data collection, sampling rates, filtering rules, and redaction policies.

    676 GitHub stars~2.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Passport Development

    trypostit/trypost

    Develops OAuth2 API authentication with Laravel Passport. An agent skill from trypostit/trypost.

    676 GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed

More from JaguarJack/catch-admin

All 10 skills in this repo
  • Curd

    JaguarJack/catch-admin

    Generates complete CRUD module from database table definition.

    935 GitHub stars~3.3k tokensUpdated 21 days ago
    Auto-check passed
  • Migration

    JaguarJack/catch-admin

    Generate database migration file for CatchAdmin module. An agent skill from JaguarJack/catch-admin.

    935 GitHub stars~474 tokensUpdated 21 days ago
    Auto-check passed
  • Model

    JaguarJack/catch-admin

    Generate Eloquent model for CatchAdmin module with full CatchModel features.

    935 GitHub stars~1.7k tokensUpdated 21 days ago
    Auto-check passed
  • Parse Table

    JaguarJack/catch-admin

    Parse table definition to extract module name, model name, table name, and field definitions.

    935 GitHub stars~520 tokensUpdated 21 days ago
    Auto-check passed
  • Vue Pages

    JaguarJack/catch-admin

    Generate Vue frontend pages using catch-table for CatchAdmin module with full component features.

    935 GitHub stars~2.6k tokensUpdated 21 days ago
    Auto-check passed
  • Export

    JaguarJack/catch-admin

    Generate Excel export class for CatchAdmin module. An agent skill from JaguarJack/catch-admin.

    935 GitHub stars~321 tokensUpdated 21 days ago
    Auto-check passed

Works with

Questions about Controller

What does Controller do?

Generate CRUD controller for CatchAdmin module. An agent skill from JaguarJack/catch-admin. Controller is an agent skill from JaguarJack/catch-admin. Generate CRUD controller for CatchAdmin module.

When should I use Controller?

Controller fits situations like: documents & Office work in your project.

How do I install Controller in Claude Code?

Run `npx skills add JaguarJack/catch-admin --skill controller -a claude-code`. Or copy the skill folder (.claude/skills/04-controller in JaguarJack/catch-admin) into .claude/skills/controller in your project. Claude Code loads it when a task matches its description.

How do I install Controller in Codex?

Run `npx skills add JaguarJack/catch-admin --skill controller -a codex`. Or copy the skill folder (.claude/skills/04-controller in JaguarJack/catch-admin) into .agents/skills/controller in your project. Codex loads it when a task matches its description.

Can I use Controller in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JaguarJack/catch-admin --skill controller -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/controller, .gemini/skills/controller, .github/skills/controller and .opencode/skills/controller in your project.

What does Controller need to run?

SKILL.md names no scripts, command-line tools or credentials: Controller is instructions for the agent only.

Does Controller access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Controller safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Controller use?

Controller is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Controller use?

About 523 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Controller?

Skills that share tags, products or a category with Controller: Livewire Development (coollabsio/coolify, 63k stars), Livewire Development (yungifez/skuul, 409 stars), Medialibrary Development (gdarko/laravel-vue-starter, 145 stars) and Wayfinder Development (slimani-dev/muraqib, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Controller?

JaguarJack (a GitHub user) maintains it in JaguarJack/catch-admin, which has 935 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 16, 2026.

Source: JaguarJack/catch-admin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.