Borrowing it
Nothing to install: this file belongs to danielcherubini/pi-archimedes. 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/danielcherubini/pi-archimedes/main/AGENTS.mdgit clone --depth 1 https://github.com/danielcherubini/pi-archimedesWrote 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/danielcherubini/pi-archimedes/agents-md)<a href="https://agentmods.dev/instructions/danielcherubini/pi-archimedes/agents-md"><img src="https://agentmods.dev/badge/instructions/danielcherubini/pi-archimedes/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/danielcherubini/pi-archimedes/agents-md"><img src="https://agentmods.dev/badge/instructions/danielcherubini/pi-archimedes/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.04598 | $0.04598 |
| Opus 5.5 | $0.01839 | $0.01839 |
| Sonnet 5.5 | $0.00920 | $0.00920 |
| Haiku 4.5 | $0.00460 | $0.00460 |
Grade B, and why
pi-archimedes 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 9d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- `packages/sudo` — safe privileged execution (sudo_exec tool, masked password prompt, interactive-sudo bash guard) (depends on core) How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Rules for AI agents working on this monorepo.
Monorepo Structure
packages/core— event-channel vocabulary, bridge, chrome, text/color utils, overlay, profiler, settings-io, tool-renderpackages/ui— TUI enhancements: bash tool styling, custom editor, border spinner, thinking collapse, splash animation (depends on core)packages/ask— structured question tool with tabbed flow and inline notes (depends on core)packages/footer— status bar (depends on core)packages/diff— Shiki-powered diff rendering (standalone)packages/image-paste— clipboard image paste (depends on core)packages/subagent— subagent dispatch with live TUI streaming and cost tracking (depends on core, todo)packages/todo— todo list tool with auto-clear and subagent visibility (depends on core)packages/notify— delayed desktop notifications with circuit breaker (depends on core)packages/session-name— auto session naming (depends on core)packages/web— web search and content fetching with multi-provider routing (depends on core)packages/sudo— safe privileged execution (sudo_exec tool, masked password prompt, interactive-sudo bash guard) (depends on core)meta— orchestrator + composed settings (depends on all twelve)
Adding a New Package
When a new package is added under packages/<name>/, update all of these or it will silently break the release / pi install flow (this is exactly how todo got missed):
packages/<name>/package.json— must include:"version"matching the shared monorepo version"keywords": ["pi-package"]"files": ["src"]"pi": { "extensions": ["./src/index.ts"] }← required; without it, standalonepi install @pi-archimedes/<name>loads nothing- Internal deps as
"@pi-archimedes/core": "workspace:*"(pnpm rewrites this to a real version at publish time) peerDependenciesfor@earendil-works/pi-coding-agent/pi-tui/pi-aias needed
meta/package.json— add"@pi-archimedes/<name>": "workspace:*"todependenciesmeta/src/index.ts— import and register the new package's entry, gated byisPluginEnabled("<name>")(the single global gate frommeta/src/plugins.ts)meta/src/plugins.ts— add the package to thePLUGINSmanifest (id,label,description,namespace(e.g.archimedes.<newkey>),load()). A manifest entry is required: registration alone is not enough — the gate,/archimedessettings items, and shutdown all key off the manifest, and a missing entry means the package also disappears from the/pluginsmenu. (There is nodefaultEnabledany more — the manifest entry carries the settings-namespace key the gate reads, and no plugin is off-by-default today.)- npm trusted publishing — on npmjs.com, add a Trusted Publisher for
@pi-archimedes/<name>: package page → Access → Trusted Publishing → add a GitHub Actions publisher for repodanielcherubini/pi-archimedes, workflow.github/workflows/release.yml. There is no CLI for this, and it is per package — an existing org/scope setting does not cover a new package. Skip it and the release workflow's--provenancepublish dies withERR_PNPM_AUTH_TOKEN_EXCHANGE … 404followed by a bare{"error":"Not found"}, which reads like a transient registry outage but is not: npm 404s the OIDC token exchange when the package has no matching trusted publisher. Do this before the first release that includes the package —uiandwebwere both missed, so their versions had to be hand-published without provenance. .github/workflows/release.yml— add@pi-archimedes/<name>to theORDERlist in the "Publish to npm" step, placed after its internal deps and beforemeta, and to the package list in the "Verify all packages are on npm" stepAGENTS.md— add to the Monorepo Structure list; bump the "all N package versions" count and the "N package directories" type-check count in Release Steps; add the package to the publish-order lineREADME.md— add a feature section, a line in the monorepo layout tree, api install @pi-archimedes/<name>line under "install selectively", and a settings-table entry if it has settings
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.
- 9d ago Changed · -43 tokens per session 8dc5d5768494
- 23d ago Changed · +20 lines · +1,535 tokens per session 9188a8a22e4b
- 24d ago Changed · +1 tokens per session 8c1c2c776887
- 1mo ago Changed · +5 lines · +392 tokens per session 65dc390c3a39
- 1mo ago Changed · -1 lines · -50 tokens per session 7ffbc3bbd9bc
- 1mo ago Changed · +1 lines · +26 tokens per session 8e701950194f
- 1mo ago Changed · +1 lines · +41 tokens per session 4432b720acc8
- 1mo ago Changed · +1 tokens per session 896483ef4f56
- 1mo ago Changed · +58 tokens per session 18f781c988aa
- 1mo ago First seen · 139 lines · 2,637 tokens per session scan B 29fc72d5358e
pi-archimedes AGENTS.md is an instructions file published in the GitHub repository danielcherubini/pi-archimedes (140 stars, last pushed 9d ago), licensed MIT. It adds 4,598 tokens to every session, about $0.0184 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
pi-archimedes AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pi-archimedes AGENTS.mddanielcherubini/pi-archimedes | Instructions file | 140 | 9d ago | MIT | B | 4,598 | 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 |