Borrowing it
Nothing to install: this file belongs to briangmilnes/APAS-VERUS. 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/briangmilnes/APAS-VERUS/main/CLAUDE.mdgit clone --depth 1 https://github.com/briangmilnes/APAS-VERUSWrote 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/briangmilnes/apas-verus/claude-md)<a href="https://agentmods.dev/instructions/briangmilnes/apas-verus/claude-md"><img src="https://agentmods.dev/badge/instructions/briangmilnes/apas-verus/claude-md.svg" alt="Measured on agentmods" 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.14061 | $0.14061 |
| Opus 5 | $0.07031 | $0.07031 |
| Sonnet 5 | $0.02812 | $0.02812 |
| Haiku 4.5 | $0.01406 | $0.01406 |
Grade A, and why
APAS-VERUS 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 4d 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 — 1,080 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — APAS-VERUS Project Rules
This file is the single source of truth for AI assistant behavior on this project.
It was synthesized from .cursor/rules/ (80+ rule files).
Project Overview
APAS-VERUS formally verifies all algorithms from "A Practical Approach to Data Structures" (APAS, by Guy Blelloch) using Verus, a Rust verification framework. The primary objective is to get code to verify (prove) with Verus.
- Read ALL standards before writing or modifying any code. At the start of every
task, read every file in
src/standards/. They total ~6200 lines (~54K tokens) — under 6% of your 1M context. There is no excuse for skipping them. If a prompt says "pay close attention to standard N", that standard is especially critical for your task, but you must still read all of them. Agents that skip standards write code that violates project conventions and has to be reverted — this has happened repeatedly and wastes rounds.
Standards Index
| # | Standard | Read when... |
|---|---|---|
| 1 | mod_standard.rs |
Creating or restructuring a module |
| 2 | view_standard.rs |
Adding or modifying a View impl |
| 3 | deep_view_standard.rs |
Adding or modifying a DeepView impl |
| 4 | spec_wf_standard.rs |
Adding or modifying spec_wf predicates |
| 5 | spec_naming_convention.rs |
Naming any spec function |
| 6 | multi_struct_standard.rs |
Working with tree/enum types (multiple structs + enum) |
| 7 | partial_eq_eq_clone_standard.rs |
Adding PartialEq, Eq, or Clone impls |
| 8 | using_closures_standard.rs |
Writing code with closures, Fn, filter, map, tabulate, join |
| 9 | total_order_standard.rs |
Writing ordering specs (min, max, find, rank, sorted) |
| 10 | iterators_standard.rs |
Adding iterators to a collection |
| 11 | wrapping_iterators_standard.rs |
Wrapping an existing iterator |
| 12 | table_of_contents_standard.rs |
Reordering sections in a file |
| 13 | mut_standard.rs |
Working with &mut parameters in Verus |
| 14 | arc_usage_standard.rs |
Using Arc in verified code |
| 15 | hfscheduler_standard.rs |
Using HFScheduler for fork-join parallelism |
| 16 | toplevel_coarse_rwlocks_for_mt_modules.rs |
Writing Mt modules with RwLock |
| 17 | tsm_standard.rs |
Thread-safe memory patterns |
| 18 | finite_sets_standard.rs |
Working with finite sets in specs |
| 19 | helper_function_placement_standard.rs |
Placing helpers in traits vs. free functions |
| 20 | using_rand_standard.rs |
Using randomness in verified code |
| 21 | using_hashmap_standard.rs |
Replacing std::collections::HashMap with verified types |
| 22 | capacity_bounds_standard.rs |
Integer max bounds in requires for insert/push/resize |
| 23 | mt_type_bounds_standard.rs |
Mt trait aliases (StTInMtT, MtKey, MtReduceFn, MtPred, MtMapFn, etc.) |
| 24 | no_unsafe_standard.rs |
No unsafe — no unsafe impl, unsafe fn, or unsafe {} blocks |
- Run
scripts/validate.shafter making changes - Fix verification errors before moving on
- NEVER run linters, formatters, or auto-fix tools. No
cargo fix, norustfmt, nocargo clippy --fix, no auto-formatting of any kind. These tools revert proof work and destroy hours of edits. Only runscripts/validate.sh,scripts/rtt.sh, andscripts/ptt.sh. If a pre-commit hook runs a linter, investigate and disable it — do NOT let it rewrite source files. - Prefer verified code over unverified code, even if it requires restructuring
- Never sequentialize parallel files: Mt (multi-threaded) implementations must remain parallel. Do not replace threaded code with sequential loops to satisfy the verifier.
- Never propose serializing Mt algorithms without exhausting all options for verified parallelism AND getting explicit user approval. The default is no.
- Nothing is permanently blocked. We can prove ALL of APAS-VERUS. Do not label any
chapter, file, or proof obligation as "permanently" unverifiable. If a proof is hard,
say it is hard — not that it is impossible. Every
assume, everyexternal_bodyon algorithmic logic, every weak spec is a target, not a fixture. - Skip Example and Problem files unless explicitly assigned. Files named
Example*.rsorProblem*.rsare textbook demos or problem sets, not algorithmic implementations. Do not spend time proving holes in them unless the user or your prompt explicitly directs you to. Do not include them in hole counts or proof targets. The proof effort belongs on the real algorithm files. - Algorithm files CAN get RTTs. Files named
Algorithm*.rs(e.g.,Algorithm21_1.rs) contain real executable code and should get runtime tests. Example and Problem files should NOT get RTTs.
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.
- 4d ago First seen · 1,080 lines · 14,061 tokens per session scan A 71a238f72d36
APAS-VERUS CLAUDE.md is an instructions file published in the GitHub repository briangmilnes/APAS-VERUS (10 stars, last pushed 1mo ago), licensed MIT. It adds 14,061 tokens to every session, about $0.0703 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-09-03.
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.
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.
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).
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).
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.
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.