← Back to Skills Marketplace
aizzaua

一键通过9222调试端口启动Chrome

by aizzaua · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
209
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install chrome9222
Description
启动Chrome浏览器,自动通过9222端口开启远程调试模式,方便调试和开发使用。
README (SKILL.md)

{\r "name": "Chrome9222端口启动",\r "id": "chrome_9222_launch",\r "version": "1.0.0",\r "description": "一键通过9222调试端口启动Chrome",\r "config": {\r "browser": {\r "enabled": true,\r "type": "chrome",\r "remoteDebuggingPort": 9222,\r "headless": false\r }\r },\r "actions": [\r {\r "name": "启动Chrome(9222端口)",\r "id": "launch_chrome_9222",\r "parameters": [],\r "exec": {\r "type": "script",\r "lang": "javascript",\r "code": "async function execute() { try { // 杀死残留Chrome进程 const { execSync } = require('child_process'); execSync('taskkill /f /im chrome.exe 2>nul'); // 启动Chrome(9222端口) execSync('"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=C:\ emp\chrome_test'); return '✅ Chrome已通过9222端口启动!'; } catch (error) { return ❌ 启动失败:${error.message}; } }"\r }\r }\r ],\r "triggers": []\r }

Usage Guidance
This skill will forcibly kill all running Chrome processes and then start Chrome from the hard-coded path C:\Program Files\Google\Chrome\Application\chrome.exe with --remote-debugging-port=9222 and a user-data-dir of C:\temp\chrome_test. Before installing or running it: (1) confirm you are on Windows and that Chrome is installed at that path (otherwise modify the command); (2) be aware taskkill /f will close Chrome immediately and may cause loss of unsaved tabs or data; (3) ensure C:\temp exists and you accept a new Chrome profile being created there; (4) understand that opening a remote debugging port can expose powerful controls — only use on trusted, local networks and consider firewall/localhost restrictions; (5) if you want safer behavior, run the commands manually or adjust the script to avoid force-killing processes and to use the correct Chrome path. If you need further help adapting the skill to your environment (e.g., macOS/Linux or a different Chrome path), provide your OS and Chrome location.
Capability Assessment
Purpose & Capability
The skill's claimed purpose — start Chrome with remote debugging on port 9222 — aligns with the provided runtime instructions (it kills existing chrome.exe processes and launches chrome.exe with --remote-debugging-port and a user-data-dir). However the SKILL.md contains Windows-specific commands and an explicit Windows Chrome path despite the skill metadata listing no OS restriction; that mismatch is an incoherence the user should be aware of.
Instruction Scope
The instructions execute shell commands via child_process.execSync: taskkill /f /im chrome.exe and launching "C:\Program Files\Google\Chrome\Application\chrome.exe" with --user-data-dir=C:\temp\chrome_test. These actions (force-killing all Chrome processes) can cause loss of unsaved data and have side effects on running applications. The instructions also assume write access to C:\temp and the exact Chrome install path. While these commands are necessary to achieve the stated goal, they are destructive and platform-specific and the skill does not warn about these effects.
Install Mechanism
Instruction-only skill with no install spec or external downloads — no code is written to disk by an installer. This is low install risk.
Credentials
The skill does not request environment variables, credentials, or config paths beyond using a local user-data-dir; the required capabilities are proportionate to starting a browser. There are no unexplained credential requests.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence or modify other skills. It will run commands when invoked; autonomous invocation is allowed by platform default but not exceptional here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chrome9222
  3. After installation, invoke the skill by name or use /chrome9222
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: One-click launch of Chrome with remote debugging enabled on port 9222. - Automatically kills leftover Chrome processes before starting. - Launches Chrome with a custom user data directory for isolation. - Provides clear feedback on success or failure.
Metadata
Slug chrome9222
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 一键通过9222调试端口启动Chrome?

启动Chrome浏览器,自动通过9222端口开启远程调试模式,方便调试和开发使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 209 downloads so far.

How do I install 一键通过9222调试端口启动Chrome?

Run "/install chrome9222" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 一键通过9222调试端口启动Chrome free?

Yes, 一键通过9222调试端口启动Chrome is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 一键通过9222调试端口启动Chrome support?

一键通过9222调试端口启动Chrome is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 一键通过9222调试端口启动Chrome?

It is built and maintained by aizzaua (@aizzaua); the current version is v1.0.0.

💬 Comments