expressive-mvc: Instructions file for Codex

AGENTS.md

expressive-mvc AGENTS.md is an instructions file for Codex, OpenCode from gabeklein/expressive-mvc. It costs 3,766 tokens per session, scanned A, original, MIT.

Repository instructions for Expressive MVC, a JavaScript library for managing changing application data, with adapters for React and Preact. A monorepo is one repository containing several related packages.

In plain words
What is it for?
Use it when developing the library to understand its packages, install and build with Bun, run Vitest tests, and follow the documented API guidance.
Why use it?
It explains the project layout and the required tools so coding agents can make changes consistently across its packages.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is gabeklein/expressive-mvc's own configuration. It tells Codex and OpenCode how to work on expressive-mvc 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 expressive-mvc configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { mockPromise, mockWarn, mockError } from '../test.setup';.

Reuse

Borrowing it

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

Made for: 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 expressive-mvc AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gabeklein/expressive-mvc/agents-md"><img src="https://agentmods.dev/badge/instructions/gabeklein/expressive-mvc/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,766 This file is loaded in full into every session.
When invoked 3,766 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.03766 $0.03766
Opus 5.5 $0.01506 $0.01506
Sonnet 5.5 $0.00753 $0.00753
Haiku 4.5 $0.00377 $0.00377

Measured 22d ago against content hash 548b4a2a9361, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

expressive-mvc 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 22d 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 · 147 lines

How it starts

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

AGENTS.md

Contributor guide for AI agents working in this repository.

Overview

Expressive MVC - class-based reactive state management library. Use skills/SKILL.md and linked references to establish the intended public contract and conventions. When working on the library itself, inspect the relevant source and tests before designing or implementing changes; use the skill docs as orientation rather than as a substitute for implementation evidence.

Monorepo: bun workspaces + changesets. Install, scripts, and builds run under bun (bun install, bun run build); tests run on vitest, which executes on node (bun run test invokes it - you never call node directly). Node otherwise appears only in release.yml, where changeset publish shells to npm for the OIDC-authenticated publish.

Structure

packages/mvc    - Core primitives (@expressive/mvc)
packages/react  - React adapter (@expressive/react)
packages/preact - Preact adapter (@expressive/preact)
packages/router - Router built on Component (@expressive/router)
packages/inspect - In-page inspector for agents and devtools (@expressive/inspect)
skills/         - API reference docs (also published as skills.sh skill)
examples/       - Playground of crawlable example pages (see examples/AGENTS.md)
website/        - Docs site

Commands

bun install              # Install deps
bun run test             # Run package test scripts (typecheck + coverage)
bun run typecheck        # tsc --noEmit --incremental in every package
bun run coverage         # vitest with coverage gates in every package
bun run build            # Build all packages in workspace dependency order

Per-package: test runs typecheck (tsc --noEmit --incremental) then coverage (vitest run --coverage). A root vitest run covers every package's suite at once (workspace projects).

Testing

Runner: vitest with istanbul coverage. Test config is centralized in root vitest.config.ts, which defines the workspace projects and exports suite() - per-package vitest.config.ts files are two-liners calling suite() (or suite(true) for DOM packages, which run in vitest's happy-dom environment). Coverage: every package gates statements, branches, functions, and lines at 100% via the shared coverage.thresholds - a conditional arm is either exercised by a test or deleted as dead code. The PR workflow blocks merges on these thresholds; the README badge is generated by .github/workflows/coverage.yml from measured lcov on pushes to main.

Read the full file on GitHub · 147 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. 22d ago Changed · +1 tokens per session 548b4a2a9361
  2. 25d ago Changed · +84 tokens per session b4ccb0216f56
  3. 26d ago Changed · +75 tokens per session 394124e76d69
  4. 27d ago Changed · +82 tokens per session 1609ec8c6b3f
  5. 1mo ago Changed · +4 lines · +194 tokens per session e1585ae49340
  6. 1mo ago Changed · +4 lines · +105 tokens per session 312b14a0ee20
  7. 1mo ago Changed · +2 lines · +280 tokens per session 2341b3280cf6
  8. 1mo ago Changed · +54 tokens per session eba4c4204cd8
  9. 1mo ago Changed · +2 lines · +96 tokens per session 7c740e604de0
  10. 1mo ago First seen · 135 lines · 2,795 tokens per session scan A d60da9c9701b

Subscribe to this mod's changes

expressive-mvc AGENTS.md is an instructions file published in the GitHub repository gabeklein/expressive-mvc (103 stars, last pushed yesterday), licensed MIT. It adds 3,766 tokens to every session, about $0.0151 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

expressive-mvc AGENTS.md compared with instructions from other repositories

expressive-mvc AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
expressive-mvc AGENTS.mdgabeklein/expressive-mvcInstructions file103yesterdayMITA3,766Codex, 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