webmcp-anything 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

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/new1direction/webmcp-anything/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.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.svg" alt="Measured on agentmods" 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. 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.04267 $0.04267
Opus 5 $0.02133 $0.02133
Sonnet 5 $0.00853 $0.00853
Haiku 4.5 $0.00427 $0.00427

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

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. 4d 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 (6 stars, last pushed 2mo ago), licensed MIT. It adds 4,267 tokens to every session, about $0.0213 per session on Opus 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.