Borrowing it
Nothing to install: this file belongs to lets-mica/mica-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/lets-mica/mica-admin/main/AGENTS.mdgit clone --depth 1 https://github.com/lets-mica/mica-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/lets-mica/mica-admin/agents-md)<a href="https://agentmods.dev/instructions/lets-mica/mica-admin/agents-md"><img src="https://agentmods.dev/badge/instructions/lets-mica/mica-admin/agents-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/lets-mica/mica-admin/agents-md"><img src="https://agentmods.dev/badge/instructions/lets-mica/mica-admin/agents-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.03190 | $0.03190 |
| Opus 5.5 | $0.01276 | $0.01276 |
| Sonnet 5.5 | $0.00638 | $0.00638 |
| Haiku 4.5 | $0.00319 | $0.00319 |
Grade A, and why
mica-admin AGENTS.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.
Copies of this mod
1 near-identical copy found in the catalogue:
- mica-admin CLAUDE.md — 88% identical, 50 lines differ
How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
项目概述
mica-admin 是基于 mica 工具集的低代码权限管理平台,使用 Maven、Spring Boot 4.1、Spring Security、MyBatis-Plus(后端)+ Vben Admin 5.x(前端)+ uniapp x(移动 App)。
仓库根目录结构(mono-repo,单 git 仓库):
| 目录 | 说明 | 技术栈 |
|---|---|---|
mica-admin-server/ |
Spring Boot 后端(Java 17+) | Maven 模块 |
mica-admin-web/ |
Web 管理端(Vben Admin 5.x 本地化) | Vite + Vue 3 + Naive UI |
mica-admin-uniapp/ |
移动 App(uniapp x) | uniapp x + Vue 3 + TypeScript + Pinia |
docs/ |
设计文档 | - |
mica-admin-uniapp/不进 Maven:它是独立的 npm/pnpm 工程,与mica-admin-web/平级。 三者放在同一 git 仓库是为了 AI 编码时能"看见完整上下文",便于跨模块协作。
工作准则(必读)
- ❌ 禁止擅自
git commit/git push。所有变更默认保持M/A状态,等用户明确说"提交"、"commit"、"push" 时再执行。需要提交时,先把git status摘要给用户看一眼。 - ❌ 禁止擅自重命名既有字段。即使觉得"更合理"也不动,字段名/列名属于业务决策,改之前必须先和用户确认。
- ✅ 改动默认只改类型,不改命名(除非用户明确要求)。
- 命名 / 删文件 / 改 schema 之前,先用
AskUserQuestion确认,不要先斩后奏。
构建命令
后端 (mica-admin-server)
从仓库根目录执行:
# 默认 dev profile,跳过前端构建
mvn package
# 生产构建:触发 pnpm install + pnpm build:prod,把 dist 打入 META-INF/resources
mvn clean package -Pprod -U -Dmaven.test.skip=true
# 单测
mvn test -Dtest=ClassName#methodName -DfailIfNoTests=false
# 本地启动
mvn spring-boot:run -Dspring-boot.run.profiles=dev
Maven profile 行为:
dev(默认激活):skipNpmBuild=true,不构建前端。prod:skipNpmBuild=false,通过exec-maven-plugin触发前端构建,并把mica-admin-web/dist复制到META-INF/resources,与后端 jar 合并。
前端 (mica-admin-web)
cd mica-admin-web
pnpm install
pnpm dev # Vite dev server,端口 5888,/api 代理到 http://localhost:8080
pnpm typecheck # vue-tsc --noEmit --skipLibCheck
pnpm lint # eslint --fix
pnpm build # 类型检查 + 生产构建
pnpm build:prod # 仅打包,跳过类型检查(Maven prod profile 调的就是这个)
pnpm build:analyze # 构建并分析包体积
后端架构 (mica-admin-server)
主包:net.dreamlu.mica.admin,源码 src/main/java/:
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 · 177 lines · 3,190 tokens per session scan A d78776380bf3
mica-admin AGENTS.md is an instructions file published in the GitHub repository lets-mica/mica-admin (7 stars, last pushed 5d ago), licensed Apache-2.0. It adds 3,190 tokens to every session, about $0.0128 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-31.
mica-admin AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mica-admin AGENTS.mdlets-mica/mica-admin | Instructions file | 7 | 5d ago | Apache-2.0 | A | 3,190 | Codex, OpenCode |
| 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 |