blockwatch CLAUDE.md

blockwatch CLAUDE.md is an instructions file for coding agents from mennanov/blockwatch. It costs 1,470 tokens per session, scanned A, original, MIT.

Repository instructions for BlockWatch, a Rust command-line linter. It checks rules written inside HTML-like tags embedded in source-code comments and can inspect all files or only changed lines from a Git diff.

In plain words
What is it for?
Use them to build and run the CLI, execute all or selected tests, inspect output, format code, run Clippy, and work with fixture-based integration tests or fuzzing.
Why use it?
They explain the project's build, test, formatting, linting, integration-test, and fuzzing routines so code changes can be checked consistently.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/mennanov/blockwatch/claude-md
Clone the repo
git clone --depth 1 https://github.com/mennanov/blockwatch

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 blockwatch CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mennanov/blockwatch/claude-md.svg)](https://agentmods.dev/instructions/mennanov/blockwatch/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mennanov/blockwatch/claude-md"><img src="https://agentmods.dev/badge/instructions/mennanov/blockwatch/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,470 This file is loaded in full into every session.
When invoked 1,470 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01470 $0.01470
Opus 5 $0.00735 $0.00735
Sonnet 5 $0.00294 $0.00294
Haiku 4.5 $0.00147 $0.00147

Measured 5d ago against content hash b5a23a93c7fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

blockwatch 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 5d 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.

CLAUDE.md · 98 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project

BlockWatch is a language-agnostic linter (Rust CLI, published on crates.io) that enforces rules declared inside HTML-like <block ...> tags found in source-file comments. It can run across the whole tree or only on the changed lines of a piped git diff --patch.

Common commands

cargo build                                # build CLI
cargo run -- [args]                        # run locally
cargo test                                 # run all unit + integration tests
cargo test --test keep_sorted              # run one integration test file (tests/<name>.rs)
cargo test <pattern>                       # run tests whose name matches
cargo test -- --nocapture                  # show stdout/stderr from tests
cargo fmt                                  # format
cargo clippy --all-targets -- -D warnings  # lint

Fuzzing (nightly toolchain + cargo-afl required) lives in fuzz/; see fuzz/README.md.

Integration tests use assert_cmd to invoke the compiled binary against fixtures in tests/testdata/. Many of them also pipe synthetic diffs into stdin — when adding a test, mirror the existing pattern in tests/<validator>.rs.

Agentic coding rules

Strict adherence to the following rules is absolutely required when working with this project:

  1. Always use the rust-analyzer and rustrover MCP tool to navigate the Rust codebase both for reads and writes.
  2. Never use one-off scripts where the rust-analyzer or rustrover MCP tool could do the job.
  3. Prefer native code editing mechanism or MCP tools over one-off scripts.
  4. Never commit anything automatically. All modified code must be reviewed by a human.
  5. Always escalate to a human when there is any ambiguity or UX/security/performance concerns. Provide clear context and options to a human to make a decision.
  6. Never go down a rabbit hole in order to circumvent blockers. If the solution appears too complicated - escalate to a human immediately.
  7. Always use clear, easy to follow human-readable language when writing any sort of comments or prose.
  8. Never narrate what the code is doing when writing comments, instead explain why the code is written in a specific way. If the solution is too exotic - escalate to a human.
  9. Never make the comments look relevant to just the current task. They should be clear in the future to any developer unfamiliar with the specific current task and even with the project itself.

Read the full file on GitHub · 98 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. 5d ago First seen · 98 lines · 1,470 tokens per session scan A b5a23a93c7fd

Subscribe to this mod's changes

blockwatch CLAUDE.md is an instructions file published in the GitHub repository mennanov/blockwatch (29 stars, last pushed today), licensed MIT. It adds 1,470 tokens to every session, about $0.0073 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-30.

Related

Other instructions, from other repositories

static-analysis AGENTS.md

Instructions for analysis-tools-dev/static-analysis, covering guidelines for ai agents and assistants and 🤖 instructions for the ai.

analysis-tools-dev/static-analysis · 332 tokens

static-analysis copilot-instructions.md

Instructions for analysis-tools-dev/static-analysis, a project described as: ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

analysis-tools-dev/static-analysis · 4 tokens

static-analysis CLAUDE.md

Instructions for analysis-tools-dev/static-analysis, a project described as: ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

analysis-tools-dev/static-analysis · 5 tokens

guff AGENTS.md

AGENTS.md instructions for dakimura/guff: When working in the guff codebase, follow docs/DEVELOPMENT.md and the compat isolate gate in .cursor/rules.

dakimura/guff · 200 tokens

purist CLAUDE.md

Claude Code instructions for yegor256/purist: Write one sentence per line. Keep each sentence short and concise. Separate clauses with periods rather than semicolons, colons, or em dashes. Name action, target, and condition. Write rules as direct orders, not opinions or suggestions. Strip emotions and rhetorical…

yegor256/purist · 101 tokens

intelligent-terminal rust.instructions.md

Concise Rust coding conventions for this repository.

microsoft/intelligent-terminal · 435 tokens