verrex: Instructions file for Claude Code

AGENTS.md

verrex AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from m9tdev/verrex. It costs 3,947 tokens per session, scanned A, original, MIT.

Project instructions for Verrex, a TypeScript user-interface framework built around Effect, a library for tracking services and errors in code. They describe how the framework’s parts and rules fit together.

In plain words
What is it for?
Understanding Verrex’s architecture and maintaining its user-interface code and repository-wide rules.
Why use it?
They help an AI make changes without breaking the framework’s compile-time checks for missing services or unhandled errors.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PostToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is m9tdev/verrex's own configuration. It tells Claude Code, Codex and OpenCode how to work on verrex 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 verrex configures →

Reuse

Borrowing it

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

Made for: Claude Code, Codex, OpenCode.

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 verrex AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/m9tdev/verrex/agents-md/github.svg)](https://agentmods.dev/instructions/m9tdev/verrex/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/m9tdev/verrex/agents-md"><img src="https://agentmods.dev/badge/instructions/m9tdev/verrex/agents-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 verrex AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/m9tdev/verrex/agents-md"><img src="https://agentmods.dev/badge/instructions/m9tdev/verrex/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,947 This file is loaded in full into every session.
When invoked 3,947 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.03947 $0.03947
Opus 5.5 $0.01579 $0.01579
Sonnet 5.5 $0.00789 $0.00789
Haiku 4.5 $0.00395 $0.00395

Measured 2mo ago against content hash 9804fc4803ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verrex AGENTS.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 2mo 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.

AGENTS.md · 291 lines

How it starts

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

verrex — Effect-native UI framework

Purpose: a TypeScript UI framework where Effect's <A, E, R> channels propagate from every leaf of the view tree to the root. Forgetting to provide a service Layer becomes a compile-time error that names the missing service; symmetrically, forgetting to handle an error with a Catch boundary becomes a compile-time error that names the unhandled error (mount requires Effect<View<never>, never, R>). Errors live in two phases: construction errors ride the Effect E; live errors a rendered subtree can still produce ride the View<E> success — one Catch boundary discharges both.

Honest scope today: the construction channel is fully type-tracked — a forgotten boundary on a failing build is a compile error. The live channel is tracked wherever a rendered subtree can still fail: (1) an Atom/AtomRef child that EMITS an Effect<View, E> — the fold's phase switch puts that E on View<E> (this is how an atom(...)'s failure escalates: <On value={user} Success={…} /> with no failure arm; a tag arm or Failure handles it in place; partial handling narrows E, the residual rides); (2) event handlers: an intrinsic's on* prop returning Effect<_, E, R> stamps E on the element's View<E> and folds R; (3) For rows and Catch fallbacks fold their E/R too. mount's View<never> gate makes a missing boundary a compile error naming E. Reactivity is effect-atom's API with R/E owned by the caller — see "Reactivity model" in src/runtime/AGENTS.md.

The name is built from the channels of an Effect<View, E, R>: V (View — the A, always the View here), E (Error), R (Requirements), plus X, because the JSX/TSX syntax it borrows adds an X too. V + E + R + X spells verx, stylized to verrex (and the .vx source extension).

Status: experimental proof-of-concept. Not production-ready.

The constraint that shaped everything

Read the full file on GitHub · 291 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. 2mo ago First seen · 291 lines · 3,947 tokens per session scan A 9804fc4803ca

Subscribe to this mod's changes

verrex AGENTS.md is an instructions file published in the GitHub repository m9tdev/verrex (56 stars, last pushed 8d ago), licensed MIT. It adds 3,947 tokens to every session, about $0.0158 per session on Opus 5.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

verrex AGENTS.md compared with instructions from other repositories

verrex AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verrex AGENTS.mdm9tdev/verrexInstructions file568d agoMITA3,947Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode