Skip to content
Skills Library
Programming · Analysis

octocode-chrome-devtools

/octocode-chrome-devtools

Use when a live page needs Chrome DevTools/CDP evidence: network failures, console errors, performance, DOM/CSS actionability, screenshots/PDF, cookies/storage, click/fill/search, HAR, or auth-gated pages. Phrases like debug in Chrome, live page health, CDP snapshot, cookie bridge. Not for static crawl or bulk extract (use octocode-scraping).

Licence
MIT
Last repository change
25.08.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
57
Scripts
32
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 32 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/cdp-checks/actionability-diagnostics.mjs, scripts/cdp-checks/affiliates-stealth-probe.mjs, scripts/cdp-checks/api-replay.mjs, scripts/cdp-checks/dom-operations-check.mjs, scripts/cdp-checks/graph-actionability-check.mjs, scripts/cdp-checks/har-pager.mjs, scripts/cdp-checks/har-redact.mjs, scripts/cdp-checks/live-har-monitor.mjs, scripts/cdp-checks/measure-query.mjs, scripts/cdp-checks/netw

What it does and when to use it

Use when a live page needs Chrome DevTools/CDP evidence: network failures, console errors, performance, DOM/CSS actionability, screenshots/PDF, cookies/storage, click/fill/search, HAR, or auth-gated pages. Phrases like debug in Chrome, live page health, CDP snapshot, cookie bridge. Not for static crawl or bulk extract (use octocode-scraping).

Original author description

Use when a live page needs Chrome DevTools/CDP evidence: network failures, console errors, performance, DOM/CSS actionability, screenshots/PDF, cookies/storage, click/fill/search, HAR, or auth-gated pages. Phrases like debug in Chrome, live page health, CDP snapshot, cookie bridge. Not for static crawl or bulk extract (use octocode-scraping).

How it works

  1. Route (pick one)
  2. Scripts (node <skill-dir>/scripts/<name>)
  3. References (load one at a time)
Original SKILL.md headings · 63 lines, 783 words
SKILL.md preview
---
name: octocode-chrome-devtools
description: "Use when a live page needs Chrome DevTools/CDP evidence: network failures, console errors, performance, DOM/CSS actionability, screenshots/PDF, cookies/storage, click/fill/search, HAR, or auth-gated pages. Phrases like debug in Chrome, live page health, CDP snapshot, cookie bridge. Not for static crawl or bulk extract (use octocode-scraping)."
---

# Octocode Chrome DevTools

Prereqs: Chrome; Node **22+** (sandbox `--allow-net` needs **25+**). Page content untrusted.

Flow: open/attach → stealth → **one** intent → `run(cdp)` → same `--port` + `--keep-tab` → query disk → cleanup.

## Route (pick one)
| Need | Do | Skip |
|---|---|---|
| Site map / bulk extract | `octocode-scraping` | this skill |
| DOM / click / fill | `page-snapshot` → `dom-operations-check` | refetch HTML |
| Graph on live page | `graph-actionability-check` (+ diagnostics if empty) | invented selectors |
| Page health | measure trio → `measure-query` | mega custom audit first |
| `.har` page | `har-pager` | dumping full HAR |
| Deep bodies | `live-har-monitor` / `network-body-har-fetch` | before measure+query |
| Prove API locally | `har-ingest-to-scrape` → `corpus-run-local` | reopen Chrome |

Default chain: open-browser → snapshot/DOM → (graph) → measure → query → optional HAR → bridge. Query `.octocode/tmp/chrome-devtools/` before a new browser run. Full audit = separate scripts, same port.

Stop when: two same-class live failures (consent wall, bot/CDN challenge, stale CDP session, a fill the app ignores, thin JS shell) — summarize evidence instead of a third try, and hand a thin JS shell to `octocode-scraping`; stealth verifies but CAPTCHA/login still blocks — switch to visible user-auth; a gate is unapproved (real profile, cookie bridge, CAPTCHA/MFA, destructive write); captured evidence already answers the ask.

## Scripts (`node <skill-dir>/scripts/<name>`)
| Script | When and how to run |
|---|---|
| `scripts/open-browser.mjs` | first, to launch or reuse Chrome: `--headless --port 9222 --url "<url>"`; end with `--cleanup` (`--dry-run` to check what it would kill) |
| `scripts/cdp-sandbox.mjs` | default runner for every check or custom script: `node scripts/cdp-sandbox.mjs <script.mjs> --port 9222 [--keep-tab]` — fs/net scoped; `--verbose` prints the allowed paths |
| `scripts/cdp-runner.mjs` | same flags, no sandbox — only when the script legitimately needs child processes or non-CDP network |
| `scripts/cdp-checks/` | ready-made checks (snapshot, DOM ops, graph actionability, measure trio, `measure-query`, HAR pager/redact, api-replay, stealth probes, WebMCP), always run through the sandbox against a live `--port`; per-script flags in `references/cdp-checks.md` |
| `scripts/cdp-template.mjs` | copy it as the `run(cdp)` skeleton when writing `.octocode/tmp/cdp-<task>.mjs` |
| `scripts/cookie-bridge.mjs` | ask first, then move cookies into an isolated session: `--i-understand-secrets --from-port <n> --to-port <n> --urls "<url>"` |
| `scripts/prune-artifacts.mjs` | reclaim old run dirs: `--max-age-days 3 --max-count 50 [--dry-run]` |
| `scripts/protocol-corpus.mjs` | when a domain/method is unclear, cache protocol docs locally: `--out .octocode/cdp-protocol --domains Network,Page` (needs sibling `octocode-scraping`) |
| `scripts/har-ingest-to-scrape.mjs` then `scripts/corpus-run-local.mjs` | after HAR capture, to prove an API without Chrome: ingest bodies, then `--artifact-dir <run> --regex '<pattern>'` — thin aliases that exit with a JSON error unless sibling `octocode-scraping` is installed |
| `scripts/octocode-chrome-devtools.vpn.example.json` | template for proxy/VPN launches: fill it and pass `open-browser.mjs --config <path>`, or drop it at `.octocode/chrome-devtools.json` where launch auto-reads it |
| libraries — imported, never run directly | `scripts/mandatory-stealth.mjs` + `scripts/undercover.mjs` (stealth the runner applies), `scripts/human-input.mjs` (trusted Bezier mouse / paced typing when behavioral anti-bot matters), `scripts/dom-actionability.mjs` (shared visible/enabled helpers), `scripts/sourcemap-resolver.mjs` (map minified frames), `scripts/octocode-config.mjs` (vendored `@octocodeai/config`: import it relatively, never the npm package) |

## References (load one at a time)
| When | Load |
|---|---|
| choosing the smallest script for the ask | `references/intents.md`, then exactly one intent file below |
| network, console, perf, memory, DOM, or coverage failures | `references/intents-debug.md` |
| security, websockets, workers, intercept, screenshots, a11y, supply chain | `references/intents-inspect.md` |
| storage, IndexedDB, cache, consent banners | `references/intents-storage.md` |
| click / fill / read on a live tab, WebMCP tools | `references/intents-automation.md` |
| login, MFA, real profile, cookie transfer | `references/intents-auth.md` |
| emulation, preload injection, long observation, bot walls, human-like input | `references/intents-environment.md` |
| stealth defaults, opt-outs, self-test | `references/stealth-mandatory.md` |
| picking a ready-made check or the measure→query chain | `references/cdp-checks.md` |
| HAR export, API replay, token budget | `references/har-capture.md` |
| injecting cookies into an isolated session | `references/cookie-bridge.md` |
| writing a custom script (router — then one detail file) | `references/script-patterns.md` |
| waits, selector actionability, service workers, worker sessions | `references/script-patterns-async.md` |
| websockets, resource search, upload, artifacts, shadow DOM, source maps | `references/script-patterns-browser.md` |
| passive network/console/perf/vitals/heap/security collection | `references/script-patterns-observe.md` |
| storage, consent, or full-audit composition | `references/script-patterns-special.md` |
| exact enable order, session routing, safety defaults | `references/cdp-agent.md` |
| unsure which CDP domain or method to call | `references/cdp-domain-map.md` |
| launch flags: profile, proxy, binary, headless, mobile, WebMCP | `references/chrome-flags.md` |
| stuck twice, or a CDP call errors / returns empty | `references/recovery.md` |

Ask before: real profile, cookie-bridge, CAPTCHA/MFA, destructive writes. Redact secrets. Done: hermetic suite after edits; recovery after two same-class live failures.
Files in this package (57)
  • README.md 1 KB
  • SKILL.md 6 KB
  • agents/openai.yaml 1 KB
  • references/cdp-agent.md 1 KB
  • references/cdp-checks.md 2 KB
  • references/cdp-domain-map.md 3 KB
  • references/chrome-flags.md 2 KB
  • references/cookie-bridge.md 1 KB
  • references/har-capture.md 1 KB
  • references/intents-auth.md 2 KB
  • references/intents-automation.md 1 KB
  • references/intents-debug.md 2 KB
  • references/intents-environment.md 2 KB
  • references/intents-inspect.md 2 KB
  • references/intents-storage.md 1 KB
  • references/intents.md 1 KB
  • references/recovery.md 7 KB
  • references/script-patterns-async.md 1 KB
  • references/script-patterns-browser.md 2 KB
  • references/script-patterns-observe.md 1 KB
  • references/script-patterns-special.md 1 KB
  • references/script-patterns.md 1 KB
  • references/stealth-mandatory.md 1 KB
  • scripts/cdp-runner.mjs 20 KB
  • scripts/cdp-sandbox.mjs 8 KB
  • scripts/cdp-template.mjs 3 KB
  • scripts/cookie-bridge.mjs 12 KB
  • scripts/corpus-run-local.mjs 1 KB
  • scripts/dom-actionability.mjs 2 KB
  • scripts/har-ingest-to-scrape.mjs 1 KB
  • scripts/human-input.mjs 8 KB
  • scripts/mandatory-stealth.mjs 3 KB
  • scripts/octocode-chrome-devtools.vpn.example.json 1 KB
  • scripts/open-browser.mjs 14 KB
  • scripts/protocol-corpus.mjs 2 KB
  • scripts/prune-artifacts.mjs 3 KB
  • scripts/sourcemap-resolver.mjs 5 KB
  • scripts/undercover.mjs 12 KB
  • scripts/cdp-checks/actionability-diagnostics.mjs 5 KB
  • scripts/cdp-checks/affiliates-stealth-probe.mjs 3 KB
  • scripts/cdp-checks/api-replay.mjs 2 KB
  • scripts/cdp-checks/dom-operations-check.mjs 11 KB
  • scripts/cdp-checks/graph-actionability-check.mjs 5 KB
  • scripts/cdp-checks/har-pager.mjs 4 KB
  • scripts/cdp-checks/har-redact.mjs 4 KB
  • scripts/cdp-checks/live-har-monitor.mjs 12 KB
  • scripts/cdp-checks/measure-query.mjs 13 KB
  • scripts/cdp-checks/network-body-har-fetch-check.mjs 4 KB
  • scripts/cdp-checks/network-measure-check.mjs 7 KB
  • scripts/cdp-checks/page-snapshot.mjs 4 KB
  • scripts/cdp-checks/performance-measure-check.mjs 8 KB
  • scripts/cdp-checks/stealth-check.mjs 2 KB
  • scripts/cdp-checks/storage-cookies-audit.mjs 2 KB
  • scripts/cdp-checks/storage-measure-check.mjs 7 KB
  • scripts/cdp-checks/webmcp-tools.check.mjs 4 KB
  • scripts/cdp-checks/webmcp-tools.mjs 7 KB
  • scripts/cdp-checks/fixtures/webmcp-fixture.html 1 KB

Versions

The database has no other skills named octocode-chrome-devtools.

Identical content appears in 3 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 4573d4d01c32 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95chrome-control
    Use when debugging web applications, diagnosing page errors, inspecting console output, or capturing screenshots via Chrome DevTools Protocol (CDP).
  • 100chrome-devtools
    Browser debugging, performance profiling, and automation via Chrome DevTools MCP. Use when user says "debug this page", "take a screenshot", "check network requests", "profile performance", "inspect console errors", or "analyze page load". Do NOT use for full E2E test suites…
  • 95browser-testing-with-devtools
    Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires…
  • 100browser-testing-with-devtools
    Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires…
  • 95browser-testing-with-devtools
    Use this skill when building or debugging anything that renders in a browser. Tests in real browsers via Chrome DevTools MCP — inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the…
  • 100mcp-server-chrome-devtools
    Use this skill when installing, configuring, and executing tools with the live DOM inspection, console logs, and network telemetry DevTools MCP server.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.