neo-admin: Instructions file for Claude Code

CLAUDE.md

neo-admin CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is neoshopcn/neo-admin's own configuration. It tells Claude Code how to work on neo-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 neo-admin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to neoshopcn/neo-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/neoshopcn/neo-admin/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/neoshopcn/neo-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 neo-admin CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neoshopcn/neo-admin/claude-md/github.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/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 neo-admin CLAUDE.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.01649 $0.01649
Sonnet 5.5 $0.00825 $0.00825
Haiku 4.5 $0.00412 $0.00412

Measured 2mo ago against content hash fc718af5e220, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.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. 2mo 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 (13 stars, last pushed 4mo ago), licensed MIT. It adds 4,123 tokens to every session, about $0.0165 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

neo-admin CLAUDE.md compared with instructions from other repositories

neo-admin CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neo-admin CLAUDE.mdneoshopcn/neo-adminInstructions file134mo agoMITA4,123Claude Code
data-scientist copilot-instructions.mdrealnghon/data-scientistInstructions file24mo agoMITA373GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot