Borrowing it
Nothing to install: this file belongs to apiad/aegis. 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/apiad/aegis/main/AGENTS.mdgit clone --depth 1 https://github.com/apiad/aegisWrote 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/apiad/aegis/agents-md)<a href="https://agentmods.dev/instructions/apiad/aegis/agents-md"><img src="https://agentmods.dev/badge/instructions/apiad/aegis/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/apiad/aegis/agents-md"><img src="https://agentmods.dev/badge/instructions/apiad/aegis/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.02276 | $0.02276 |
| Opus 5.5 | $0.00910 | $0.00910 |
| Sonnet 5.5 | $0.00455 | $0.00455 |
| Haiku 4.5 | $0.00228 | $0.00228 |
Grade A, and why
aegis 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
aegis
aegis is a web-native workplace for coding agents. aegis serve runs Claude Code,
OpenCode and Codex sessions on one machine and serves them to browser tabs: a Fleet view, shared tabs,
a transcript per session, and an archive. Agents in it get aegis's tools over MCP:
monitors, queues of workers, handoffs, reading a peer, and an inbox that delivers
what those produce. It is published on PyPI as aegis-harness, and it is the
workplace Alex and his agents use for multi-agent work in this workspace.
Until 2.0 aegis was a terminal app. That tree lives under legacy/ as reference:
not packaged, not tested, not launchable. Read it to learn how something was done;
never import it. Its design is legacy/DESIGN.md.
Read this file, then DESIGN.md, then the know-how doc for the job in front of you. This file changes when aegis's goals change. Nothing in it should be made false by a commit that adds a module, a tool or a test.
What done means
A change is done when:
- the tests that cover the change pass locally, and nothing more: run the
test files you touched and their neighbours while you iterate, plus
make lint-docswhen a doc or help page changed. The whole suite is CI's job, not yours; - CI is green on the PR. It runs the whole hermetic suite, slow and browser tests included, with format, lint, typecheck, rift and the changelog check, and compares the bench of the PR's base and head in its job summary. Copy that table into the PR body: CI warns on a regression and never fails on one, so a reader has to look at it;
- it has been exercised in a browser against an
aegis servestarted after the change, and, for a change to how agents use aegis, by themake test-livecase that covers it, run on its own (-k), not the whole live suite; - DESIGN.md describes the code as it now is;
- a user-visible change has a
changelog.d/fragment and updates or adds its help page undersrc/aegis/help/, and a change to how the pieces fit has its spec underdocs/superpowers/specs/, with a status that matches the code; - before a release, Alex has smoke-tested that version himself. Offer him the
guided smoke test then, not per PR: the build under test runs through
bin/aegis-devbeside his own aegis, and an agent inside it walks him through what changed since the last tag, simplest first, asking after each step whether it works. File what the tour finds as issues unless the fix on main is trivial. Every check above is a proxy; his hands on the build are the gate, and a release he has not run is not done.
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.
- 13d ago Changed · +6 lines · +144 tokens per session 53889195ffd3
- 15d ago Changed · +13 lines · +200 tokens per session 9de7581ee536
- 16d ago Changed · +2 lines · +38 tokens per session 9194c5d71577
- 19d ago Changed · +9 lines · +135 tokens per session e1a6282abfdb
- 26d ago Changed · +3 lines · +74 tokens per session 8744136ef48e
- 29d ago Changed · +10 lines · +197 tokens per session e0d8b02eb64e
- 1mo ago Changed · +3 tokens per session 27b01c676af2
- 1mo ago Changed · -5 lines · -113 tokens per session a0ac9bc9847f
- 1mo ago Changed · +1 lines · +51 tokens per session 750f134718e6
- 1mo ago First seen · 113 lines · 1,547 tokens per session scan A 1cf9cef70a3c
aegis AGENTS.md is an instructions file published in the GitHub repository apiad/aegis (22 stars, last pushed 11d ago), licensed MIT. It adds 2,276 tokens to every session, about $0.0091 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.
aegis AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aegis AGENTS.mdapiad/aegis | Instructions file | 22 | 11d ago | MIT | A | 2,276 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| 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 |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |