- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Devin-AXIS/iPolloWork --skill daytona-chrome-cdp -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Devin-AXIS/iPolloWork --skill daytona-chrome-cdp -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Devin-AXIS/iPolloWork --skill daytona-chrome-cdp -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Devin-AXIS/iPolloWork --skill daytona-chrome-cdp -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/daytona-chrome-cdp來自發布者
Use this skill when a Daytona sandbox needs a normal Chrome/Chromium browser in the XFCE display, separate from the Electron app. This is useful for Den Web sign-in, OAuth provider setup, browser-only admin flows, and checking what a user would see in a regular browser.
Run inside the Electron or server sandbox:
daytona exec "$SANDBOX" -- "bash -lc 'mkdir -p /tmp/daytona-chrome-profile; DISPLAY=:99 nohup chromium --no-sandbox --disable-dev-shm-usage --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --user-data-dir=/tmp/daytona-chrome-profile \"$DEN_WEB_URL\" >/tmp/daytona-chrome.log 2>&1 &'"
If chromium is missing, try google-chrome, google-chrome-stable, or install
Chromium in the sandbox only when needed.
CHROME_CDP_URL=$(daytona preview-url "$SANDBOX" -p 9222 2>/dev/null | grep -v '^time=')
Verify the target directly:
curl -fsS "$CHROME_CDP_URL/json/list"
The coded flow must assert that navigator.userAgent contains Chrome/ or
Chromium/ and does not contain Electron/.
Create or reuse an evals/flows/*.flow.mjs flow and set its cdpTarget to a
stable title or URL fragment for the standalone page. Drive the visible flow
with ctx.clickText, ctx.fill, ctx.waitFor, and ctx.screenshot, then run:
pnpm evals --flow <flow-id> --cdp-url "$CHROME_CDP_URL"
Validate with the fraimz loop. Do not assume navigation or sign-in worked
until the post-action URL, visible assertion, and frame prove it.
daytona exec "$SANDBOX" -- "bash -lc 'pkill -f \"chromium.*remote-debugging-port=9222\" || pkill -f \"chrome.*remote-debugging-port=9222\" || true'"
Launch and control standalone Chrome in a Daytona sandbox via CDP. Use for web sign-in, OAuth, Den Web setup, browser-only flows, or when the app should not be driven through Electron CDP.
---name: daytona-chrome-cdpdescription: Launch and control standalone Chrome in a Daytona sandbox via CDP. Use for web sign-in, OAuth, Den Web setup…---# .opencode/skills/daytona-chrome-cdp/SKILL.md常見問題
從發布者下載 .opencode/skills/daytona-chrome-cdp/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/Devin-AXIS/iPolloWork。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。