evjs AGENTS.md

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

Install

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.

agentmods
npx agentmods add instructions/afx-team/evjs/agents-md
Clone the repo
git clone --depth 1 https://github.com/afx-team/evjs

Made for: Codex, OpenCode.

Per session 1,109 This file is loaded in full into every session.
When invoked 1,109 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01109 $0.01109
Opus 5 $0.00554 $0.00554
Sonnet 5 $0.00222 $0.00222
Haiku 4.5 $0.00111 $0.00111

Measured 3d ago against content hash 85e265548a0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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 · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 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 and route middleware packages/ev/src/_internal/build/discovery/server-conventions.ts packages/ev/tests/build-tools-server-routes.test.ts, packages/ev/tests/commands.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 · 85 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. 3d 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 (23 stars, last pushed 5d ago), licensed MIT. It adds 1,109 tokens to every session, about $0.0055 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-08-30.

Related

Other instructions, from other repositories