drive-desktop-cdp
БесплатноЗапускает вложенные скриптыНе проверенDrive the running OpenWork app over CDP from the shell, headless by default (nothing opens on screen). Evaluate JS, take screenshots, open a new session, send…
от different-ai★ 24 642 звезды на GitHubОб этом скилле
Drive the app over CDP
For verdicts, write or run an evals/core journey or evals/proofs proof (write-a-spec, run-tests). This skill is for checking changes by hand and reproducing states quickly.
Find the app
Default to the app in headless Chrome. It runs this checkout (Vite hot reload included) and opens nothing on the developer's screen:
pnpm world up dev-app-web --detach -- --browser # prints webUrl and cdp http://127.0.0.1:<port>
pnpm world down dev-app-web # when you are done
Use a desktop window only when the change needs the desktop shell (titlebar, native menus, deep links, the built-in browser pane, updater, quit and relaunch) or the user asks for it. A desktop window opens and takes focus on this computer:
pnpm dev: CDP onhttp://127.0.0.1:9823.pnpm world up live-desktop -- --allow-shared-stateprintscdp http://127.0.0.1:<port>and uses the real installed profile.
Set CDP_URL to the address the world printed for every command.
Commands
S=.opencode/skills/drive-desktop-cdp/scripts/cdp.mjs
export CDP_URL=http://127.0.0.1:55322
node $S new-session # always start a fresh session first
node $S send "Claude Opus 5.5" "Say hello" # pick the model by its picker name, then send
node $S wait-idle 180 # until the Run task button is back
node $S shot /tmp/after.png # screenshot of the whole page
node $S eval 'document.querySelector("main")?.innerText.slice(-500)'
Rules
- Never type into an existing session: run
new-sessionfirst. The app can switch sessions on its own between commands. - A world started with
--allow-shared-stateuses your real config and history. Anything you send is real. - Reload after state-heavy changes:
node $S eval 'location.reload(); 1'. - Read stored v2 history when the UI hides something:
sqlite3 ~/.config/openwork/opencode-v2/state/opencode.db "select type, substr(data,1,300) from session_message where session_id='<id>' order by seq".
Установить drive-desktop-cdp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл drive-desktop-cdp?
Drive the running OpenWork app over CDP from the shell, headless by default (nothing opens on screen). Evaluate JS, take screenshots, open a new session, send a prompt with a chosen model, wait for the run to finish. Use when checking a UI change by hand in a world or pnpm dev, or when reproducing a chat state.
Как установить скилл drive-desktop-cdp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл drive-desktop-cdp запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies 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…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic