web-capability-compiler: Instructions file for Codex

AGENTS.md

web-capability-compiler AGENTS.md is an instructions file for Codex, OpenCode from Maaa2005/web-capability-compiler. It costs 605 tokens per session, scanned A, original, MIT.

A project instruction file for coding agents working on the Web Capability Compiler. It identifies the implementation specification, required work order, safety limits, evidence rules, and testing expectations.

In plain words
What is it for?
Use it to guide implementation, testing, schema changes, evidence collection, and decisions about which browser capabilities may be executed.
Why use it?
It gives agents project-specific rules so they know which documents and constraints govern changes. It also prevents unsupported scope expansion and unsafe actions.

Instructions file for CodexOpenCode

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

This is Maaa2005/web-capability-compiler's own configuration. It tells Codex and OpenCode how to work on web-capability-compiler 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 web-capability-compiler configures →

Reuse

Borrowing it

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

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 web-capability-compiler AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/maaa2005/web-capability-compiler/agents-md"><img src="https://agentmods.dev/badge/instructions/maaa2005/web-capability-compiler/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 605 This file is loaded in full into every session.
When invoked 605 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.00605 $0.00605
Opus 5.5 $0.00242 $0.00242
Sonnet 5.5 $0.00121 $0.00121
Haiku 4.5 $0.00060 $0.00060

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

Security

Grade A, and why

web-capability-compiler 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 2d 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 · 54 lines

How it starts

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

Instructions for coding agents

The implementation source of truth is docs/spec/WCC_AGENT_IMPLEMENTATION_SPEC_v0.2.1.md. Read it before changing anything. This file summarizes Section 0 of that document; where the two disagree, the specification wins.

Implement WCC in the phase order of specification Section 13. Do not broaden the scope without an explicit instruction from the project owner.

Rules

  1. Complete one phase and its acceptance criteria before starting the next phase.
  2. Prefer deterministic parsing over LLM inference whenever the same result can be obtained from HTML, ARIA, JSON-LD, or browser state.
  3. Do not implement irreversible actions such as purchase confirmation, account deletion, message sending, or state-changing form submission in MVP v0.1.
  4. Never execute a capability whose risk level is above low. Higher levels may be listed but must be blocked.
  5. Preserve evidence for every generated entity and capability. The system must be able to explain which DOM element or page signal produced each result.
  6. Add or update tests with every implementation change.
  7. Do not silently change schemas. Schema changes require a version increment and migration notes.
  8. Do not add an independent autonomous agent. WCC is a compilation and execution layer used by external agents.
  9. Keep the LLM provider optional and replaceable. Core extraction and execution must run without an LLM.
  10. All browser access goes through the Driver interface. Do not call Playwright APIs outside src/wcc/driver/.
  11. At the end of each phase, update docs/progress.md with completed work, test results, unresolved issues, and the next phase.
  12. Do not collapse CapabilityTemplate and BoundCapability into one model. Templates are portable and reusable; bound capabilities are session-scoped.
  13. Do not treat a structural hash as a reusable page signature. Implement the three fingerprints of specification 7.3 with their specified roles.
  14. Do not add dynamic MCP tool registration in MVP v0.1. Use the six stable tools of specification Section 12.

Read the full file on GitHub · 54 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. 2d ago Changed · +3 lines · +59 tokens per session 81a4f6bde64f
  2. 2mo ago First seen · 51 lines · 546 tokens per session scan A 2347ad14cac7

Subscribe to this mod's changes

web-capability-compiler AGENTS.md is an instructions file published in the GitHub repository Maaa2005/web-capability-compiler (0 stars, last pushed yesterday), licensed MIT. It adds 605 tokens to every session, about $0.0024 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-31.

Related

web-capability-compiler AGENTS.md compared with instructions from other repositories

web-capability-compiler AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-capability-compiler AGENTS.mdMaaa2005/web-capability-compilerInstructions file0yesterdayMITA605Codex, 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