Borrowing it
Nothing to install: this file belongs to gvray/gvray-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.
curl -O https://raw.githubusercontent.com/gvray/gvray-admin/main/CLAUDE.mdgit clone --depth 1 https://github.com/gvray/gvray-adminWrote 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.
[](https://agentmods.dev/instructions/gvray/gvray-admin/claude-md)<a href="https://agentmods.dev/instructions/gvray/gvray-admin/claude-md"><img src="https://agentmods.dev/badge/instructions/gvray/gvray-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.
<a href="https://agentmods.dev/instructions/gvray/gvray-admin/claude-md"><img src="https://agentmods.dev/badge/instructions/gvray/gvray-admin/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00763 | $0.00763 |
| Opus 5.5 | $0.00305 | $0.00305 |
| Sonnet 5.5 | $0.00153 | $0.00153 |
| Haiku 4.5 | $0.00076 | $0.00076 |
Grade A, and why
gvray-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.
What it actually says
GVRAY Admin — Claude Code 指南
本文件是 Claude Code 自动加载入口,只保留高优先级规则。详细规范按需读取,不在这里导入长文档。
项目概况
GVRAY Admin 是 NestJS 11 + TypeScript 后端,使用 Prisma 6 + MySQL、JWT 认证、RBAC 权限模型、Swagger/OpenAPI 和 Docker 部署。
关键目录
src/core/:基础设施(decorators / guards / interceptors / filters / pipes / strategies)src/modules/:业务模块,系统管理模块在src/modules/system/src/prisma/:Nest Prisma Module / PrismaServiceprisma/:schema.prisma、seed.ts、seeds/、migrations(如存在)src/shared/:constants、DTO、interfaces、utils、services(含 BaseService)
开发硬规则
- 先读相关模块,不要整仓读取;文档与源码冲突时以源码为准。
- Controller 只处理路由、鉴权、DTO、Swagger;业务逻辑放 Service。
- 返回业务数据由
ResponseInterceptor自动包装;自定义 message/code/分页用ResponseUtil。 - 禁止返回未过滤的 Prisma 对象;禁止响应中出现
password、token、secret;禁止暴露数据库自增id。 - 权限码使用
src/shared/constants/permissions.constant.ts常量,不硬编码。 - 路径使用 tsconfig alias,避免深层相对路径。
- 改动涉及接口/权限/配置/响应/部署时,同步更新对应文档。
- 未经确认不运行数据库重置/迁移/seed、权限导入、部署发布等破坏性命令。
- 不确定文件位置时先
grep/glob,不假设路径。 - 错误信息、Swagger 描述统一使用中文。
- 提交使用 conventional commits(
feat:/fix:/refactor:等)。
按需阅读
- 改 DTO / Swagger → .claude/project/dto-swagger.md
- 改权限码 / 权限扫描 → .claude/project/permissions.md
- 改统一响应格式 → .claude/project/response-format.md
- 改配置项或 seed 配置 → .claude/project/configs.md
- 改部署、Docker、环境变量 → .claude/project/deployment.md
- 改密码/日志/审计/安全策略 → .claude/project/coding.md
- 新增/重构业务模块 → .claude/project/architecture.md + dto-swagger.md + permissions.md
- 工作流和上下文策略 → .claude/project/workflow.md
常用命令
pnpm start:dev
pnpm build
pnpm test
pnpm prisma:generate
pnpm prisma:migrate # 会改变数据库结构,执行前确认
pnpm prisma:seed # 会写入/更新种子数据(含权限、菜单),执行前确认
pnpm db:reset # 会重置数据库,必须明确确认
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.
- 2mo ago First seen · 53 lines · 763 tokens per session scan A b9b8968f04fb
gvray-admin CLAUDE.md is an instructions file published in the GitHub repository gvray/gvray-admin (22 stars, last pushed 2d ago), licensed MIT. It adds 763 tokens to every session, about $0.0031 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.
gvray-admin CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gvray-admin CLAUDE.mdgvray/gvray-admin | Instructions file | 22 | 2d ago | MIT | A | 763 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |