router AGENTS.md

Project instructions for developing the Weave Router in the workweave/router repository. They describe its agents, engineering principles, code layers, import rules, and rules for adding code.

In plain words
What is it for?
Use them when modifying, reviewing, or extending the router codebase.
Why use it?
They give coding agents the repository context needed to make changes in the expected places and style.

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/workweave/router/agents-md
Clone the repo
git clone --depth 1 https://github.com/workweave/router

Made for: Codex, OpenCode.

Per session 6,664 This file is loaded in full into every session.
When invoked 6,664 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.06664 $0.06664
Opus 5 $0.03332 $0.03332
Sonnet 5 $0.01333 $0.01333
Haiku 4.5 $0.00666 $0.00666

Measured yesterday against content hash 48b52ea00fc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

router 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 yesterday.

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 · 260 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. yesterday First seen · 260 lines · 6,664 tokens per session scan A 48b52ea00fc7

Subscribe to this mod's changes

router AGENTS.md is an instructions file published in the GitHub repository workweave/router (3,013 stars, last pushed 2d ago), with no licence file. It adds 6,664 tokens to every session, about $0.0333 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

agentgateway copilot-instructions.md

Instructions for agentgateway/agentgateway: Do not check for, speculate about, or report compilation errors during code review. Compilation diagnostics from review are frequently incorrect; rely on CI to detect and report compilation failures.

agentgateway/agentgateway · 41 tokens

aisix CLAUDE.md

Instructions for api7/aisix, covering claude.md, 1. think before coding, 2. simplicity first, 3. surgical changes and 4. goal-driven execution.

api7/aisix · 7,972 tokens

mulmoterminal CLAUDE.md

Instructions for receptron/mulmoterminal, covering claude.md — mulmoterminal, stack & package manager, run after changes, import a component at module scope, never inside a test and no emojis.

receptron/mulmoterminal · 5,467 tokens

nightshift AGENTS.md

Instructions for orwa-mahmoud/nightshift: AI-assisted contributions are welcome. The same correctness, security, licensing, testing, and quality standards apply regardless of which tools are used.

orwa-mahmoud/nightshift · 193 tokens

free-ai-gateway AGENTS.md

Instructions for zaber-dev/free-ai-gateway, covering 🤖 free-ai gateway - agentic development guidelines, 🏛️ monorepo architecture & package boundaries, 🛑 strict architectural rules for agents, 💻 essential developer commands and build all packages across monorepo.

zaber-dev/free-ai-gateway · 955 tokens

hecate providers.instructions.md

Instructions for hecatehq/hecate: For provider work, read internal/providers/AGENTS.md and docs-ai/skills/providers/SKILL.md before editing.

hecatehq/hecate · 179 tokens