/cdp:handling-dialogsfrom cdp
Handles JavaScript dialogs (alert, confirm, prompt, beforeunload) via the cdp MCP server, accepting or dismissing them to unblock page automation.
Ships in cdp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when a page action opens a JavaScript dialog and the browser is waiting for accept or dismiss.
get_dialogs to inspect the pending dialog and recent historyhandle_dialog with accept and optional prompt_textpage_snapshot, check_element, or get_page_contentalert, confirm, prompt, and beforeunloadWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub tmc/cdp --plugin cdp15 skills in this plugin
/capturing-network-trafficCaptures network activity with HAR, HARL, and cdp tagging workflows, including streaming capture, annotations, and WebRTC or gRPC-Web related recorder output. Use when the task involves recording, filtering, or explaining network traffic capture in this repository./capturing-page-artifactsCaptures screenshots, PDFs, and visual artifacts from pages driven by cdp scripts or the interactive CLI. Use when the task involves screenshot workflows, device emulation captures, PDF export, or embedding visual artifacts into recorded sessions./debugging-page-javascriptExecutes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp. Use when the task involves console diagnostics, injected collectors, page evaluation, or browser-side debugging during automation./emulating-deviceApplies device and network emulation through the cdp MCP server. Use when the task involves viewport changes, mobile presets, throttling, offline mode, geolocation, or request header overrides./inspecting-dom-changesCaptures and compares DOM snapshots through the cdp MCP server. Use when the task involves proving what changed after an interaction, navigation, or script execution./intercepting-requestsIntercepts requests and responses through the cdp MCP server. Use when the task involves blocking URLs, stubbing responses, modifying headers, or verifying network behavior during an automated browser session.