Borrowing it
Nothing to install: this file belongs to tao12345666333/amp-acp. 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/tao12345666333/amp-acp/main/AGENTS.mdgit clone --depth 1 https://github.com/tao12345666333/amp-acpWrote 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/tao12345666333/amp-acp/agents-md)<a href="https://agentmods.dev/instructions/tao12345666333/amp-acp/agents-md"><img src="https://agentmods.dev/badge/instructions/tao12345666333/amp-acp/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/tao12345666333/amp-acp/agents-md"><img src="https://agentmods.dev/badge/instructions/tao12345666333/amp-acp/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.00998 | $0.00998 |
| Opus 5.5 | $0.00399 | $0.00399 |
| Sonnet 5.5 | $0.00200 | $0.00200 |
| Haiku 4.5 | $0.00100 | $0.00100 |
Grade A, and why
amp-acp 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 4d 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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Commands
bun run build— Bundle TypeScript todist/index.js(single file, Bun target)bun startorbun dist/index.js— Run the ACP adapterbun run lint— Type-check withtsc --noEmitbun test src/— Run tests with Bun's built-in test runnerbun run test:e2e:live— Full-stack opt-in verification (binary + fake-CLI e2e + real Amp CLI + orb execution); needs an authenticated Amp CLI, consumes real Amp usage
Architecture
This is an ACP (Agent Client Protocol) adapter that bridges Amp Code to ACP-compatible clients like Zed.
src/index.ts— Entry point, redirects console to stderr (stdout reserved for ACP stream)src/run-acp.ts— Sets up the SDK 2 ACP v1 connection using stdin/stdout JSON streamssrc/agent-app.ts— Builds the SDK 2 agent app, registers the v1 agent methods, and falls through to the extension-method handlersrc/acp-client.ts— Minimal client interface used byAmpAcpAgentand its tests; sendssession/updatenotifications and custom client-bound notificationssrc/acp-v2.ts— Experimental opt-in ACP v2 bridge (AMP_ACP_PROTOCOL=v2); translates v2 requests and updates around the existing v1AmpAcpAgent. v1 remains the defaultsrc/server.ts—AmpAcpAgentclass: handles session creation, listing, deletion, and closure; serializes prompts per session with a bounded queue, next-turn steering, and cancel semantics; advertises Amp slash commands; manages MCP config; and calls@ampcode/sdk(formerly@sourcegraph/amp-sdk)src/amp-transport.ts— Executes Amp through the CLI or SDK and manages native thread archival; image turns use CLI JSON input locally or uploaded--attachfiles for Orbs (including SDK transport fallback)src/thread-mapping-store.ts— Persists durable ACP-session-to-Amp-thread mappings, session settings, title, and last-updated timestamp; lists and deletes records for session lifecycle operationssrc/thread-history.ts— Exports Amp thread messages, title, and timestamp forsession/loadreplay and metadata recoverysrc/to-acp.ts— Converts Amp stream events to ACPsessionUpdatenotifications, including tool call names, raw output, file diffs, message IDs, and Amp todo calls asplanupdatessrc/mcp-config.ts— Converts ACP MCP server configs to Amp SDK formatsrc/plugin-modes.ts— Discovers agent modes from Amp plugins (// @amp-agent-modecomments in project/system plugin files, plusamp plugins listfor Personal/Workspace plugins, cached 60s per cwd). Unknown but non-empty mode values pass through to Amp unchangedsrc/turn-usage.ts— Aggregates a turn's token usage from Amp stream messages (last report wins per response id) forPromptResponse.usage, and exposes the latest model call's context total forusage_updatesrc/turn-events.ts— Parses Amp MCP and permission-denial status from the stream and maps Amp stop reasons to ACP stop reasonssrc/utils.ts— Node-to-Web stream converters
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.
- 4d ago Changed · +2 lines · +75 tokens per session 8d1f8144ef3e
- 6d ago Changed · +1 lines · +49 tokens per session 283d830e98e3
- 7d ago Changed · +2 lines · +166 tokens per session 7cb16b2d778e
- 1mo ago Changed · +1 lines · +45 tokens per session a84af011d914
- 1mo ago Changed · +1 lines · +55 tokens per session e7153b500494
- 1mo ago Changed · +1 lines · +42 tokens per session 371be7dcaaf8
- 1mo ago Changed · +19 lines · +226 tokens per session 7ac17ea24558
- 2mo ago First seen · 25 lines · 340 tokens per session scan A 113608ffee99
amp-acp AGENTS.md is an instructions file published in the GitHub repository tao12345666333/amp-acp (104 stars, last pushed 3d ago), licensed Apache-2.0. It adds 998 tokens to every session, about $0.0040 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.
amp-acp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| amp-acp AGENTS.mdtao12345666333/amp-acp | Instructions file | 104 | 3d ago | Apache-2.0 | A | 998 | 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 | yesterday | 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 |