tmc/cdp/working-with-shadow-dom
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.
Works with open and closed shadow DOM using cdp MCP tools, JavaScript, and viewport coordinate input. Use when an element is visible but selectors, accessibility refs, or page snapshots do not expose the actual control.
Install
npx vskill@latest install tmc/cdp/working-with-shadow-domSKILL.md
Working With Shadow DOM
Use this skill when page state or interaction depends on a web component or shadow root.
Quick start
- Use screenshots first to confirm the target is visible.
- For open shadow roots, use
evaluateto inspect throughelement.shadowRoot. - For closed shadow roots, use
click coord:x,yor other viewport-coordinate
input; JavaScript selectors cannot traverse the closed root.
- After coordinate input, verify with another screenshot or visible page state.
Use this skill for
- visible controls hidden behind web components
- custom elements whose inner DOM is not in
page_snapshot - deciding between JavaScript inspection and compositor-level coordinate input
Read next
- Tool details and limits: references/shadow-dom.md
- Iframe and compositor notes: ../working-with-iframes/SKILL.md
- General live loop: ../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/working-with-shadow-dom/SKILL.md
Popularity
- 7-day trend score
- 0
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/working-with-shadow-dom)