Skip to content

Adonis0123/adonis-skills / skills/chrome-dev-mcp

chrome-dev-mcp

Verified

Use this skill when the user invokes /chrome-dev-mcp or asks for Chrome DevTools MCP, CDP, list_pages/select_page, UXC packaging for Chrome DevTools, DOM snapshots, Console, Network, Performance, Lighthouse, heap analysis, browser-internal debugging, connection recovery, or correct-Chrome validation across Claude Code, Codex, Grok Build/Grok002, Cursor CLI, Hermes, or WorkBuddy. Use it when the evidence is Chrome-specific (Lighthouse, a full trace, heap data) or the caller has no page session yet; a page already open in ego-browser keeps its own Console and request diagnosis. Also use it as the verification step right after the user or this session changes a web UI or asks to accept or check a page: collect a screenshot, Console, and Network evidence before calling it done. Do not use it for ordinary navigation, form filling, scraping, or desktop UI unless browser-internal signals or UI-change acceptance are required. A passing readiness or list_pages check proves the connection only, never the change.

scripts/lib/uxc-link-contract.zsh

View on GitHub
#!/bin/zsh

typeset -gr CHROME_DEV_MCP_UXC_LINK_MARKER="# Generated by chrome-dev-mcp setup; do not edit by hand"
typeset -gr CHROME_DEV_MCP_UXC_IDLE_TTL="900"

chrome_dev_mcp_render_uxc_link() {
  local wrapper="$1" exclusive_key="$2" skill_dir="$3" link_dir="$4" mode="${5:-current}"
  local value
  for value in "$wrapper" "$exclusive_key" "$skill_dir" "$link_dir"; do
    [[ "$value" != *"'"* && "$value" != *$'\n'* ]] || return 69
  done
  print -r -- '#!/usr/bin/env sh'
  if [[ "$mode" == legacy ]]; then
    print -r -- '# Generated by uxc link; do not edit by hand'
    print -r -- "UXC_DAEMON_EXCLUSIVE='$exclusive_key' UXC_DAEMON_IDLE_TTL='$CHROME_DEV_MCP_UXC_IDLE_TTL' UXC_LINK_SKILL='chrome-dev-mcp' UXC_LINK_SKILL_PATH='$skill_dir' UXC_LINK_NAME='chrome-dev-mcp-cli' exec uxc '$wrapper' \"\$@\""
  else
    print -r -- "$CHROME_DEV_MCP_UXC_LINK_MARKER"
    print -r -- "cd '$skill_dir' || exit 69"
    print -r -- "UXC_DAEMON_EXCLUSIVE='$exclusive_key' UXC_DAEMON_IDLE_TTL='$CHROME_DEV_MCP_UXC_IDLE_TTL' UXC_LINK_SKILL='chrome-dev-mcp' UXC_LINK_SKILL_PATH='$skill_dir' UXC_LINK_NAME='chrome-dev-mcp-cli' exec '$link_dir/uxc' '$wrapper' \"\$@\""
  fi
}

chrome_dev_mcp_uxc_link_contract_matches() {
  local link_path="$1" wrapper="$2" exclusive_key="$3" skill_dir="$4" mode="${5:-current}"
  local expected
  [[ ! -L "$link_path" && -f "$link_path" && -x "$link_path" ]] || return 69
  expected="$(chrome_dev_mcp_render_uxc_link "$wrapper" "$exclusive_key" "$skill_dir" "${link_path:h}" "$mode")" || return 69
  [[ "$(<"$link_path")" == "$expected" ]]
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall