neo-admin CLAUDE.md

neo-admin CLAUDE.md is an instructions file for coding agents from neoshopcn/neo-admin. It costs 4,123 tokens per session, scanned A, original, MIT.

Project instructions for Neo Admin, a Laravel and Vue-based administration system. They describe its server-rendered pages, database setup, directory structure, permissions, and development rules.

In plain words
What is it for?
Use them when adding or modifying administration modules, CRUD operations, permissions, two-factor authentication, configuration handling, or the system's Laravel, Blade, and Vue code.
Why use it?
They help an agent make changes that fit the existing architecture, such as keeping Vue for page interactions instead of turning the system into a single-page app.

Instructions file

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 instructions/neoshopcn/neo-admin/claude-md
Clone the repo
git clone --depth 1 https://github.com/neoshopcn/neo-admin

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 neo-admin CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neoshopcn/neo-admin/claude-md.svg)](https://agentmods.dev/instructions/neoshopcn/neo-admin/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/neoshopcn/neo-admin/claude-md"><img src="https://agentmods.dev/badge/instructions/neoshopcn/neo-admin/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,123 This file is loaded in full into every session.
When invoked 4,123 The same file — it is already loaded in full.
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.1 $0.04123 $0.04123
Opus 5 $0.02062 $0.02062
Sonnet 5 $0.00825 $0.00825
Haiku 4.5 $0.00412 $0.00412

Measured 5d ago against content hash fc718af5e220, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

neo-admin CLAUDE.md 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 5d 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.md · 471 lines

How it starts

The opening of the file, as written. The whole thing — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Neo Admin 项目开发指南:架构、目录约定与运行时规范。


项目简介

Neo Admin 是一套面向可治理、可审计、可扩展场景的后台管理系统:

  • 后端:PHP 8.2+,Laravel 12
  • 前端:Vue 3(IIFE)、Element Plus、Axios
  • 数据库:MySQL 5.7+(示例配置)
  • 架构:Laravel + Blade 服务端渲染为主,Vue 做页面交互增强(非 SPA)
  • 构建:不使用 Vite / Webpack / npm 构建链;静态资源本地化

核心原则

  1. 保持 Laravel + Blade 架构 — Vue 仅用于交互增强,不构建 SPA
  2. 轻量、低依赖 — 禁止引入 npm 构建、CDN 外链、.vue 单文件组件
  3. 标准 CRUD + 权限 + 统一响应 — 后台模块遵循固定分层
  4. 配置中心统一读取 — 动态配置禁止散落查表或硬编码密钥
  5. 最小改动 — 只改任务相关代码,不批量重构、不修改 vendor

目录结构

neo-admin/
├── app/
│   ├── Console/Commands/Admin/     # 运维命令(密码、2FA 等)
│   ├── Http/
│   │   ├── Controllers/Admin/
│   │   │   ├── Api/                # JSON API(CRUD)
│   │   │   ├── Auth/               # 登录、2FA
│   │   │   ├── Content/            # 页面 Controller(__invoke)
│   │   │   └── Concerns/           # ApiResponse、AppliesListFilters
│   │   └── Middleware/             # admin.auth / admin.perm / admin.log
│   ├── Models/                     # Eloquent 模型
│   │   └── Concerns/RecyclesToBin  # 回收站 Trait
│   ├── Services/                   # 业务服务(2FA、回收站、验证码等)
│   ├── Support/                    # ConfigCenter、AdminPermission 等
│   └── helpers.php                 # config_center() 助手函数
├── bootstrap/app.php               # 路由与中间件注册
├── config/
│   ├── admin.php                   # 后台主题、品牌、侧栏等
│   └── upload.php                  # 上传场景配置
├── database/
│   ├── migrations/
│   └── seeders/Admin/              # 菜单、权限、演示数据
├── docs/                           # 回收站、菜单 Seeder 等专题文档
├── public/
│   ├── assets/admin-static/        # Vue、Element Plus、Jodit、ECharts 等
│   └── js/                         # neo-table、neo-upload、neo-richtext 等
├── resources/views/admin/          # Blade 模板
│   ├── layouts/content.blade.php   # 内容页布局(iframe 内页)
│   ├── shell.blade.php             # 后台外壳(侧栏 + iframe)
│   └── content/                    # 各业务页面
├── routes/
│   ├── admin.php                   # ★ 所有后台路由(唯一入口)
│   └── web.php                     # 非 admin 路由(勿写后台业务)

Read the full file on GitHub · 471 lines

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. 5d ago First seen · 471 lines · 4,123 tokens per session scan A fc718af5e220

Subscribe to this mod's changes

neo-admin CLAUDE.md is an instructions file published in the GitHub repository neoshopcn/neo-admin (12 stars, last pushed 2mo ago), licensed MIT. It adds 4,123 tokens to every session, about $0.0206 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.