webmcp-anything: Instructions file for Codex

AGENTS.md

webmcp-anything AGENTS.md is an instructions file for Codex, OpenCode from New1Direction/webmcp-anything. It costs 4,267 tokens per session, scanned A, original, MIT.

A repository instruction file for coding agents working on wmcp.sh, a service that turns website URLs into tools an AI agent can call. It describes the project layout, technology choices, and rules for adapter files.

In plain words
What is it for?
Use it when changing the wmcp.sh worker, Chrome extension, adapters, or software libraries, especially when deciding where code belongs and which module format or dependencies are allowed.
Why use it?
It gives contributors one source of project guidance and clarifies which rules take priority. This helps prevent incompatible changes across the worker, browser extension, adapters, and software libraries.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; positional $N argument; mentions Claude Code.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import * as shopify from "../../adapters/shopify.js"; // ✓ correct.

Reuse

Borrowing it

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

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 webmcp-anything AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/new1direction/webmcp-anything/agents-md"><img src="https://agentmods.dev/badge/instructions/new1direction/webmcp-anything/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,267 This file is loaded in full into every session.
When invoked 4,267 The same file — it is already loaded in full.
Security scan A 1 finding. 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.04267 $0.04267
Opus 5.5 $0.01707 $0.01707
Sonnet 5.5 $0.00853 $0.00853
Haiku 4.5 $0.00427 $0.00427

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

Security

Grade A, and why

webmcp-anything AGENTS.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`wrangler deploy` ships to production. Pre-deploy: verify typecheck passes. Post-deploy: smoke test the affected route with `curl -i`.
AGENTS.md · 280 lines

How it starts

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

AGENTS.md

Workspace rules for AI coding agents (Claude Code, Cursor, Cline, Gemini CLI, Aider, etc.). Read this first before modifying anything in this repo.

This file is the single source of truth. If CLAUDE.md, .cursorrules, or any other IDE-specific file contradicts it, this file wins — fix the other file.


1. What this project is

wmcp.sh — a hosted Cloudflare Worker that turns any URL into agent-callable MCP tools, plus a Chrome extension, plus open-source adapters, plus SDKs.

  • Production worker: https://wmcp.sh (Cloudflare account [email protected], zone 0284dbcc5d7326bc016b28e3295f4dca)
  • Public repo: https://github.com/New1Direction/webmcp-anything (private during pre-launch, will flip public)
  • Stack: Hono + Cloudflare Workers + KV. TypeScript in worker/, plain ES modules in adapters/.

2. Repo layout

.
├── adapters/                canonical adapter library (shared by worker + extension)
│   ├── shopify.js           live Shopify (read + add_to_cart)
│   ├── jsonld.js            generic schema.org Product
│   ├── openapi.js           any OpenAPI 3.x / Swagger 2.0 spec → tools
│   ├── llm.js               last-resort LLM-fallback via Haiku
│   ├── CONTRACT.md          the detect() / extract() / actions interface
│   ├── _template/           starter scaffold for new adapters
│   ├── _fixtures/           captured pages for offline tests
│   └── _test/run.mjs        node:test harness, zero deps
├── worker/                  hosted API
│   ├── src/*.ts             Hono routes, OAuth, billing, SEO pages, token vault
│   ├── wrangler.toml        CF Worker config + KV bindings
│   └── tsconfig.json
├── extension/               Chrome MV3 extension (cache-back path)
├── sdks/
│   ├── python/wmcp/         Python SDK (pip install wmcp)
│   └── javascript/src/      TypeScript SDK (@wmcp/sdk)
├── scripts/seed_directory.py  pre-cache URLs to populate /u/* SEO pages
├── launch/                  launch-day assets (show-hn, twitter, substack, demo)
└── ADAPTERS_WANTED.md       sites where PRs are welcome

Read the full file on GitHub · 280 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. 2mo ago First seen · 280 lines · 4,267 tokens per session scan A c2d6dfb49c95

Subscribe to this mod's changes

webmcp-anything AGENTS.md is an instructions file published in the GitHub repository New1Direction/webmcp-anything (8 stars, last pushed 10d ago), licensed MIT. It adds 4,267 tokens to every session, about $0.0171 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

webmcp-anything AGENTS.md compared with instructions from other repositories

webmcp-anything AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webmcp-anything AGENTS.mdNew1Direction/webmcp-anythingInstructions file810d agoMITA4,267Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode