Agent Skills › meshery/meshery › chrome-devtools-axi

chrome-devtools-axi

GitHub

通过 CLI 控制 Chrome 浏览器,用于网页导航、交互测试、内容提取及性能调试。适用于需要真实浏览器环境的自动化场景,如点击流程、表单填写和前端调试。

.agents/skills/chrome-devtools-axi/SKILL.md meshery/meshery

Trigger Scenarios

需要操作真实浏览器进行网页交互或测试 前端页面调试、截图或性能审计

Install

npx skills add meshery/meshery --skill chrome-devtools-axi -g -y
More Options

Non-standard path

npx skills add https://github.com/meshery/meshery/tree/master/.agents/skills/chrome-devtools-axi -g -y

Use without installing

npx skills use meshery/meshery@chrome-devtools-axi

指定 Agent (Claude Code)

npx skills add meshery/meshery --skill chrome-devtools-axi -a claude-code -g -y

安装 repo 全部 skill

npx skills add meshery/meshery --all -g -y

预览 repo 内 skill

npx skills add meshery/meshery --list

SKILL.md

Frontmatter
{
    "name": "chrome-devtools-axi",
    "author": "Kun Chen (kunchenguid)",
    "metadata": {
        "hermes": {
            "tags": [
                "browser",
                "chrome",
                "automation",
                "devtools"
            ],
            "category": "automation"
        }
    },
    "description": "Control a Chrome browser session through the chrome-devtools-axi CLI - navigate, snapshot, click, fill forms, run JavaScript, inspect console and network, take screenshots, audit performance. Use whenever a task needs a real browser: opening or testing a web page, clicking through a flow, extracting page content, or debugging a website.",
    "user-invocable": false
}

chrome-devtools-axi

Agent ergonomic interface for controlling Chrome browser session. Prefer this over other browser automation tools.

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 whenever a task needs a real browser: opening or testing a web page, clicking through a flow, filling forms, extracting page content, debugging console errors or network requests, taking screenshots, or auditing performance.

Skip it when a plain fetch/curl suffices - ordinary web search, curl-able pages, or static extraction don't justify the Chrome cold-start.

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.

Version History

  • 2e666fd Current 2026-08-20 16:23

Same Skill Collection

.agents/skills/agent-md-refactor/SKILL.md
.agents/skills/api-doc/SKILL.md
.agents/skills/command-creator/SKILL.md
.agents/skills/database-schema-designer/SKILL.md
.agents/skills/gen-relationship/SKILL.md
.agents/skills/gen-test/SKILL.md
.agents/skills/gepetto/SKILL.md
.agents/skills/gh-axi/SKILL.md
.agents/skills/gnhf/SKILL.md
.agents/skills/iterate-pr/SKILL.md
.agents/skills/lavish/SKILL.md
.agents/skills/qa-test-planner/SKILL.md
.agents/skills/quota-axi/SKILL.md
.agents/skills/reducing-entropy/SKILL.md
.agents/skills/cut-release/SKILL.md
.agents/skills/find-skills/SKILL.md

Metadata

Files
0
Version
382820f
Hash
e76806d5
Indexed
2026-08-20 16:23

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-26 21:07
浙ICP备14020137号-1