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.
npx agentmods add instructions/aallan/vera/claude-mdgit clone --depth 1 https://github.com/aallan/veraWrote 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/aallan/vera/claude-md)<a href="https://agentmods.dev/instructions/aallan/vera/claude-md"><img src="https://agentmods.dev/badge/instructions/aallan/vera/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 | $0.06084 | $0.06084 |
| Opus 5 | $0.03042 | $0.03042 |
| Sonnet 5 | $0.01217 | $0.01217 |
| Haiku 4.5 | $0.00608 | $0.00608 |
Grade A, and why
vera CLAUDE.md scanned grade A 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 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Text I/O MUST pass `encoding="utf-8"` explicitly, enforced by `scripts/check_explicit_encoding.py` (pre-commit + CI lint, #645): every text-mode `open()` / `read_text()` / `write_text()` **and** every `subprocess.run/P How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — Project orientation for Claude Code
Vera is a programming language designed for LLMs to write. It has mandatory contracts, algebraic effects, typed slot references (@T.n), and compiles to WebAssembly. The reference compiler is written in Python.
Virtual environment
Always use the project venv. All commands below assume it is active:
source .venv/bin/activate
If the venv does not exist, create it first:
python -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"
If you prefer uv, use uv sync --extra dev (not plain uv sync). The [dev] extras group holds pytest, mypy, ruff, pre-commit, and pip-licenses; uv sync without --extra dev will quietly uninstall those and make pytest fall through to a non-venv copy that can't import vera.
Key commands
vera check file.vera # Parse and type-check
vera check --json file.vera # Type-check with JSON diagnostics
vera check --quiet file.vera # Type-check, suppress success output
vera check --explain-slots file.vera # Show slot resolution table (which @T.n maps to which param)
vera verify file.vera # Type-check + verify contracts via Z3
vera verify --json file.vera # Verify with JSON diagnostics
vera verify --quiet file.vera # Verify, suppress success output
vera verify --timeout-ms 60000 file.vera # Per-query Z3 budget in ms (default 10000;
# env VERA_Z3_TIMEOUT_MS; raise it to tell a
# needs-more-time Tier 3 from a never one, #1350)
vera compile file.vera # Compile to .wasm binary
vera compile --wat file.vera # Print WAT text (human-readable WASM)
vera compile --target browser file.vera # Compile + emit browser bundle
vera compile --target wasi-p2 file.vera # Emit a WASI Preview 2 component (experimental, IO+Random; #237)
vera run file.vera # Compile and execute (calls main)
vera run file.vera --fn f -- 42 # Call function f with argument 42
vera run --target wasi-p2 file.vera # Execute under the built-in WASI 0.2 host (spec/13-wasi.md)
vera compile --target wasi-p2 --world server file.vera # wasi:http server component for `wasmtime serve` (spec §13.7)
vera serve file.vera # Serve handle(Request -> Response) over HTTP (#305)
vera serve --port 8080 file.vera # Serve on a specific port (default 8000)
vera test file.vera # Contract-driven testing via Z3 + WASM
vera test --json file.vera # Test with JSON output
vera test --trials 50 file.vera # Limit trials per function (default 100)
vera parse file.vera # Print the parse tree
vera ast file.vera # Print the typed AST
vera ast --json file.vera # Print the AST as JSON
vera fmt file.vera # Format to canonical form (stdout)
vera fmt --write file.vera # Format in place
vera fmt --check file.vera # Check if already canonical
vera lsp # Serve LSP over stdio (needs the [lsp] extra; see LSP_SERVER.md)
vera version # Print the installed version (also --version, -V)
vera builtins [--json] # List the built-in function registry (no file needed)
vera effects [--json] # List the effect and ability registry (no file needed)
vera errors [--json] # List the diagnostic code registry E001–E702 + W001/W002 (no file needed)
pytest tests/ -v # Run the test suite (see TESTING.md)
VERA_JS_COVERAGE=1 pytest tests/test_browser.py -v # Browser tests with JS coverage
VERA_EAGER_GC=1 vera run file.vera # Force GC on every alloc (see ENVIRONMENT.md, debug knob for #593-class GC-rooting bugs)
VERA_DEBUG_HOST_ERRORS=1 vera run file.vera # Re-raise a host callback's own exception (see ENVIRONMENT.md, debug knob for host-binding bugs)
mypy vera/ # Type-check the compiler itself
python scripts/check_conformance.py # Verify all 244 conformance programs (positives pass their level; negatives fail with their expected_error E-code)
python scripts/check_examples.py # Verify all 43 examples parse + check + verify
python scripts/check_examples_run.py # Run every runnable example trap-free under the native runtime; the rest carry a documented skip property, and an example that is neither is an error
python scripts/check_corpus_canonical.py # Verify all 294 corpus programs are in canonical form (vera fmt)
python scripts/check_examples_readme.py # Verify vera run commands in examples/README.md
python scripts/check_spec_examples.py # Verify spec code blocks parse
python scripts/check_readme_examples.py # Verify README code blocks parse
python scripts/check_examples_doc.py # Verify EXAMPLES.md code blocks parse
python scripts/check_skill_examples.py # Verify SKILL.md code blocks parse
python scripts/check_faq_examples.py # Verify FAQ code blocks parse
python scripts/check_debruijn_examples.py # Verify DE_BRUIJN.md code blocks parse
python scripts/check_pypi_readme_examples.py # Verify PYPI_README code blocks parse + check + verify
python scripts/check_html_examples.py # Verify HTML code blocks parse + check + verify
python scripts/check_doc_builtin_shadowing.py # Verify no doc example redefines a built-in (E151; #819)
python scripts/check_editor_grammars.py # Verify every editor grammar under editors/, and the two extension READMEs that repeat the list in prose, carry every built-in effect name from the live registry (#1156)
python scripts/check_diagnostic_fields.py # Verify every diagnostic carries rationale + spec_ref (+ fix for errors; warnings exempt) or a # diag-fields-exempt reason — waives missing/unresolvable fields only, never a factually wrong spec_ref/error_code (#682)
python scripts/check_explicit_encoding.py # Verify every text-mode open()/read_text()/write_text() passes explicit encoding='utf-8' (#645)
python scripts/build_site.py # Regenerate AI-readable site assets (llms.txt, etc.)
python scripts/check_site_assets.py # Verify site assets are up-to-date + docs/index.html ↔ docs/index.md state coherent facts (#1154)
python scripts/check_version_sync.py # Verify version consistency
python scripts/check_doc_counts.py # Verify documentation counts match codebase
python scripts/check_doc_counts.py --check-bug-issues # Also check KNOWN_ISSUES' Bugs table against the open `bug` issues (GitHub API; release-PR time, not pre-commit)
python scripts/check_corpus_differential.py --base-ref origin/main # Compile the corpus at two revisions; report programs whose WAT moved (burndown instrument, not a hook)
python scripts/check_licenses.py # Verify all package licenses are MIT-compatible
python scripts/check_wheel_availability.py # Verify every runtime dep has wheels for all supported platforms (README §Supported platforms)
python scripts/check_limitations_sync.py # Verify limitation tables are in sync
python scripts/check_limitations_sync.py --check-states # Also verify issues are still open via GitHub API
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 · 241 lines · 6,084 tokens per session scan A dc0662629005
vera CLAUDE.md is an instructions file published in the GitHub repository aallan/vera (412 stars, last pushed today), licensed MIT. It adds 6,084 tokens to every session, about $0.0304 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
sema AGENTS.md
AGENTS.md instructions for sema-lisp/sema, covering agents.md — sema (lisp with llm primitives, in rust), build & test, architecture (cargo workspace), key design patterns and writing style — plain technical english (mandatory).
sema CLAUDE.md
Claude Code instructions for sema-lisp/sema, a project described as: A Lisp with first-class LLM primitives, implemented in Rust.
sounio CLAUDE.md
Claude Code instructions for Sounio-lang/sounio, covering claude.md, 1. calibration — read before any analysis, 2. project identity, 3. session bootstrap and 4. build & run.
sounio AGENTS.md
AGENTS.md instructions for Sounio-lang/sounio, covering agents.md, steps, purpose, recovery + remote-first bootstrap and repository identity.
nsforge-mcp copilot-instructions.md
Instructions for u9401066/nsforge-mcp, covering copilot 自定義指令, 開發哲學 💡, 法規遵循, 架構原則 and python 環境(uv 優先).
sounio copilot-instructions.md
Copilot instructions for Sounio-lang/sounio, covering sounio language instructions for github copilot, compiler, critical syntax differences from rust, effects system (required) and variables and types.