browser-cdp

browser-cdp is a skill for Claude Code from taslim/nanoclaw-gws-ea. It costs 37 tokens per session (604 once invoked), scanned A, original, MIT.

A way to control a real Chrome browser running on the host computer through a debugging connection. It supports browser actions such as opening pages, clicking, typing, taking screenshots, and keeping logged-in sessions.

In plain words
What is it for?
Use it to navigate websites, interact with authenticated pages, reuse browser sessions, and access sites with bot protection when the host browser is available.
Why use it?
It helps when a website requires login, remembers a session, or blocks automated browsers. Simple public pages can instead be browsed with the faster headless browser tool.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to navigate websites, interact with authenticated pages, reuse browser sessions, and access sites with bot protection when the host browser is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/taslim/nanoclaw-gws-ea/browser-cdp
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 taslim/nanoclaw-gws-ea --skill browser-cdp
Clone the repo
git clone --depth 1 https://github.com/taslim/nanoclaw-gws-ea

Made for: Claude Code.

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 browser-cdp

README.md
[![agentmods](https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/browser-cdp/github.svg)](https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/browser-cdp)
Your own site
<a href="https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/browser-cdp"><img src="https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/browser-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.

agentmods 80×15 button for browser-cdp

Your own site · 80×15
<a href="https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/browser-cdp"><img src="https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/browser-cdp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 604 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.00037 $0.00604
Opus 5 $0.00018 $0.00302
Sonnet 5 $0.00007 $0.00121
Haiku 4.5 $0.00004 $0.00060

Measured 10d ago against content hash bb0832ca82a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

browser-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.

container/skills/browser-cdp/SKILL.md · 68 lines

How it starts

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

Host Browser via CDP

Real headed Chrome on the host. Use for sites that need login, persistent sessions, or have bot detection. For simple public page lookups, use agent-browser instead (headless, faster).

Only available when $HOST_BROWSER is set (main and heartbeat groups).

Commands

browser-cdp tabs                          # List open pages
browser-cdp new [url]                     # Open new tab (optional URL)
browser-cdp go <page> <url>              # Navigate to URL
browser-cdp go <page> back               # Go back
browser-cdp go <page> forward            # Go forward
browser-cdp go <page> reload             # Reload
browser-cdp close <page>                 # Close tab
browser-cdp snapshot <page>              # Accessibility tree (interactive elements)
browser-cdp click <page> <selector>      # Click element
browser-cdp click <page> <selector> -g   # Click with user gesture (fullscreen, WebXR)
browser-cdp fill <page> <text> <selector> # Clear and type into input
browser-cdp key <page> <key>             # Press key (enter, tab, escape)
browser-cdp screenshot <page>            # Screenshot to stdout
browser-cdp screenshot <page> --output f.png  # Screenshot to file
browser-cdp eval <page> <expression>     # Run JavaScript
browser-cdp console <page>               # Recent console messages
browser-cdp console <page> --all         # All console messages
browser-cdp network <page>               # Recent network requests

Page addressing

Pages are matched by title, URL fragment, or numeric ID from browser-cdp tabs.

Output

NDJSON — one JSON object per line. Parse with jq if needed.

Workflow: login with 1Password

browser-cdp new https://example.com/login
browser-cdp snapshot 1
# Use 1Password MCP to get credentials
browser-cdp fill 1 "[email protected]" "[name=email]"
browser-cdp fill 1 "password123" "[name=password]"
browser-cdp click 1 "[type=submit]"
# Session cookies persist in the host Chrome profile
browser-cdp snapshot 1

Read the full file on GitHub · 68 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. 10d ago First seen · 68 lines · 37 tokens per session scan A bb0832ca82a8

Subscribe to this mod's changes

browser-cdp is a skill published in the GitHub repository taslim/nanoclaw-gws-ea (11 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 604 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens