owl-admin-app-dev

owl-admin-app-dev is a skill for Claude Code, Codex from slowlyo/owl-admin. It costs 114 tokens per session (899 once invoked), scanned A, original, MIT.

A development guide for applications built with Owl Admin, a Laravel-based administration system. It covers backend admin features such as CRUD, menus, permissions, controllers, and services.

In plain words
What is it for?
Use it to create or fix admin pages, data management screens, routes, menus, permissions, settings, uploads, and related backend logic.
Why use it?
It helps an agent make changes that fit the application’s existing admin patterns and avoid incorrect assumptions about its files and setup.

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/slowlyo/owl-admin/owl-admin-app-dev
Any agent
npx skills add slowlyo/owl-admin --skill owl-admin-app-dev
Clone the repo
git clone --depth 1 https://github.com/slowlyo/owl-admin

Made for: Claude Code, Codex.

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 owl-admin-app-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/slowlyo/owl-admin/owl-admin-app-dev.svg)](https://agentmods.dev/skills/slowlyo/owl-admin/owl-admin-app-dev)
Your own site
<a href="https://agentmods.dev/skills/slowlyo/owl-admin/owl-admin-app-dev"><img src="https://agentmods.dev/badge/skills/slowlyo/owl-admin/owl-admin-app-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 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.00114 $0.00899
Opus 5 $0.00057 $0.00449
Sonnet 5 $0.00023 $0.00180
Haiku 4.5 $0.00011 $0.00090

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

Security

Grade A, and why

owl-admin-app-dev 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 4d 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.

resources/ai/skills/owl-admin-app-dev/SKILL.md · 86 lines

What it actually says

Owl Admin App Dev

用于安装了 slowlyo/owl-admin 的 Laravel 项目开发,覆盖后台业务、CRUD、核心助手、系统设置和常见问题。

参考索引

需要完整路径和命令时,读取 ../_references/owl-admin-dev-index.md

需要按开发文档主题选择 skill 时,读取 ../_references/owl-admin-docs-map.md

工作入口

先确认当前目录是业务项目根目录,再读取:

  • config/admin.php
  • app/Admin
  • routes/admin.php
  • composer.json

如果这些文件不存在,先判断 Owl Admin 是否已安装,不要直接假设目录结构。

开发原则

  • 页面和接口优先沿用 Owl Admin 的控制器、服务层、菜单和权限体系。
  • CRUD 优先查已有 AdminController 和业务 Service 写法。
  • 新增、查询、编辑、删除、导出和 Service 重写都按 CRUD 文档拆分职责。
  • 后台页面优先使用后端 amis schema,不要默认新建前端工程页面。
  • 框架原理、助手函数、组件管道、系统设置、动态页面也归到当前后台业务上下文处理。
  • 只修改和任务直接相关的文件。
  • 不主动执行 git commit、tag、push。
  • 不编译 vendor/slowlyo/owl-admin/admin-views

常用路径

  • app/Admin/Controllers
  • app/Admin/Services
  • app/Admin/routes.php
  • app/Admin/pages.php
  • routes/admin.php
  • config/admin.php
  • app/Admin/bootstrap.php
  • app/ApiTemplates
  • lang/zh_CN

核心能力

  • amis():首选组件创建入口。
  • settings():管理系统设置,支持缓存和模块设置。
  • admin_pages():读取动态页面 schema。
  • AdminPipeline:在组件渲染前统一调整组件。
  • Admin::menu()->add():在 bootstrap 中动态添加菜单。
  • file_upload_handle() / file_upload_handle_multi():处理文件和图片回显。

示例和 FAQ

  • Blade iframe 页面优先使用 php artisan admin:make-page
  • 条件组合查询使用 ConditionBuilderScopeTrait 和 ConditionBuilder 组件。
  • 自定义登录页覆盖 AuthController::loginPage() 和登录路由。
  • 自定义用户菜单覆盖 AuthController::currentUser()current-user 路由。
  • Excel 导入通常在列表工具栏加导入弹窗,再实现上传后的导入接口。
  • 模型关联展示需要 Service 查询预加载关联,组件字段使用 relation.field
  • fetchFailed 先检查字段是否与 amis 关键字段冲突,如 statusno
  • PHP 无法读取前端运行时值,动态选项应通过 API 获取。
  • 自定义路由不生效时,优先检查 resource 路由顺序和 routes/admin.php 是否被生成器覆盖。
  • 中文配置检查 config/app.phplocale 和语言文件发布状态。

常用命令

php artisan admin:doctor
php artisan admin:menu list
php artisan admin:make-page PageName --title=页面标题 --menu
php artisan route:list

验证

  • PHP 文件改动后执行 php -l path/to/file.php
  • 后台不可用时执行 php artisan admin:doctor
  • 需要确认路由时执行 php artisan route:list
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. 4d ago First seen · 86 lines · 114 tokens per session scan A 42a258d7e382

Subscribe to this mod's changes

owl-admin-app-dev is a skill published in the GitHub repository slowlyo/owl-admin (616 stars, last pushed 4d ago), licensed MIT. It adds 114 tokens to every session and 899 once invoked, about $0.0006 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.