Agent Skills
› marcusquinn/aidevops
› chromium-debug-use
chromium-debug-use
GitHub用于在用户明确授权后,连接本地已运行的 Chromium 浏览器进行实时页面检查与轻量交互。支持快照、HTML 提取及元素操作,旨在为后续自动化或深度调试提供上下文,强调安全与临时性。
Trigger Scenarios
需要检查当前打开的 Chromium 浏览器页面内容
在进行重度自动化前需先了解页面状态
Install
npx skills add marcusquinn/aidevops --skill chromium-debug-use -g -y
SKILL.md
Frontmatter
{
"mode": "subagent",
"name": "chromium-debug-use",
"description": "Attach to a user's already-open Chromium-family browser for live inspection and light interaction after explicit local approval"
}
Chromium Debug Use
Read tools/browser/chromium-debug-use.md first.
Use This Skill When
The user wants to inspect or lightly interact with something already open in a Chromium-family browser (Chrome, Brave, Edge, Vivaldi, Chromium) before committing to a heavier automation tool.
Workflow
- Confirm explicit, user-approved live-session investigation.
- If the debug port is not yet open, have the user launch with the flag from
tools/browser/chromium-debug-use.md. - Use
.agents/scripts/chromium-debug-use-helper.sh versionandlistto confirm access. - Prefer
snapshot,html, andevalto understand the page before usingclick,type,navigate, orscreenshot. - Once the flow is understood, hand off to the best-fit longer-term tool:
tools/browser/playwright.md— repeatable isolated automationtools/browser/dev-browser.md— aidevops-managed persistent profiletools/browser/playwriter.md— per-tab extension consent in the user's normal browsertools/browser/chrome-devtools.md— performance, network, and console inspection
Safety
- Local-only and temporary; the user must have enabled the debug path for this investigation.
- Prefer loopback endpoints and temporary profiles.
- Do not use this path for unrelated tabs or long-lived background control.
Commands
.agents/scripts/chromium-debug-use-helper.sh version
.agents/scripts/chromium-debug-use-helper.sh list
.agents/scripts/chromium-debug-use-helper.sh snapshot <target>
.agents/scripts/chromium-debug-use-helper.sh html <target> [selector]
.agents/scripts/chromium-debug-use-helper.sh eval <target> "document.title"
.agents/scripts/chromium-debug-use-helper.sh click <target> "button.submit"
.agents/scripts/chromium-debug-use-helper.sh type <target> "hello world"
.agents/scripts/chromium-debug-use-helper.sh screenshot <target> /tmp/page.png
Use --browser-url http://127.0.0.1:9222 when the session is not on the default endpoint.
Version History
- 896a4bc Current 2026-07-25 07:25


