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/02-migration/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/02-migration)<a href="https://agentmods.dev/skills/jaguarjack/catch-admin/02-migration"><img src="https://agentmods.dev/badge/skills/jaguarjack/catch-admin/02-migration/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/jaguarjack/catch-admin/02-migration"><img src="https://agentmods.dev/badge/skills/jaguarjack/catch-admin/02-migration.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.00011 | $0.00449 |
| Opus 5.5 | $0.00004 | $0.00180 |
| Sonnet 5.5 | $0.00002 | $0.00090 |
| Haiku 4.5 | $0.00001 | $0.00045 |
Grade A, and why
migration 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 2mo 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 2: Generate Migration
创建数据库迁移文件。
File Location
modules/{Module}/database/migrations/{timestamp}_create_{table}_table.php
Template
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('{table}', function (Blueprint $table) {
$table->id();
// Business fields (generated from definition)
// CatchAdmin standard fields
$table->unsignedInteger('creator_id')->default(0);
$table->unsignedInteger('created_at')->default(0);
$table->unsignedInteger('updated_at')->default(0);
$table->unsignedInteger('deleted_at')->default(0);
// Indexes
$table->index(['status', 'deleted_at']);
});
}
public function down(): void
{
Schema::dropIfExists('{table}');
}
};
Field Type Mapping
| Type | Migration Code |
|---|---|
| string(n) | $table->string('name', n) |
| text | $table->text('description')->nullable() |
| integer | $table->unsignedInteger('count')->default(0) |
| decimal(m,n) | $table->decimal('price', m, n) |
| tinyint | $table->tinyInteger('status')->default(1) |
| foreign_key | $table->unsignedBigInteger('category_id')->default(0)->index() |
| date | $table->date('birth_date')->nullable() |
| datetime | $table->dateTime('published_at')->nullable() |
| json | $table->json('options')->nullable() |
Important
- CatchAdmin 使用 unsigned integer 作为时间戳,不使用 Laravel 默认的
timestamps() - 软删除使用
deleted_atunsigned integer,不使用softDeletes() - 外键字段需要添加
index()
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.
- 2mo ago First seen · 71 lines · 11 tokens per session scan A 2948f5429d71
migration is a skill published in the GitHub repository JaguarJack/catch-admin (940 stars, last pushed 10d ago), licensed Apache-2.0. It adds 11 tokens to every session and 449 once invoked, about $0.0000 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.
migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| migrationJaguarJack/catch-admin | Skill | 940 | 10d ago | Apache-2.0 | A | 11 | Claude Code |
| owl-admin-app-devslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 114 | Claude Code, Codex |
| owl-admin-devtools-generatorslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 82 | Claude Code, Codex |
| owl-admin-ops-commandsslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 71 | Claude Code, Codex |
| owl-admin-extension-moduleslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 75 | Claude Code, Codex |
| owl-admin-frontend-assetsslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 80 | Claude Code, Codex |
| owl-admin-amis-pageslowlyo/owl-admin | Skill | 620 | 3d ago | MIT | A | 84 | Claude Code, Codex |