tmc/cdp/handling-dialogs
Claude Code and agent skill by tmc/cdp
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Handles JavaScript dialogs through the cdp MCP server. Use when the task involves alert, confirm, prompt, or beforeunload flows that block page automation until the dialog is answered.
Install
npx vskill@latest install tmc/cdp/handling-dialogsSKILL.md
Handling Dialogs
Use this skill when a page action opens a JavaScript dialog and the browser is waiting for accept or dismiss.
Quick start
- Use
get_dialogsto inspect the pending dialog and recent history - Use
handle_dialogwithacceptand optionalprompt_text - Re-check page state with
page_snapshot,check_element, orget_page_content
Use this skill for
- accepting or dismissing
alert,confirm,prompt, andbeforeunload - verifying dialog text before responding
- unblocking flows that stall after a click or navigation
Read next
- Tool details and limits: references/dialogs.md
- Script format reference: ../writing-cdp-scripts/references/script-format.md
- General MCP browser control: ../operating-cdp-cli/SKILL.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/handling-dialogs/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tmc/cdp/handling-dialogs)