evjs: Instructions file for Codex

AGENTS.md

evjs AGENTS.md is an instructions file for Codex, OpenCode from afx-team/evjs. It costs 1,270 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working in the evjs JavaScript monorepo, a codebase containing multiple related packages. They explain where to read project rules, architecture details, documentation, source code, and tests.

In plain words
What is it for?
Use them when modifying evjs pages, routes, build tools, runtime, bundling, deployment, documentation, or scaffolds, and when deciding which tests and validation to run.
Why use it?
They reduce the risk of changing the wrong package or leaving documentation, translations, and tested behavior inconsistent.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/afx-team/evjs/agents-md"><img src="https://agentmods.dev/badge/instructions/afx-team/evjs/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,270 This file is loaded in full into every session.
When invoked 1,270 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.01270 $0.01270
Opus 5.5 $0.00508 $0.00508
Sonnet 5.5 $0.00254 $0.00254
Haiku 4.5 $0.00127 $0.00127

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

Security

Grade A, and why

evjs 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 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.

AGENTS.md · 91 lines

How it starts

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

AGENTS.md

Repository instructions for coding agents working in the evjs monorepo.

Start here

  • Read CONTRIBUTING.md for package ownership, contributor workflow, and focused validation.
  • Read ARCHITECTURE.md before changing graph, build, runtime, bundler, or deployment ownership.
  • Use docs/docs/ for public framework behavior.

The Page-and-Route authoring source of truth is the convention matrix in docs/docs/project-structure.md. Update its English and Chinese versions together whenever pages, API routes, server functions, examples, or scaffolds change.

Before editing, inspect the affected package, its tests, and the implementation source listed below. When prose and tested behavior disagree, fix the prose or the implementation rather than preserving the mismatch.

Source map

Concern Implementation source Primary coverage
Page files and URL segments packages/ev/src/_internal/build/conventions/page-route-conventions.ts discovery/page-routes.ts, packages/ev/tests/build-tools-page-routes.test.ts
API route files and URL segments packages/ev/src/_internal/build/conventions/server-route-conventions.ts discovery/server-routes.ts, packages/ev/tests/build-tools-server-routes.test.ts
Global middleware discovery packages/ev/src/_internal/build/discovery/server-conventions.ts packages/ev/tests/build-tools-server-routes.test.ts, packages/ev/tests/commands.test.ts
HTTP method middleware composition packages/server/src/routes/api-handler.ts packages/server/tests/api-handler.test.ts, packages/ev/tests/server-middleware-runtime.test.ts
Public configuration and routing mode packages/ev/src/config/resolution.ts through packages/ev/src/config/index.ts packages/ev/tests/config.test.ts
Graph and build planning packages/ev/src/_internal/build/graph/*, plan/* packages/ev/tests/build-tools-graph-plan.test.ts
Plugin settings and generated Page types packages/ev/src/config/plugins.ts, _internal/build/plugins/settings.ts, typegen/plugin-types.ts packages/ev/tests/plugin-settings.test.ts, plugin-types.test.ts
Shared output contracts packages/shared/src/manifest packages/shared/tests/manifest.test.ts

Read the full file on GitHub · 91 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. 4d ago Changed · +11 tokens per session 222bc61bc1be
  2. 6d ago Changed · +1 lines · +33 tokens per session 60c8c13bd10f
  3. 2mo ago Changed · +5 lines · +117 tokens per session 47b8a4a63181
  4. 2mo ago First seen · 85 lines · 1,109 tokens per session scan A 85e265548a0b

Subscribe to this mod's changes

evjs AGENTS.md is an instructions file published in the GitHub repository afx-team/evjs (27 stars, last pushed 4d ago), licensed MIT. It adds 1,270 tokens to every session, about $0.0051 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

evjs AGENTS.md compared with instructions from other repositories

evjs AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
evjs AGENTS.mdafx-team/evjsInstructions file274d agoMITA1,270Codex, 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