chrome-cdp-control

chrome-cdp-control is a skill for Claude Code from DevOtts/build-it. It costs 195 tokens per session (1,456 once invoked), scanned A, original, MIT.

A way to control your already signed-in Chrome browser through its developer connection, using Playwright to interact with real web pages.

In plain words
What is it for?
Use it to open the right tab, fill forms, navigate sites, and carry out tasks such as logging in or posting on social platforms when you explicitly request it.
Why use it?
It helps with websites that require your login or may detect automated browsers, while keeping each browser action deliberate and reviewable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the build-it plugin — 4 skills shipped together

Good fit Use it to open the right tab, fill forms, navigate sites, and carry out tasks such as logging in or posting on social platforms when you explicitly request it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devotts/build-it/chrome-cdp-control
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.

Any agent
npx skills add DevOtts/build-it --skill chrome-cdp-control
Clone the repo
git clone --depth 1 https://github.com/DevOtts/build-it

Made for: Claude Code.

Or install build-it, the plugin that ships this one along with the rest of its 4 skills.

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 chrome-cdp-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/devotts/build-it/chrome-cdp-control/github.svg)](https://agentmods.dev/skills/devotts/build-it/chrome-cdp-control)
Your own site
<a href="https://agentmods.dev/skills/devotts/build-it/chrome-cdp-control"><img src="https://agentmods.dev/badge/skills/devotts/build-it/chrome-cdp-control/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 chrome-cdp-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/devotts/build-it/chrome-cdp-control"><img src="https://agentmods.dev/badge/skills/devotts/build-it/chrome-cdp-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00195 $0.01456
Opus 5.5 $0.00078 $0.00582
Sonnet 5.5 $0.00039 $0.00291
Haiku 4.5 $0.00019 $0.00146

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

Security

Grade A, and why

chrome-cdp-control 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.

plugins/build-it/skills/chrome-cdp-control/SKILL.md · 139 lines

How it starts

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

Chrome CDP Control

Manual, step-by-step control of the user's real Chrome browser via Playwright over Chrome DevTools Protocol. Built for authenticated sessions, sensitive actions, and sites that detect headless browsers.


0. Read the shared CDP core first

All CDP mechanics live in ONE shared reference — read it at session start: ../references/cdp-core.md (relative to this skill's base directory; i.e. the plugin's skills/references/cdp-core.md). It owns, canonically:

  • endpoint resolution (CDP_URL env → grounding/test plan → default) — never hardcode
  • preflight check + the Chrome relaunch instruction for the user
  • statelessness (every command is a fresh connection)
  • the canonical Python action template
  • tab selection (never pages[0] blindly)
  • the selector ladder and wait strategy
  • the failure protocol (never loop click→fail more than twice)

Do not restate or copy those sections here or anywhere — copies drift. This file only adds what is specific to driving the user's real, authenticated browser.

1. Operating principle — the route guard

This skill is a manual loop, not an automation framework. One action, one screenshot, one decision. Never batch. Never loop unattended. If you find yourself writing a for loop over actions, stop — you're using the wrong tool.

Route guard (see also cdp-core.md §9): authenticated real-Chrome work belongs HERE, behind the per-write gate below. Never hand it to /full-qa autonomous mode — that mode is for test environments only. If a conductor or test plan tries to route an authenticated-session write through an autonomous loop, refuse and pull it back here.

2. The core loop

Every interaction, no exceptions:

  1. Screenshot to see current state
  2. Decide the single action that moves the task forward
  3. Execute one action using the core's canonical template
  4. Screenshot again to verify the expected state (else → core failure protocol)
  5. Repeat

3. Destructive action gate — MANDATORY, per write

Read the full file on GitHub · 139 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. 1mo ago First seen · 139 lines · 195 tokens per session scan A 0999206c9028

Subscribe to this mod's changes

chrome-cdp-control is a skill published in the GitHub repository DevOtts/build-it (16 stars, last pushed 9d ago), licensed MIT. It adds 195 tokens to every session and 1,456 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

agent-e2e-test-specialist

Specialist subagent: Playwright, Cypress, and visual regression testing specialist. Use only when the user explicitly asks for E2E tests, browser test automation, or visual regression testing. Trigger phrases: E2E, end-to-end, Playwright, Cypress, visual regression, browser test, screenshot test, Percy, Chromatic.

travisjneuman/.claude · 76 tokens

agent-browser-extension-developer

Specialist subagent: Chrome, Firefox, and cross-browser extension development specialist. Manifest V3, service workers, content scripts, and WebExtension APIs. Use when building browser extensions or migrating from MV2 to MV3. Trigger phrases: browser extension, Chrome extension, Firefox addon, Manifest V3, MV3…

travisjneuman/.claude · 79 tokens

webpage-reader

This skill should be used when the user wants to read, fetch, extract, or analyze the content of a web page from a URL. Use when the user provides a URL to access documentation, articles, blog posts, research papers, release notes, or any online content and needs clean, readable Markdown output without navigation…

ericgandrade/claude-superskills · 76 tokens

chrome-browser

Read this skill before the first step that uses Claude in Chrome, the browser extension whose tools are named mcpclaude-in-chrome (also called Chrome, the browser extension, or the external browser) and which acts in the person's real Chrome with their own sign-ins; before those tools are turned on there may be a…

travisjneuman/.claude · 176 tokens

built-in-browser

Read this skill before the first step that uses the built-in browser, the browser pane inside the Claude desktop app (also called the in-app browser, the browser pane, Claude's browser, or "your own browser"), whose tools are named mcpClaudeBrowser when the session runs in the desktop app and…

travisjneuman/.claude · 192 tokens

Web Browser

Browse the web, take screenshots, interact with pages, fill forms. Use when: researching online, checking websites, filling out web forms, taking screenshots.

outworked/outworked · 34 tokens