Borrowing it
Nothing to install: this file belongs to asmyshlyaev177/test-proxy-recorder. 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/asmyshlyaev177/test-proxy-recorder/master/AGENTS.mdgit clone --depth 1 https://github.com/asmyshlyaev177/test-proxy-recorderWrote 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/asmyshlyaev177/test-proxy-recorder/agents-md)<a href="https://agentmods.dev/instructions/asmyshlyaev177/test-proxy-recorder/agents-md"><img src="https://agentmods.dev/badge/instructions/asmyshlyaev177/test-proxy-recorder/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/asmyshlyaev177/test-proxy-recorder/agents-md"><img src="https://agentmods.dev/badge/instructions/asmyshlyaev177/test-proxy-recorder/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.03289 | $0.03289 |
| Opus 5.5 | $0.01316 | $0.01316 |
| Sonnet 5.5 | $0.00658 | $0.00658 |
| Haiku 4.5 | $0.00329 | $0.00329 |
Grade C, and why
test-proxy-recorder AGENTS.md scanned grade C 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 22d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
⚠ **Expressive-code output is cached in `.astro/`.** A change to the EC config or to either plugin leaves already-rendered pages untouched, so a partial rebuild reads as "the fix didn't work". `rm -rf .astro node_modules How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS — structure cheatsheet
Record/replay HTTP+WebSocket proxy for deterministic e2e tests. pnpm monorepo.
Layout
packages/
test-proxy-recorder/ # the library + CLI (the product)
src/
ProxyServer.ts # core: record / replay / transparent modes
httpRecorder.ts # capture & persist HTTP exchanges
websocketHandlers.ts# WS record/replay
replaySessions.ts # per-test session keying (x-test-rcrd-id)
cli.ts proxy-cli.ts proxy.ts # `test-proxy-recorder` CLI entry
init.ts # `init` — auto-wire into a project
config*.ts # config load/merge
reset.ts # reset proxy mode
nextjs/ # SSR helpers: registerProxyFetch / registerProxyAxios
# / setNextProxyHeaders (middleware) / createHeadersWithRecordingId
tanstack-start/ # TanStack Start SSR helpers: registerProxyFetch /
# getRecordingId / createHeadersWithRecordingId
recorderEnabled.ts # shared isRecorderEnabled() gate for the adapters
playwright/ # playwrightProxy fixture (before()/teardown())
utils/ # redact, recordingId, cors, fileUtils, httpHelpers
skills/ # AI agent skills (intent-managed; 500-line SKILL.md cap,
# bulk in references/). Validate: npx intent validate <dir>
landing/ # Astro Starlight docs site (the documentation site)
src/content/docs/docs/ # English source of truth; other locales are translations
apps/ # runnable examples + e2e suites (the proof the lib works)
example-nextjs16, example-nextjs-edge, example-tanstack-start,
example-websocket, example-auth-*, example-extension, example-init
Package exports: . (Playwright/core), ./playwright, ./nextjs, ./tanstack-start. CLI bin: test-proxy-recorder.
Commands (run from repo root)
pnpm build # core library
pnpm lint
pnpm typecheck
pnpm test
pnpm test:browser # the library tests that drive Chromium (src/**/*.browser.test.ts); CI runs them with the e2e job
pnpm example:test:e2e:ci # nextjs16 example — record then replay
pnpm example-edge:test:e2e:ci # edge example
pnpm example-tanstack:test:e2e:ci # TanStack Start example
pnpm landing:dev
pnpm landing:build # docs site
pnpm landing:audits # accessibility + Lighthouse on the built docs site
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.
- 22d ago Changed · +1 lines · +30 tokens per session 32ed1aeb9e6e
- 28d ago Changed · -111 lines · -118 tokens per session 7749dbbc3b51
- 2mo ago Changed · +10 lines · +163 tokens per session 9df9ac3de260
- 2mo ago First seen · 234 lines · 3,214 tokens per session scan C 19bc4b02314c
test-proxy-recorder AGENTS.md is an instructions file published in the GitHub repository asmyshlyaev177/test-proxy-recorder (73 stars, last pushed 10d ago), licensed MIT. It adds 3,289 tokens to every session, about $0.0132 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
test-proxy-recorder AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-proxy-recorder AGENTS.mdasmyshlyaev177/test-proxy-recorder | Instructions file | 73 | 10d ago | MIT | C | 3,289 | Codex, OpenCode |
| qmax-mcp copilot-instructions.mdQuality-Max/qmax-mcp | Instructions file | 4 | 5d ago | MIT | A | 451 | GitHub Copilot |
| 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 |