Borrowing it
Nothing to install: this file belongs to tuo-lei/vibe-replay. 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/tuo-lei/vibe-replay/main/AGENTS.mdgit clone --depth 1 https://github.com/tuo-lei/vibe-replayWrote 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/tuo-lei/vibe-replay/agents-md)<a href="https://agentmods.dev/instructions/tuo-lei/vibe-replay/agents-md"><img src="https://agentmods.dev/badge/instructions/tuo-lei/vibe-replay/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/tuo-lei/vibe-replay/agents-md"><img src="https://agentmods.dev/badge/instructions/tuo-lei/vibe-replay/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.07486 | $0.07486 |
| Opus 5.5 | $0.02994 | $0.02994 |
| Sonnet 5.5 | $0.01497 | $0.01497 |
| Haiku 4.5 | $0.00749 | $0.00749 |
Grade A, and why
vibe-replay 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 3d 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 — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — vibe-replay
This is the single source of truth for agent instructions in this repo. Every coding agent reads it, directly or through a shim — see Agent setup at the bottom. Put project knowledge here, not in a tool-specific file.
What is this
vibe-replay turns AI coding sessions into animated, interactive, self-contained HTML replays. Supports Claude (Code/Desktop/Cowork), Cursor, Codex, OpenCode, Hermes, Muse, Pi, and Grok Bot. AI Studio embeds Pi's provider registry and agent loop; no separate AI CLI is required.
pnpm monorepo: packages/cli (npm: vibe-replay), packages/viewer (React → single HTML), packages/types (shared types), website/ (Astro), cloudflare/ (Workers API).
Commands
pnpm install # Install deps
pnpm build # Full build: viewer → cli
pnpm start # Build + run interactive picker
pnpm dev # Viewer (Vite HMR) + CLI (tsx + Node fs.watch restarts) together
pnpm dev:dashboard # Dev mode with dashboard flag (-d)
pnpm dev:website # Website (Astro HMR) + Viewer (Vite HMR) together
pnpm test # Run unit tests
pnpm test:cloudflare # Run Cloudflare worker tests
pnpm test:e2e # Run E2E tests (requires pnpm build first)
pnpm lint # Lint + format (auto-fix)
pnpm lint:check # Lint check (no fix, for CI)
pnpm typecheck # Strict TypeScript + website checks
pnpm verify # Sequential pre-PR gate: lint, types, tests, build
When to use which:
pnpm start— validate full user flow (build + run)pnpm dev— daily iteration with full HMR: viewer auto-reloads via Vite, and the CLI auto-restarts through the launcher's Nodefs.watchwatcher rather thantsx watch(which would intercept interactive stdin)pnpm dev:website— website + viewer iteration: Astro HMR +/view/redirects to Vite viewer- Dev launchers reserve ports for their entire lifetime. If one component's port is explicitly overridden, automatic selection skips that port for the other component as well. Use
VIBE_API_PORT/VIBE_VIEWER_PORTforpnpm devandVIBE_VIEWER_PORT/VIBE_WEBSITE_PORTforpnpm dev:website.
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.
- 3d ago Changed · +1 lines · -186 tokens per session cf7d074190d7
- 13d ago Changed · +21 tokens per session 33f49b13a79f
- 26d ago Changed · +32 tokens per session ad3d224ea3ec
- 28d ago Changed · +51 tokens per session 1ed36f386977
- 1mo ago Changed · +162 tokens per session a3d338f1d16a
- 1mo ago Changed · +2 lines · -316 tokens per session 1cf3a8434e2d
- 1mo ago Changed · -31 tokens per session 951941288ad7
- 1mo ago Changed · +2 tokens per session 0d766d871afd
- 1mo ago Changed · -6 tokens per session 0b990be7bb14
- 1mo ago First seen · 222 lines · 7,757 tokens per session scan A 2e1b48db4913
vibe-replay AGENTS.md is an instructions file published in the GitHub repository tuo-lei/vibe-replay (39 stars, last pushed today), licensed MIT. It adds 7,486 tokens to every session, about $0.0299 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.
vibe-replay AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vibe-replay AGENTS.mdtuo-lei/vibe-replay | Instructions file | 39 | today | MIT | A | 7,486 | 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 |