python-cdp-scripts SKILL.md skillA
python-cdp-scripts from m13v/s4l is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add m13v/s4l/python-cdp-scripts@git:20260426.29a5735Pins git:20260426.29a5735 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- m13v/s4l
- Path
.claude/skills/python-cdp-scripts/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260426.29a5735, committed Apr 26, 2026
- First version recorded
- Apr 1, 2026
- Size
- 9,913 bytes
- Repository stars
- 64
- License
- none declared
Use when the user says "convert this browser MCP call to python", "automate this with CDP", "stop using LLM tokens for this scrape", "make this a python script", or wants to replace browser-MCP-driven automation with a Python+CDP script that reuses the running MCP browser's session. Zero LLM tokens consumed once written. Per-platform (e.g., `scripts/linkedin_browser.py`).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Python CDP Browser Scripts Create Python functions that connect to running MCP browser agents via Chrome DevTools Protocol (CDP) and perform complete browser automation workflows. Replaces Claude browser MCP calls entirely — zero LLM tokens consumed. ## Usage ``` /python-cdp-scripts <platform> <action-description> /python-cdp-scripts linkedin "scrape engagement stats for our comments" /python-cdp-scripts linkedin "check if posts are deleted" /python-cdp-scripts linkedin "read unread DM conversations" ``` ## How It Works Unlike browser-script (JS scripts run via Claude's browser_run_code tool calls), this approach: - Python connects directly to the running MCP browser via CDP port - Reuses the existing logged-in session (cookies, tabs) - Returns structured JSON to stdout - Called from shell scripts — Claude is never involved - Zero LLM tokens consumed for the automation ## Architecture Each platform has a single Python file (e.g., `scripts/linkedin_browser.py`) with: 1. `find_cdp_port()` — scans running Chrome/Chromium processes for remote-debugging-port flags …
Read the whole file at its exact version.
How to install
mdr add m13v/s4l/python-cdp-scripts@sha256:05d18f1833059b69The line at the top of this page pins the label git:20260426.29a5735, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ikojn5sxhods26sb)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 1, 2026 and Apr 26, 2026, about one every 25 days. Its first recorded version is graded C and its latest A.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260426.29a5735 latest | 2026-04-26 | 29a5735 | 9,913 B | A | view · diff |
| git:20260401.72eab82 | 2026-04-01 | 72eab82 | 9,491 B | C | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9913 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
m13v/s4l · 64 stars · license none declared · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ikojn5sxhods26sb GET https://markdownregistry.com/api/v1/resolve?ref=m13v/s4l/python-cdp-scripts GET https://markdownregistry.com/api/v1/blob/05d18f1833059b697a596592f06e0bc645a0696c9e3592ff87a11be394ec70bc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.