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.
npx agentmods add instructions/artmann/web-developer-mcp/claude-mdgit clone --depth 1 https://github.com/Artmann/web-developer-mcpWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01161 | $0.01161 |
| Opus 5 | $0.00580 | $0.00580 |
| Sonnet 5 | $0.00232 | $0.00232 |
| Haiku 4.5 | $0.00116 | $0.00116 |
Grade A, and why
web-developer-mcp CLAUDE.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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Instructions for WebDev MCP Server
This is a Model Context Protocol (MCP) server for web development that provides browser automation tools using Playwright.
Development Guidelines
Code Style & Organization
- Use TypeScript with strict type checking
- Follow alphabetical sorting for object properties and interface fields
- Use early returns to reduce nesting
- Add blank lines between methods and logical sections
- Prefer
as constfor literal types to ensure proper MCP content typing - Use
globalThis as anyfor browser globals in Playwright evaluation contexts
Project Structure
src/
├── index.ts # Entry point with error handling
├── server.ts # MCP server setup and tool registration
├── browser/
│ └── BrowserManager.ts # Singleton browser management
└── tools/
├── click.ts # Element clicking
├── console.ts # Console output retrieval
├── fill.ts # Form input filling
├── navigate.ts # Browser navigation
├── query-dom.ts # DOM element inspection
├── query-html.ts # HTML extraction
└── submit.ts # Form submission
Browser Management
- Uses singleton pattern for consistent browser state
- Single browser instance with single page (replaces page on navigation)
- Captures console logs automatically on page load
- Supports graceful shutdown via signal handlers
- Navigation State Management: Uses
isNavigatingstate to coordinate timing between tools - Automatic Waiting: Tools wait for navigation completion before executing to ensure dynamic content is captured
Tool Development
- Each tool is a separate module exporting a handler function
- All handlers must return MCP-compatible content with
type: 'text' as const - Include proper error handling with descriptive messages
- Add parameter validation and helpful error messages for missing page state
- Navigation-Dependent Tools: Console, DOM query, and HTML extraction tools
must call
waitForNavigationComplete()before execution - Timing Considerations: Allow additional time (1s) after navigation for JavaScript execution and dynamic content creation
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.
- 2d ago First seen · 147 lines · 1,161 tokens per session scan A 01a21d06f8ff
web-developer-mcp CLAUDE.md is an instructions file published in the GitHub repository Artmann/web-developer-mcp (7 stars, last pushed 1mo ago), licensed MIT. It adds 1,161 tokens to every session, about $0.0058 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-31.
Other instructions, from other repositories
browser-use CLAUDE.md
Claude Code instructions for browser-use/browser-use, covering claude.md, high-level architecture, core components, event-driven browser management and cdp integration.
obscura AGENTS.md
Instructions for h4ckf0r0day/obscura, covering agents.md, build, rendering and stealth, no rendering, with rustls or stealth and test.
stealth-browser-mcp AGENTS.md
Instructions for vibheksoni/stealth-browser-mcp, covering agent instructions, start here, recommended proxy services, environment and validation.
actionbook CLAUDE.md
Instructions for actionbook/actionbook, covering claude.md, project overview, architecture, domain model hierarchy and module structure.
flyto-core AGENTS.md
Instructions for flytohub/flyto-core, covering flyto-core agent rules, flyto2 project memory contract, flyto2 frontend quality gate and repo notes.
agentic-playwright selectors.instructions.md
Instructions for idavidov13/agentic-playwright, covering selector strategy, critical, instructions, phase 1: open and authenticate and phase 2: explore like a user.