Agent skill

Import

by JaguarJack in JaguarJack/catch-admin

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

Apache-2.0Auto-check passedDocuments & Office

Install Import

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

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

GitHub CLI
$ gh skill install JaguarJack/catch-admin import --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/08-import .claude/skills/import && 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
import
GitHub stars
935
Token cost
~363 tokens
SKILL.md length
28 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Tasks that involve Excel spreadsheets
  • SKILL.md covers File Location, Template, Column Mapping and With Validation, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Import is an agent skill from JaguarJack/catch-admin. Generate Excel import class for CatchAdmin module.

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

When your agent uses it

  • Tasks that involve Excel spreadsheets

Example prompts

  • “/import”

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

Import loads about 363 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 28 words of instructions outside code blocks.

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

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). 28 words, ~363 tokens.

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

Step 8: Generate Import Class

创建数据导入类。

File Location

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

Template

php
<?php

namespace Modules\{Module}\Import;

use Catch\Support\Excel\Import;
use Illuminate\Support\Collection;
use Modules\{Module}\Models\{Model};

class {Model} extends Import
{
    public function collection(Collection $rows): void
    {
        // Skip header row
        $rows->skip(1)->each(function ($row) {
            {Model}::create([
                'name' => $row[0],
                // map other columns
            ]);
        });
    }
}

Column Mapping

Excel 列索引从 0 开始:

  • Column A = $row[0]
  • Column B = $row[1]
  • Column C = $row[2]

With Validation

php
public function collection(Collection $rows): void
{
    $rows->skip(1)->each(function ($row, $index) {
        $data = [
            'name' => $row[0] ?? null,
            'email' => $row[1] ?? null,
        ];

        $validator = Validator::make($data, [
            'name' => 'required|string|max:100',
            'email' => 'required|email',
        ]);

        if ($validator->fails()) {
            return; // Skip invalid row
        }

        {Model}::create($data);
    });
}

Controller Usage

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

© 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/08-import of JaguarJack/catch-admin.

Open the folder on GitHubat commit e83d5aa

Compare with similar skills

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

Import compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Import this skillJaguarJack/catch-admin935—~363Automated safety check: PassApache-2.0
Minimax XLSXpoco-ai/poco-claw1.4k6 repos~2.1kAutomated safety check: PassMIT
XLSXrvdbreemen/OTGW-firmware20735 repos~2.9kAutomated safety check: PassProprietary
PipesHub Excel Spreadsheet Builderpipeshub-ai/pipeshub-ai3.8k—~1.8kAutomated safety check: PassApache-2.0
Office File Processxstongxue/best-skills3k—~1.8kAutomated safety check: PassProprietary
Toxynissl-lab/toxy463—~1.7kAutomated safety check: PassApache-2.0

Similar skills

  • Minimax XLSX

    poco-ai/poco-claw

    Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv).

    1.4k GitHub starsUsed in 6 repos~2.1k tokens
    Documents & OfficeAuto-check passed
  • XLSX

    rvdbreemen/OTGW-firmware

    Use this skill any time a spreadsheet file is the primary input or output.

    207 GitHub starsUsed in 35 repos~2.9k tokens
    Documents & OfficeAuto-check passed
  • PipesHub Excel Spreadsheet Builder

    pipeshub-ai/pipeshub-ai

    Creates and edits .xlsx workbooks with real Excel formulas rather than hardcoded computed values, defaulting to exceljs in TypeScript with a static formula-safety check.

    3.8k GitHub stars~1.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Office File Process

    xstongxue/best-skills

    处理 Office 文档的一站式 skill:Word(.doc/.docx/.dotx)、Excel(.xls/.xlsx/.xlsm/.csv)、PowerPoint(.ppt/.pptx/.potx) 的创建、读取、编辑、提取、转换、校验。触发:『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』、.doc 老格式打不开、生成/编辑 Word…

    3k GitHub stars~1.8k tokensUpdated 25 days ago
    Documents & OfficeAuto-check passed
  • Toxy

    nissl-lab/toxy

    A skill your agent uses whenever the user wants to extract text or data from documents using Toxy (the .NET text extraction library).

    463 GitHub stars~1.7k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Documents

    zhongkaifu/TensorSharp

    Read and write real documents on the device - PDF, XLSX, DOCX, PPTX and CSV.

    557 GitHub stars~4.2k tokensUpdated today
    Documents & OfficeAuto-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 22 days ago
    Auto-check passed
  • Controller

    JaguarJack/catch-admin

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

    935 GitHub stars~523 tokensUpdated 22 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 22 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 22 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 22 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 22 days ago
    Auto-check passed

Questions about Import

What does Import do?

Generate Excel import class for CatchAdmin module. An agent skill from JaguarJack/catch-admin. Import is an agent skill from JaguarJack/catch-admin. Generate Excel import class for CatchAdmin module.

When should I use Import?

Import fits situations like: tasks that involve Excel spreadsheets.

How do I install Import in Claude Code?

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

How do I install Import in Codex?

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

Can I use Import 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 import -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/import, .gemini/skills/import, .github/skills/import and .opencode/skills/import in your project.

What does Import need to run?

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

Does Import 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 Import 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 Import use?

Import 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 Import use?

About 363 tokens (SKILL.md is roughly 1.5k 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 Import?

Skills that share tags, products or a category with Import: Minimax XLSX (poco-ai/poco-claw, 1.4k stars), XLSX (rvdbreemen/OTGW-firmware, 207 stars), PipesHub Excel Spreadsheet Builder (pipeshub-ai/pipeshub-ai, 3.8k stars) and Office File Process (xstongxue/best-skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Import?

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.