Borrowing it
Nothing to install: this file belongs to Chemaclass/agnostic-ai. 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/Chemaclass/agnostic-ai/main/AGENTS.mdgit clone --depth 1 https://github.com/Chemaclass/agnostic-aiWrote 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/chemaclass/agnostic-ai/agents-md)<a href="https://agentmods.dev/instructions/chemaclass/agnostic-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/chemaclass/agnostic-ai/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/chemaclass/agnostic-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/chemaclass/agnostic-ai/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.02522 | $0.02522 |
| Opus 5.5 | $0.01009 | $0.01009 |
| Sonnet 5.5 | $0.00504 | $0.00504 |
| Haiku 4.5 | $0.00252 | $0.00252 |
Grade B, and why
agnostic-ai AGENTS.md scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
`sync --scope user` edits files the user and other tools also write (`~/.claude.json`, `~/.codex/config.toml`): How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agnostic-ai development
agnostic-ai emits native AI tool configuration from portable specs. Go code: cmd/, internal/. Web client: ui/, with its built bundle committed in ui/embedded/. Companion app: companion/, its own Go module that root Go commands skip. Docs site: docs/site/. Editor extensions: editors/.
Edit canonical specs in .agnostic-ai/ and agnostic-ai.yaml, then run go run ./cmd/agnostic-ai sync. Most native tool files are generated and ignored. The root AGENTS.md and CLAUDE.md and the Claude Code cloud setup files (.claude/settings.json, .claude/hooks/) are generated and tracked: commit them with the spec change, and CI fails when they drift. See CONTRIBUTING.md#generated-files.
Paths here are repository-root relative. Start with CONTRIBUTING.md; docs/internal/contributing.md#choose-checks-for-your-change picks the checks. Read docs/internal/adding-adapters.md for adapter work. Run checks once the change set is complete; releases need make ci-local.
Delegate independent work with disjoint ownership: fast models for lookups, midrange for bounded changes, high reasoning for design, debugging and verification. One caller runs expensive checks.
Rules
shared-memory-policy
Read and save the project memory that every AI coding tool shares.
This project keeps two memories that every AI coding tool shares: project memory in .agnostic-ai/memory/, committed for the team, and personal memory in .agnostic-ai/local/memory/, kept out of Git. If agnostic-ai.local.yaml sets memory.personal: repo, personal memory is the folder your session context names, or that agnostic-ai memory path prints. Each folder has a MEMORY.md index: one line per fact, linking a topic file beside it. If an index is not in your context, read it before a task. Open a topic file only when its line is relevant.
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 Changed · -30 tokens per session c5dff9c736c4
- 2d ago Changed · +2 tokens per session d57c23fcc6f7
- 6d ago First seen · 190 lines · 2,550 tokens per session scan B 548f432afa67
agnostic-ai AGENTS.md is an instructions file published in the GitHub repository Chemaclass/agnostic-ai (32 stars, last pushed today), licensed MIT. It adds 2,522 tokens to every session, about $0.0101 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
agnostic-ai AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agnostic-ai AGENTS.mdChemaclass/agnostic-ai | Instructions file | 32 | today | MIT | B | 2,522 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | today | MIT | A | 3,077 | GitHub Copilot |