skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
bgauryy/octocode74 installs

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

How do I install this agent skill?

npx skills add https://github.com/bgauryy/octocode --skill octocode-chrome-devtools
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides comprehensive Chrome DevTools integration with a strong emphasis on security. It implements a Node.js Permission Model sandbox to restrict file system and process access, uses a mandatory stealth layer for anti-bot evasion, and includes redaction utilities for sensitive data like cookies and tokens. While it interacts with untrusted web content and allows replaying API requests, it incorporates numerous safeguards such as explicit consent flags for sensitive operations and restricted network access within the sandbox.

  • Socketfail

    4 alerts: gptAnomaly, gptSecurity, gptMalware

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

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)

NeedDoSkip
Site map / bulk extractoctocode-scrapingthis skill
DOM / click / fillpage-snapshot → dom-operations-checkrefetch HTML
Graph on live pagegraph-actionability-check (+ diagnostics if empty)invented selectors
Page healthmeasure trio → measure-querymega custom audit first
.har pagehar-pagerdumping full HAR
Deep bodieslive-har-monitor / network-body-har-fetchbefore measure+query
Prove API locallyhar-ingest-to-scrape → corpus-run-localreopen 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>)

ScriptWhen and how to run
scripts/open-browser.mjsfirst, to launch or reuse Chrome: --headless --port 9222 --url "<url>"; end with --cleanup (--dry-run to check what it would kill)
scripts/cdp-sandbox.mjsdefault 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.mjssame 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.mjscopy it as the run(cdp) skeleton when writing .octocode/tmp/cdp-<task>.mjs
scripts/cookie-bridge.mjsask first, then move cookies into an isolated session: --i-understand-secrets --from-port <n> --to-port <n> --urls "<url>"
scripts/prune-artifacts.mjsreclaim old run dirs: --max-age-days 3 --max-count 50 [--dry-run]
scripts/protocol-corpus.mjswhen 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.mjsafter 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.jsontemplate 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 directlyscripts/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)

WhenLoad
choosing the smallest script for the askreferences/intents.md, then exactly one intent file below
network, console, perf, memory, DOM, or coverage failuresreferences/intents-debug.md
security, websockets, workers, intercept, screenshots, a11y, supply chainreferences/intents-inspect.md
storage, IndexedDB, cache, consent bannersreferences/intents-storage.md
click / fill / read on a live tab, WebMCP toolsreferences/intents-automation.md
login, MFA, real profile, cookie transferreferences/intents-auth.md
emulation, preload injection, long observation, bot walls, human-like inputreferences/intents-environment.md
stealth defaults, opt-outs, self-testreferences/stealth-mandatory.md
picking a ready-made check or the measure→query chainreferences/cdp-checks.md
HAR export, API replay, token budgetreferences/har-capture.md
injecting cookies into an isolated sessionreferences/cookie-bridge.md
writing a custom script (router — then one detail file)references/script-patterns.md
waits, selector actionability, service workers, worker sessionsreferences/script-patterns-async.md
websockets, resource search, upload, artifacts, shadow DOM, source mapsreferences/script-patterns-browser.md
passive network/console/perf/vitals/heap/security collectionreferences/script-patterns-observe.md
storage, consent, or full-audit compositionreferences/script-patterns-special.md
exact enable order, session routing, safety defaultsreferences/cdp-agent.md
unsure which CDP domain or method to callreferences/cdp-domain-map.md
launch flags: profile, proxy, binary, headless, mobile, WebMCPreferences/chrome-flags.md
stuck twice, or a CDP call errors / returns emptyreferences/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.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/bgauryy/octocode/octocode-chrome-devtools">View octocode-chrome-devtools on skillZs</a>