river-review: Instructions file for Claude Code

CLAUDE.md

river-review CLAUDE.md is an instructions file for Claude Code from s977043/river-review. It costs 6,652 tokens per session, scanned A, original, MIT.

Project instructions for working on the `river-review` codebase, including its repository rules, decision process, change limits, and reporting requirements. They also define when approval is needed before editing or making risky changes.

In plain words
What is it for?
Use them when exploring or modifying the project, especially before changing protected files, adding dependencies, altering project instructions, or making broad design changes.
Why use it?
They reduce accidental architectural, destructive, or out-of-scope changes and make completed work easier to review.

Instructions file for Claude Code

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

This is s977043/river-review's own configuration. It tells Claude Code how to work on river-review 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 river-review configures →

Reuse

Borrowing it

Nothing to install: this file belongs to s977043/river-review. 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/s977043/river-review/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

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 river-review CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/s977043/river-review/claude-md.svg)](https://agentmods.dev/instructions/s977043/river-review/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/s977043/river-review/claude-md"><img src="https://agentmods.dev/badge/instructions/s977043/river-review/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 6,652 This file is loaded in full into every session.
When invoked 6,652 The same file — it is already loaded in full.
Security scan A 0 findings. 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.06652 $0.06652
Opus 5 $0.03326 $0.03326
Sonnet 5 $0.01330 $0.01330
Haiku 4.5 $0.00665 $0.00665

Measured yesterday against content hash c6c2dc975859, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

river-review CLAUDE.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 yesterday.

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.

CLAUDE.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code Project Guide (river-review)

Repo rules: Follow all sections in AGENTS.md. This file adds only Claude Code-specific work policy.

Decision Policy

  • Proceed autonomously: read-only exploration, running commands listed in .claude/settings.json allow list, editing paths in AGENTS.md "Editable" scope.
  • Ask before acting: editing paths in AGENTS.md "Ask before editing" scope, adding dependencies, running commands not in allow list.
  • Always ask: architectural changes, modifying AGENTS.md or CLAUDE.md, any destructive git operation, changes touching src/ that may break skill or schema alignment.

Change Policy

  • One logical change per branch. Do not bundle unrelated fixes.
  • Minimal diff — do not refactor, reformat, or annotate code outside the task scope.
  • Do not add features, patterns, or dependencies not explicitly requested.
  • If a task seems too large for one session, propose a plan and get approval first.

Reporting

After completing a task, state concisely:

  1. What changed (files and purpose).
  2. What was verified (commands run and results).
  3. What needs human review (assumptions, edge cases, "ask before" paths touched).

If a check fails, show the failure output and proposed fix before applying.

AI Misoperation Guards

The ledger docs/development/guard-ledger.yaml is the SSoT for this list under its guards: key — it records each guard's mechanization level, verifiedBy paths, and reviewAfter date, and the required check Meta consistency fails when the two drift. Add, rename, or remove a guard in the ledger and here in the same PR; retire per docs/development/improvement-flow.md Step 9. The same file also tracks timed decisions that are not guards under decisions: (deprecated assets, workflows under observation, temporary exclusions) — those have no bullet here, and Meta consistency checks only that each target: path still exists (#1843).

Read the full file on GitHub · 102 lines

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. yesterday Changed · +1 lines · +31 tokens per session c6c2dc975859
  2. 4d ago Changed · +227 tokens per session cb63dee10455
  3. 4d ago Changed · +131 tokens per session d4e9371653b4
  4. 8d ago First seen · 101 lines · 6,263 tokens per session scan A 3a6a3e94e634

Subscribe to this mod's changes

river-review CLAUDE.md is an instructions file published in the GitHub repository s977043/river-review (3 stars, last pushed today), licensed MIT. It adds 6,652 tokens to every session, about $0.0333 per session on Opus 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens