vibe-replay: Instructions file for Claude Code

CLAUDE.md

vibe-replay CLAUDE.md is an instructions file for Claude Code from tuo-lei/vibe-replay. It costs 268 tokens per session, scanned C, original, MIT.

Instructions for maintaining vibe-replay, a project that turns AI coding sessions into animated, interactive web replays.

In plain words
What is it for?
Editing files with the repository's automatic formatter and adding skills with the required discovery links for Claude Code and other agents.
Why use it?
They prevent duplicate formatting work and keep new skills discoverable by the supported coding assistants.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is tuo-lei/vibe-replay's own configuration. It tells Claude Code how to work on vibe-replay itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vibe-replay configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/tuo-lei/vibe-replay/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/tuo-lei/vibe-replay

Made for: Claude Code.

Wrote 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.

agentmods badge for vibe-replay CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tuo-lei/vibe-replay/claude-md/github.svg)](https://agentmods.dev/instructions/tuo-lei/vibe-replay/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tuo-lei/vibe-replay/claude-md"><img src="https://agentmods.dev/badge/instructions/tuo-lei/vibe-replay/claude-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.

agentmods 80×15 button for vibe-replay CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tuo-lei/vibe-replay/claude-md"><img src="https://agentmods.dev/badge/instructions/tuo-lei/vibe-replay/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 268 This file is loaded in full into every session.
When invoked 268 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00268 $0.00268
Opus 5 $0.00134 $0.00134
Sonnet 5 $0.00054 $0.00054
Haiku 4.5 $0.00027 $0.00027

Measured 12d ago against content hash cea7caef019d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

vibe-replay CLAUDE.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 12d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Shim, not a source of truth. Claude Code reads CLAUDE.md and does not read AGENTS.md, so this file imports it. Project knowledge belongs in AGENTS.md so that Codex, Cursor, Pi, and opencode see it too. Add something
CLAUDE.md · 24 lines

What it actually says

@AGENTS.md

Claude Code

  • Editing a file triggers the PostToolUse hook in .claude/settings.json, which runs oxlint --fix and oxfmt on that file. Do not also run pnpm lint on a file you just edited — it is already formatted.
  • Add new skills under skills/<name>, then create discovery symlinks under .agents/skills/ and .claude/skills/ as described in Agent setup in AGENTS.md. Do not create the canonical skill in either discovery directory.
Changes

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.

  1. 12d ago First seen · 24 lines · 268 tokens per session scan C cea7caef019d

Subscribe to this mod's changes

vibe-replay CLAUDE.md is an instructions file published in the GitHub repository tuo-lei/vibe-replay (37 stars, last pushed today), licensed MIT. It adds 268 tokens to every session, about $0.0013 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.