Borrowing it
Nothing to install: this file belongs to plasmate-labs/plasmate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/plasmate-labs/plasmate/master/CLAUDE.mdgit clone --depth 1 https://github.com/plasmate-labs/plasmateWrote 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.
[](https://agentmods.dev/instructions/plasmate-labs/plasmate/claude-md)<a href="https://agentmods.dev/instructions/plasmate-labs/plasmate/claude-md"><img src="https://agentmods.dev/badge/instructions/plasmate-labs/plasmate/claude-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.
<a href="https://agentmods.dev/instructions/plasmate-labs/plasmate/claude-md"><img src="https://agentmods.dev/badge/instructions/plasmate-labs/plasmate/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.46758 | $0.46758 |
| Opus 5.5 | $0.18703 | $0.18703 |
| Sonnet 5.5 | $0.09352 | $0.09352 |
| Haiku 4.5 | $0.04676 | $0.04676 |
Grade A, and why
plasmate 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 1mo 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 — 3,048 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plasmate
The browser engine for AI agents. HTML in, Semantic Object Model out.
Quick Start
# Build
cargo build --release
# Run
./target/release/plasmate fetch https://example.com
# MCP mode (for Claude Code, Cursor, etc.)
./target/release/plasmate mcp
Architecture
src/main.rs- CLI entry point (Clap)src/network/- HTTP fetch with H1/H2 fallback, custom headerssrc/som/- Semantic Object Model compiler (HTML to structured JSON)src/cdp/- Chrome DevTools Protocol serversrc/awp/- Agent Web Protocol handlersrc/bench/- Benchmarking runnersrc/js/- V8 JavaScript execution enginewebsite/- plasmate.app homepageintegrations/- Framework adapters (Vercel AI, LangChain, browser-use)
Key Commands
plasmate fetch <url>- Fetch URL, output SOM JSONplasmate fetch <url> --text- Extract readable text onlyplasmate fetch <url> -H "Authorization: Bearer ..."- Fetch with custom headersplasmate serve- Start CDP serverplasmate mcp- Start MCP server (stdio)plasmate bench <url>- Run benchmarks
Testing
cargo test
cargo check
Version
Version is derived from Cargo.toml via env!("CARGO_PKG_VERSION"). Do not hardcode version strings.
Running State
2026-05-17T07:06:05Z - Plasmate Improvements Automation
- Git sync: required
git fetch --prune originwas attempted first in the linked automation worktree and failed because shared worktree metadataFETCH_HEADcould not be opened (Operation not permitted). Fallback fetch from/Users/steve/Git/plasmatefailed DNS forgithub.com, so work continued from the already-localHEAD/origin/master11eda59. - Market direction: current trend research still supports the local-first SOM
wedge. Browserbase/Stagehand emphasizes
act/extract/observe/agent, action caching, session replay, prompt observability, and local-to-cloud portability; Cloudflare Browser Rendering added CDP endpoints plus MCP client support; Firecrawl continues packaging scrape/search/extract and browser interaction through MCP surfaces. No hosted-browser pivot is recommended; the sticky move is making ordinary CDP clients resolve SOM-backed action targets with selectors and node attributes before raw DOM recovery. - Code changes: CDP
DOM.querySelector/DOM.querySelectorAllnow support tag-qualified and bare attribute selectors forname,href,type,aria-label,aria-labelledby,aria-describedby,role, test ids, and boolean availability attrs. Text/label matching is now case-insensitive. CDP DOM nodes now expose replay attributes such asdata-plasmate-id,data-som-role, HTML id, test id, ARIA label, href/name/type, and disabled/readonly/required flags when available. - Docs changes: README, PRD, roadmap source docs, and generated website docs now document the CDP attribute-selector rationale and selector/node-attribute compatibility contract.
- Verification passed: touched-file rustfmt check, focused
cargo test cdp::,node website/build.mjswith the primary-checkoutwebsite/node_modulessymlink removed afterward,git diff --check,cargo build --quiet,cargo test --lib --quiet(281), andcargo clippy --quietwith existing warnings. - Verification blocked: full
cargo test --quietstill fails only in sandboxedtests/awp_integration_test.rsbecause local listener setup returnsOperation not permitted. - Commit/push state: alternate-index commit
31dc7c1(chore: improve CDP attribute selector parity) was pushed to remotemasterand toorigin/codex/plasmate-improvements-2026-05-17-cdp-attribute-selectors.
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.
- 1mo ago Changed · +5 tokens per session e8167fa0cfcb
- 2mo ago First seen · 3,048 lines · 46,753 tokens per session scan A 49b624d358e5
plasmate CLAUDE.md is an instructions file published in the GitHub repository plasmate-labs/plasmate (39 stars, last pushed today), licensed Apache-2.0. It adds 46,758 tokens to every session, about $0.1870 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-30.
plasmate CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plasmate CLAUDE.mdplasmate-labs/plasmate | Instructions file | 39 | today | Apache-2.0 | A | 46,758 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |