parse-table

A table-definition parser that reads a database table and its fields, then identifies the module and model names needed for CRUD code generation.

In plain words
What is it for?
Use it as the first step when turning a table description into a CRUD module. It handles common aliases such as primary key, foreign key, integer, and boolean.
Why use it?
It removes the manual work of interpreting table names, field types, required values, and relationships. It also asks for clarification when the table name is missing instead of guessing.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jaguarjack/catch-admin/01-parse-table
Any agent
npx skills add JaguarJack/catch-admin --skill 01-parse-table
Clone the repo
git clone --depth 1 https://github.com/JaguarJack/catch-admin

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00741
Opus 5 $0.00014 $0.00370
Sonnet 5 $0.00005 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 2d ago against content hash 84903bce97b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

parse-table 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 2d 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/01-parse-table/SKILL.md · 73 lines

What it actually says

Step 1: Parse Table Definition

从用户输入的表定义中提取关键信息。

Input Format

Table: products
Fields:
- id (primary key)
- name (string, 100, required)
- category_id (foreign key -> categories)
- description (text, nullable)
- price (decimal 10,2, required)
- stock (integer, default 0)
- status (tinyint, default 1)

输入容错与默认推断

  • 允许使用以下别名:Table/表名/表Module/模块Model/模型Fields/字段
  • 允许省略 Fields: 标题,仅用 - 列表表示字段。
  • 若只提供 table,则按命名规则推断 {Module}{Model}
  • 若用户显式提供 Module/Model,优先使用用户输入(覆盖推断)。
  • 缺少 table 时必须先向用户确认,不进行推断生成。

字段解析补充

  • required 表示 nullable = falsenullable 表示可空;两者都未出现时默认不可空。
  • 支持别名:int/integerbool/booleanpk/primary keyfk/foreign key
  • foreign key -> xxx 解析为 foreignKey 类型,默认 index()

冲突处理优先级

  1. 用户显式指定(Module/Model/table/字段规则)
  2. 规则推断(命名规则与默认字段规则)
  3. 兜底:要求用户澄清后再继续

Output Variables

Variable Rule Example
{table} snake_case plural products
{Model} PascalCase singular Product
{Module} PascalCase Product
{module} snake_case product
{resources} kebab-case plural products
{resource} kebab-case singular product

Field Type Parsing

Input Type Length Required Default FK Target
string, 100 string 100 no null -
string, 100, required string 100 yes null -
integer, default 0 integer - no 0 -
foreign key -> categories foreignKey - no 0 categories
decimal 10,2 decimal 10,2 no null -
tinyint, default 1 tinyint - no 1 -
text, nullable text - no null -

Naming Conventions

  • Module: 通常与 Model 同名,除非用户明确指定
  • Table: 复数形式 (products, order_items)
  • Model: 单数形式 (Product, OrderItem)
  • Route: kebab-case (products, order-items)
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. 2d ago First seen · 73 lines · 27 tokens per session scan A 84903bce97b8

Subscribe to this mod's changes

parse-table is a skill published in the GitHub repository JaguarJack/catch-admin (928 stars, last pushed 3d ago), licensed Apache-2.0. It adds 27 tokens to every session and 741 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-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-devtools-generator

Use this skill for Owl Admin development tools, code generator, dynamic API templates, relationships, visual pages, generated CRUD code, app/ApiTemplates, Support/Apis, Support/CodeGenerator, Controllers/DevTools, or questions about “代码生成器”, “动态 API”, “API 模板”, “关系管理”, “可视化页面”, and “生成 CRUD”.

slowlyo/owl-admin · 82 tokens

owl-admin-frontend-assets

Use this skill for Owl Admin frontend assets, admin-views, public/admin-assets, resource publishing, custom React frontend work, amis-editor frontend, layout/theme frontend files, pnpm commands, or questions about “前端资源”, “admin-views”, “自定义前端”, “发布 assets”, “前端源码”, and “打包后台前端”.

slowlyo/owl-admin · 80 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-amis-page

Use this skill for Owl Admin pages built with amis, including CRUD pages, forms, tables, detail pages, filters, toolbar actions, iframe pages, custom page schemas, and renderer usage. Trigger when the user mentions amis, schema, Renderers, 后台页面, 列表, 表单, 详情, 筛选, 操作按钮, or admin:make-page.

slowlyo/owl-admin · 84 tokens

owl-admin-extension-module

Use this skill for Owl Admin extensions, modules, multi-admin setup, extension service providers, module routes, module config, menus, permissions, admin-module:init, or extensions under the configured extension directory. Trigger on 扩展, 插件, 多模块, module, extension, ServiceProvider, 菜单导入, or 模块后台.

slowlyo/owl-admin · 75 tokens