catch-admin: Skill for Claude Code

.claude/skills/07-export/SKILL.md

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

An Excel export-class generator for a CatchAdmin module. It creates code that reads selected database records and returns them as a downloadable spreadsheet.

In plain words
What is it for?
Use it to export module records with headings such as ID, name, email, status, and creation date, including values from related records when configured.
Why use it?
It removes the need to manually select fields, label spreadsheet columns, and format related data for export.

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/07-export/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 export

README.md
[![agentmods](https://agentmods.dev/badge/skills/jaguarjack/catch-admin/07-export/github.svg)](https://agentmods.dev/skills/jaguarjack/catch-admin/07-export)
Your own site
<a href="https://agentmods.dev/skills/jaguarjack/catch-admin/07-export"><img src="https://agentmods.dev/badge/skills/jaguarjack/catch-admin/07-export/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.

agentmods 80×15 button for export

Your own site · 80×15
<a href="https://agentmods.dev/skills/jaguarjack/catch-admin/07-export"><img src="https://agentmods.dev/badge/skills/jaguarjack/catch-admin/07-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 332 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00011 $0.00332
Opus 5.5 $0.00004 $0.00133
Sonnet 5.5 $0.00002 $0.00066
Haiku 4.5 $0.00001 $0.00033

Measured 2mo ago against content hash f741b4739e64, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

export 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.

.claude/skills/07-export/SKILL.md · 80 lines

What it actually says

Step 7: Generate Export Class

创建数据导出类。

File Location

modules/{Module}/Export/{Model}.php

Template

<?php

namespace Modules\{Module}\Export;

use Catch\Support\Excel\Export;

class {Model} extends Export
{
    protected array $header = [
        'ID', 'Name', 'Created At'
    ];

    public function array(): array
    {
        return \Modules\{Module}\Models\{Model}::query()
            ->select('id', 'name', 'created_at')
            ->get()
            ->toArray();
    }
}

Header Mapping

Field Header
id ID
name Name
email Email
status Status
created_at Created At

With Relationships

public function array(): array
{
    return {Model}::query()
        ->with('category')
        ->get()
        ->map(fn ($item) => [
            $item->id,
            $item->name,
            $item->category?->name ?? '-',
            $item->created_at,
        ])
        ->toArray();
}

Controller Usage

public function export(): mixed
{
    return {Model}::query()
        ->select('id', 'name', 'created_at')
        ->get()
        ->download(['ID', 'Name', 'Created At']);
}
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. 2mo ago First seen · 80 lines · 11 tokens per session scan A f741b4739e64

Subscribe to this mod's changes

export 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 332 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.

Related

export compared with skills from other repositories

export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exportJaguarJack/catch-adminSkill94010d agoApache-2.0A11Claude Code
owl-admin-app-devslowlyo/owl-adminSkill6203d agoMITA114Claude Code, Codex
owl-admin-devtools-generatorslowlyo/owl-adminSkill6203d agoMITA82Claude Code, Codex
owl-admin-ops-commandsslowlyo/owl-adminSkill6203d agoMITA71Claude Code, Codex
owl-admin-extension-moduleslowlyo/owl-adminSkill6203d agoMITA75Claude Code, Codex
owl-admin-frontend-assetsslowlyo/owl-adminSkill6203d agoMITA80Claude Code, Codex
owl-admin-amis-pageslowlyo/owl-adminSkill6203d agoMITA84Claude Code, Codex