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 skills add aiguicai/MCP-Gateway --skill chrome-cdpgit clone --depth 1 https://github.com/aiguicai/MCP-GatewayWrote 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/skills/aiguicai/mcp-gateway/chrome-cdp)<a href="https://agentmods.dev/skills/aiguicai/mcp-gateway/chrome-cdp"><img src="https://agentmods.dev/badge/skills/aiguicai/mcp-gateway/chrome-cdp/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/skills/aiguicai/mcp-gateway/chrome-cdp"><img src="https://agentmods.dev/badge/skills/aiguicai/mcp-gateway/chrome-cdp.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.00079 | $0.01939 |
| Opus 5 | $0.00039 | $0.00970 |
| Sonnet 5 | $0.00016 | $0.00388 |
| Haiku 4.5 | $0.00008 | $0.00194 |
Grade A, and why
chrome-cdp 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 10d 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 — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chrome CDP
This built-in skill uses MCP Gateway's bundled cdp.mjs runner. It talks
directly to Chrome DevTools Protocol over WebSocket with no third-party browser
automation bridge.
Default Browser Mode
By default, the gateway starts or reuses a visible Chromium-family browser in managed launch mode.
- It does not attach to the user's already-open Chrome unless the gateway
process is started with
CDP_BROWSER_MODE=attach. - It uses a gateway-managed runtime directory for target caches, per-tab daemons, and CDP state.
- It sets
CDP_PROFILE_MODE=persistentby default. - It sets
CDP_USER_DATA_DIRto the gateway-owned persistent profile path:mcp-gateway/builtin-skills/chrome-cdp/chrome-user-dataunder the OS local data directory. - Cookies, cache, localStorage, and login sessions are reused across commands, browser restarts, and gateway restarts unless the site expires them or the profile directory is deleted.
Cache and Login State
Default behavior is to reuse the existing browser cache/profile. Do not create a fresh profile just because a new task starts, a new page is opened, or the browser was closed and reopened.
Use the default persistent profile when the user asks to:
- open a page
- continue browsing
- debug a site
- use an already logged-in session
- reopen the browser later
Only use a new cache/profile when the user explicitly asks for a clean browser,
fresh cache, separate login, separate account, temporary session, or similar.
In that case, start the gateway with a different CDP_USER_DATA_DIR, or set
CDP_PROFILE_MODE=empty for a blank managed profile. Do not delete or overwrite
the default persistent profile unless the user explicitly asks to clear saved
browser data.
Commands
Short form accepted by the gateway:
open https://example.com
list
snap
eval "document.title"
netclear
net api/chat
netget 1234.56 --request-file "D:\tmp\chat-request.txt" --response-file "D:\tmp\chat-response.txt"
stop
You may also pass the script form; the gateway still runs its bundled script:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 10d ago First seen · 237 lines · 79 tokens per session scan A 0600695dabc3
chrome-cdp is a skill published in the GitHub repository aiguicai/MCP-Gateway (154 stars, last pushed 3mo ago), licensed MIT. It adds 79 tokens to every session and 1,939 once invoked, about $0.0004 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-30.
Other skills, from other repositories
chrome-devtools-cli
Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.
a11y-debugging
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.
chrome-devtools
Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).
chrome-performance-optimizer
Autonomous multi-agent performance optimization loop for Chromium and V8. Supports profile-seeded mode (analyzing Speedometer 3 / JetStream profiles via pprof or Sagacity MCP) and pattern-driven discovery mode (fan-out exploration of Blink and V8 macro-patterns grounded in historical wins and past rejected CLs).…
nullaway
Guide for resolving NullAway static analysis errors. Best practices for: Passing ObservableSupplier/Supplier Dereferencing potentially @Nullable values Adding @NullMarked to Java code.
bisect
Bisect regressions or broken builds in the Chromium repository using deterministic binary search, checking out midpoint commits, syncing dependencies with gclient sync, compiling the target with autoninja, and querying the user for test results until the culprit commit is isolated.