Borrowing it
Nothing to install: this file belongs to Tenon-Net/TenonAdmin. 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/Tenon-Net/TenonAdmin/main/AGENTS.mdgit clone --depth 1 https://github.com/Tenon-Net/TenonAdminWrote 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/tenon-net/tenonadmin/agents-md)<a href="https://agentmods.dev/instructions/tenon-net/tenonadmin/agents-md"><img src="https://agentmods.dev/badge/instructions/tenon-net/tenonadmin/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/tenon-net/tenonadmin/agents-md"><img src="https://agentmods.dev/badge/instructions/tenon-net/tenonadmin/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.03733 | $0.03733 |
| Opus 5.5 | $0.01493 | $0.01493 |
| Sonnet 5.5 | $0.00747 | $0.00747 |
| Haiku 4.5 | $0.00373 | $0.00373 |
Grade A, and why
TenonAdmin 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
本文件是 Codex 与 Claude Code 共用的仓库指令唯一来源,包含产品契约、任务参考和工作规则。CLAUDE.md 仅作为 Claude Code 的导入入口;修改共同规则时只编辑本文件。
Product contracts
TenonAdmin (榫卯) is a distributable .NET 10 admin kernel shipped as NuGet packages. Consumers replace built-in services without forking.
- Preserve replaceability: interface-backed services, overridable
virtualsteps, andTryAdd*registration. Consumer registrations beforeAddTenonAdmin()win. TheReplaceabilityTestscontracts also protectApplicationAssembliesentity/controller discovery. - Runtime dependencies in core packages are SqlSugarCore and Microsoft.* only. Security fixes may directly pin existing transitive dependencies without adding runtime libraries. Manage package versions in
backend/Directory.Packages.props. - Layering: Core contracts ← SqlSugar data access ← Services domain/entities ← AspNetCore host integration; the TenonAdmin meta-package references AspNetCore. Core has no SqlSugar/ASP.NET dependency.
web/(Vue/Naive UI) andweb-react/(React/Ant Design) are independent, self-contained templates against the same API. Their duplication is intentional; no cross-template imports, shared layer, or requirement to bundle both. Work on the requested template; backend contract changes require checking both consumers.- Permissions are normalized routes (
VERB:/api/...); business errors use numericErrorCode, localized by the frontend. Preserve session revocation, data-scope filters, and automatic audit fields. - Generate each frontend's
src/api/schema.d.tsfrom OpenAPI; do not hand-edit it. - Comments and documentation are Chinese; commits use English conventional commits (
type(scope): subject).
Task context
按当前任务需要的契约、模式或验证方式查阅下表中的相关章节;可复用本轮已读且未变化的上下文。局部文案或格式修改只需目标文件及其适用约束。
| Task | 按需参考 |
|---|---|
| Backend services, DI, auth, database, bootstrap | Repository reference: backend and relevant tests/callers |
| Vue 开发、调试、测试与审查 | 先按下方「Vue 开发规范」加载技能,再查阅 web/COMPONENTS.md、web/DESIGN.md 和 Vue architecture |
| React pages/components | web-react/COMPONENTS.md, React architecture; use stable zustand selectors and Ant Design 6 APIs |
| CI, database test performance, template packaging | Repository reference: CI; preserve multi-replica smoke coverage and nightly full SQL Server coverage |
| New module, entity, CRUD, jobs, import/export, service replacement | Select the recipe in skills/README.md; complete modules start at new-module |
site/ pages or root README*.md: writing, editing, translation |
skills/write-docs.md: voice, scope, README presentation, translation and validation |
| Release/version/tag/NuGet | skills/tenon-release.md; human runbook: docs/releasing.md |
| Domain terminology or architecture decisions | docs/agents/domain.md; existing CONTEXT.md and relevant ADRs |
| GitHub issues/PRDs or triage | issue tracker, label mapping |
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.
- today First seen · 174 lines · 3,733 tokens per session scan A 8325713b5347
TenonAdmin AGENTS.md is an instructions file published in the GitHub repository Tenon-Net/TenonAdmin (41 stars, last pushed 15d ago), licensed Apache-2.0. It adds 3,733 tokens to every session, about $0.0149 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-11-07.
TenonAdmin AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| TenonAdmin AGENTS.mdTenon-Net/TenonAdmin | Instructions file | 41 | 15d ago | Apache-2.0 | A | 3,733 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |