cdp-cli

cdp-cli is a skill for Claude Code, Codex from bdmorin/the-no-shop. It costs 53 tokens per session (981 once invoked), scanned A, original, MIT.

A command-line tool for controlling a running Chromium browser—such as Chrome, Brave, Edge, or Arc—through its developer connection. It can work with pages where the user is already signed in.

In plain words
What is it for?
Use it to list tabs, read page text, collect links, take screenshots, run JavaScript, or navigate an open browser tab.
Why use it?
It lets a coding agent inspect and interact with open browser tabs without asking for saved passwords or another login.

Skill for Claude CodeCodex

Part of the cdp-cli plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/bdmorin/the-no-shop/cdp-cli
Any agent
npx skills add bdmorin/the-no-shop --skill cdp-cli
Clone the repo
git clone --depth 1 https://github.com/bdmorin/the-no-shop

Made for: Claude Code, Codex.

Or install cdp-cli, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdmorin/the-no-shop/cdp-cli.svg)](https://agentmods.dev/skills/bdmorin/the-no-shop/cdp-cli)
Your own site
<a href="https://agentmods.dev/skills/bdmorin/the-no-shop/cdp-cli"><img src="https://agentmods.dev/badge/skills/bdmorin/the-no-shop/cdp-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00981
Opus 5 $0.00026 $0.00491
Sonnet 5 $0.00011 $0.00196
Haiku 4.5 $0.00005 $0.00098

Measured 5d ago against content hash 7e3f5c2ecb57, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cdp-cli 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 5d 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/cdp-cli/skills/cdp-cli/SKILL.md · 107 lines

How it starts

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

cdp-cli — Session Rider for Chromium Browsers

Connect to a running Chromium browser (Brave, Chrome, Edge, Arc) via Chrome DevTools Protocol. Access all authenticated sessions — Gmail, Slack, Hostinger, whatever the user is logged into — without credentials or re-authentication.

No MCP. No Playwright. No extension. Pure CDP over WebSocket.

Setup

The browser must be running with --remote-debugging-port=9222. Use cdp-cli ensure to auto-detect and relaunch on macOS:

cdp-cli ensure

Or launch manually:

open -a "Brave Browser Beta" --args --remote-debugging-port=9222

One-time dependency install:

bun add puppeteer-core

Commands

cdp-cli tabs                       # List all open tabs (title + URL)
cdp-cli content <match>            # Extract text from matching tab
cdp-cli links <match>              # Extract all links from matching tab
cdp-cli screenshot <match> [path]  # Screenshot matching tab
cdp-cli eval <match> <js>          # Run JavaScript in matching tab
cdp-cli navigate <match> <url>     # Navigate matching tab to a URL
cdp-cli ensure                     # Ensure browser has CDP enabled (macOS)

The <match> argument finds a tab by case-insensitive substring on title or URL. Use "first" for the first tab, or a number for tab index.

When to Use This vs Playwright Skill

Need Use
Access a site the user is logged into cdp-cli — rides existing session
Scrape a public URL Playwright skill — headless, no session needed
Screenshot a deploy for verification Either works — cdp-cli if already open
Fill forms on unknown sites Playwright skill with Stagehand
Read content from user's open tabs cdp-cli — already loaded, sub-second

Examples

# What tabs are open?
cdp-cli tabs

# Get the inbox count from Gmail
cdp-cli eval "gmail" "document.title"

# Extract article text from a tab
cdp-cli content "medium.com"

# Screenshot the Hostinger dashboard
cdp-cli screenshot "hostinger" ./tmp/hostinger.png

# Get all links from a GitHub PR
cdp-cli links "github.com/pull"

Read the full file on GitHub · 107 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. 5d ago First seen · 107 lines · 53 tokens per session scan A 7e3f5c2ecb57

Subscribe to this mod's changes

cdp-cli is a skill published in the GitHub repository bdmorin/the-no-shop (10 stars, last pushed 5mo ago), licensed MIT. It adds 53 tokens to every session and 981 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

vast-ai-gpu-cloud

Safely inspect and operate Vast.ai marketplace instances with the vastai CLI, live offer data, and explicit approval before paid or destructive actions.

synthetic-sciences/openscience · 34 tokens

browser-use

Drive agentglass's built-in browser — the one already signed in to the sites this project uses. Use when a task needs a page behind a login (a dashboard, a ticket, a staging app), when a URL fetched with curl comes back signed out or JavaScript-rendered, or when the user asks you to look at, click through, or…

SirAllap/agentglass · 80 tokens

legal-iros-registry-automation

대법원 인터넷등기소(IROS, iros.go.kr)에서 법인·부동산 등기부등본(등기사항증명서)을 여러 건 일괄 발급할 때 안전한 작업 순서와 로컬 자동화 방법을 안내합니다. 로그인·인증·결제는 사용자가 브라우저에서 직접 처리하고, 본 스킬은 장바구니 담기· 결제 후 열람·저장·종합 리포트 생성을 보조합니다. 다음과 같은 요청 시 반드시 이 스킬을 사용하세요: "법인등기부등본 100개 한번에 떼야 해", "회사 100개 등기부 정리해줘" "고객사 등기부등본 일괄 발급", "실사 대상 법인 등기 묶음 처리" "인터넷등기소 자동화", "iros.go.kr 일괄 발급"…

modu-ai/moai-cowork · 310 tokens

citilink-connector

Use this skill when the operator needs Citilink electronics data — search or a product card. Trigger on "ситилинк", "citilink", "ситилинк цена". Always needs the operator's Chrome over CDP (Qrator rate block + gRPC-web). Skip for non-Citilink tasks.

Vladimir-Human/ru-marketplace-mcp · 75 tokens

dns-connector

Use this skill when the operator needs DNS-Shop electronics data — search or a product card. Trigger on "днс", "dns-shop", "dns", "ноутбук днс". Always needs the operator's Chrome over CDP (Qrator proof-of-work). Skip for non-DNS tasks.

Vladimir-Human/ru-marketplace-mcp · 67 tokens

ozon-connector

Use this skill when the operator needs Ozon marketplace data — product details, search, prices, ratings, or reviews. Trigger on Russian queries like "найди на озоне", "цена ozon", "отзывы на озоне", or English mentions of Ozon. Tier 1 (TLS impersonation) handles most queries with no browser; Chrome CDP is only the…

Vladimir-Human/ru-marketplace-mcp · 98 tokens