agentleFS
kuker24kuker24/OpenCodeBestFriend/skills/chrome-devtools-axi/SKILL.md

chrome-devtools-axi

Skill0 starsChanged 2 months agoMITView on GitHub

Control a Chromium session through chrome-devtools-axi after opencode-chromium-cdp start. Use when an observed browser issue needs diagnostics (click, form, console, network). Skip if curl or web_fetch is enough. Not for exploratory multi-role QA (use browser-act).

9 other projects use a version of this, 8 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use quota-axi, lavish and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • layer5ioSkill

    quota-axi

    Report local Claude, Codex, Cursor, GitHub Copilot, and Grok quota windows via the quota-axi CLI - remaining percentages, reset times, and provider status read from local auth sources, with no routing, recommendation, or provider mutation. Use before deciding whether it is safe to keep spending a provider's quota, when the user asks about usage, rate limits, or remaining quota, or when comparing local provider headroom.

    Also in 6 projects that use this

  • kunchenguidSkill

    lavish

    Turn complex or visual agent responses into rich, reviewable HTML artifacts (HTML files) the user can annotate and send feedback on, using the lavish-axi CLI. Use when about to give a plan, comparison, diagram, table, code diff, report, or anything easier to grasp visually than as prose.

    Also in 6 projects that use this

  • SentrySkill

    iterate-pr

    Iterate on a PR until actionable CI passes and high/medium review feedback is addressed. Use for PR CI failures, review feedback, or green-check loops; do not wait for human approval, draft status, or merge gates.

    Also in 4 projects that use this

  • MicrosoftSkill

    cut-release

    Use this skill to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the merged-since-last-tag diff), sanitize the [Unreleased] CHANGELOG block into a dated version block with one concise "so what" entry per merged PR (drop internal-only churn, consolidate duplicates), bump pyproject.toml + uv.lock, run the CI-mirror lint chain, and open the release PR. Activate on "ship a release", "cut v0.x", "release prep", "bump and PR", "open release PR", "what kind of release do we need", or any phrasing that ends in opening a release PR -- even when the user does not say "skill". Stops BEFORE tagging; tagging stays a human gate that triggers the release workflow. Refuses to bump to a major (>= 1.0.0) version without explicit operator confirmation.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 1 is distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the 4-door browser hierarchy:

    line 10
  2. Very specific:

    Start background Chromium: opencode-chromium-cdp start (or $HOME/.local/bin/opencode-chromium-cdp start).

    line 18
  3. Very specific:

    Never set CHROME_DEVTOOLS_AXI_HEADED=1 or CHROME_DEVTOOLS_AXI_AUTO_CONNECT=1 unless the user asks to see a window.

    line 20
  4. Very specific:

    If the helper prints NOT_CONFIGURED, stop.

    line 21
  5. Very specific:

    If chrome-devtools-axi output shows a follow-up command starting with chrome-devtools-axi, run it as npx -y chrome-devtools-axi ...

    line 29
  6. Very specific:

    Use chrome-devtools-axi after an observed browser issue needs diagnostics: click, form, console, or network.

    line 33
  7. Very specific:

    Run npx -y chrome-devtools-axi open <url> to navigate.

    line 39
  8. Very specific:

    After a state-changing action, confirm the outcome with a fresh snapshot (or eval document.title / screenshot <path>) before reporting …

    line 42
  9. Very specific:

    Every response ends with contextual next-step hints - follow them.

    line 45
  10. Very specific:

    Run npx -y chrome-devtools-axi --help for flags and environment variables, or npx -y chrome-devtools-axi <command> --help for per-command …

    line 65
  11. Very specific:

    Add --full to snapshot-producing commands to disable truncation.

    line 70

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OpenCode browser contract

Follow the 4-door browser hierarchy:

  1. playwright-qa — primary default for exploratory application UI QA.
  2. browser-act — specialized persistent / multi-account / stealth browser sessions.
  3. chrome-devtools-axi — deep diagnostics for observed Chromium failures (console, network, heap).
  4. click-path-audit — handler vs shared-store sequential-undo side effects.

Invocation only:

  1. Start background Chromium: opencode-chromium-cdp start (or $HOME/.local/bin/opencode-chromium-cdp start).
  2. Every command: CHROME_DEVTOOLS_AXI_BROWSER_URL=http://127.0.0.1:9223 npx -y chrome-devtools-axi <command>.
  3. Never set CHROME_DEVTOOLS_AXI_HEADED=1 or CHROME_DEVTOOLS_AXI_AUTO_CONNECT=1 unless the user asks to see a window.
  4. If the helper prints NOT_CONFIGURED, stop. Do not fall back to Google Chrome.

chrome-devtools-axi

Agent ergonomic interface for diagnosing a Chromium session after opencode-chromium-cdp start. Prefer /browser-act for exploratory multi-role QA.

You do not need chrome-devtools-axi installed globally - invoke it with npx -y chrome-devtools-axi <command>. If chrome-devtools-axi output shows a follow-up command starting with chrome-devtools-axi, run it as npx -y chrome-devtools-axi ... instead.

When to use

Use chrome-devtools-axi after an observed browser issue needs diagnostics: click, form, console, or network. Start opencode-chromium-cdp first and attach with CHROME_DEVTOOLS_AXI_BROWSER_URL.

Skip it when a plain fetch/curl or web_fetch suffices. Do not use it for exploratory multi-role QA (/browser-act) and do not fall back to Google Chrome.

Workflow

  1. Run npx -y chrome-devtools-axi open <url> to navigate. Output includes the page's accessibility snapshot; interactive elements carry uid= refs.
  2. Interact by ref: click @<uid>, fill @<uid> <text>, fillform @<uid>=<val>..., hover @<uid>, drag @<from> @<to>, upload @<uid> <path>.
  3. Pass refs back exactly as printed, including the g<N>: generation prefix. If the page re-rendered since the snapshot, the action fails loudly with STALE_REF - run snapshot again and retry with fresh refs.
  4. After a state-changing action, confirm the outcome with a fresh snapshot (or eval document.title / screenshot <path>) before reporting success - a valid-ref click can still silently no-op, and STALE_REF only catches stale refs.
  5. Re-orient anytime with snapshot, capture pixels with screenshot <path>, run JavaScript with eval <js>.
  6. Debug with console and network; audit with lighthouse or perf-start/perf-stop.
  7. Every response ends with contextual next-step hints - follow them. The first command auto-starts a persistent bridge, so the browser session survives across invocations; run stop when you are done.

Commands

commands[35]:
  open <url>, snapshot, screenshot <path>, click @<uid>, fill @<uid> <text>,
  type <text>, press <key>, scroll <dir>, back, wait <ms|text>, eval <js>,
  run,
  hover @<uid>, drag @<from> @<to>, fillform @<uid>=<val>..., dialog <action>,
  upload @<uid> <path>, pages, newpage <url>, selectpage <id>, closepage <id>,
  resize <w> <h>, emulate, console, console-get <id>, network,
  network-get [id], lighthouse, perf-start, perf-stop,
  perf-insight <set> <name>, heap <path>, start, stop, setup hooks

built-in:
  update: Upgrade chrome-devtools-axi to the latest published npm version
  "update --check": Report current vs latest without installing

Run npx -y chrome-devtools-axi --help for flags and environment variables, or npx -y chrome-devtools-axi <command> --help for per-command usage.

Tips

  • Pipe output through grep/head to extract specific data from large pages.
  • Add --full to snapshot-producing commands to disable truncation.
  • Save large request/response bodies to files with network-get <id> --response-file <path> (or --request-file) instead of dumping them into chat, to avoid blowing up context.
  • Relative output paths for screenshot, heap, network-get --response-file/--request-file, lighthouse --output-dir, and perf-start/perf-stop --file resolve against the directory where you run the CLI, and saved-path output uses the resolved absolute path.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.