← 返回 Skills 市场
panchenbo

Browser Opener Skill

作者 panchenbo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
162
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install browser-opener-skill
功能描述
Opens URLs in multiple browsers (Chrome, Firefox, Edge, Safari) across platforms, supporting default, specific browsers, incognito, new windows, and headless...
使用说明 (SKILL.md)

Browser Opener Skill

This skill provides cross-platform browser opening capabilities with support for multiple browsers.

Quick Start

Open a URL with the default browser:

# Using the browser opener script
python scripts/open_browser.py --url https://www.google.com

Open a URL with a specific browser:

# Open with Chrome
python scripts/open_browser.py --url https://www.google.com --browser chrome

# Open with Firefox
python scripts/open_browser.py --url https://www.google.com --browser firefox

# Open with Edge
python scripts/open_browser.py --url https://www.google.com --browser edge

Supported Browsers

  • Chrome: chrome, google-chrome, google-chrome-stable
  • Firefox: firefox, mozilla-firefox
  • Edge: edge, microsoft-edge
  • Safari: safari, apple-safari
  • Default: default (uses system default browser)

Usage Examples

See examples/ for comprehensive usage examples including:

  • Basic URL opening
  • Browser-specific launching
  • Batch opening multiple URLs
  • Error handling scenarios

Browser Support Details

For detailed information about browser support on different platforms, see references/browser_support.md.

Command Line Options

The scripts/open_browser.py script supports the following options:

  • --url: URL to open (required)
  • --browser: Browser to use (optional, defaults to 'default')
  • --new-window: Open in new window (optional)
  • --incognito: Open in incognito/private mode (optional)
  • --headless: Open in headless mode (optional, for testing)

Error Handling

The script includes comprehensive error handling for:

  • Invalid URLs
  • Browser not found
  • Permission issues
  • Platform-specific errors
安全使用建议
This skill appears to do what it says: open URLs in browsers. Before installing or running it consider: (1) review scripts/open_browser.py yourself to confirm no hidden behavior; (2) be aware it runs browser executables found on PATH or in common install locations — if an adversary has placed a malicious executable with a browser name on your PATH, that could be executed; (3) run in a sandbox if you are unsure, and do not provide secrets to this skill (it doesn't need any); (4) note the README incorrectly lists stdlib modules for pip installation — you only need Python to run the script. If you want extra assurance, run the examples locally in an isolated environment first.
功能分析
Type: OpenClaw Skill Name: browser-opener-skill Version: 1.0.0 The browser-opener-skill is a legitimate utility designed to launch various web browsers (Chrome, Firefox, Edge, Safari) across different operating systems. The core logic in `scripts/open_browser.py` uses the standard `subprocess` module with argument lists to safely execute browser commands and includes fallback support via the `webbrowser` module. No indicators of malicious intent, such as data exfiltration, shell injection vulnerabilities, or prompt injection attacks, were found in the code or documentation.
能力评估
Purpose & Capability
Name and description match the included code and examples: the bundle implements a Python BrowserOpener that finds browser executables and launches URLs with flags (incognito, new-window, headless). There are no unrelated environment variables, credentials, or install steps requested.
Instruction Scope
SKILL.md tells the agent to run the provided script with URL and options, which is exactly what the script does. The script searches PATH and common install paths and invokes browser executables via subprocess.run. It does not read unrelated user files or send data to external endpoints. Note: launching system executables depends on PATH and installed binaries — a malicious binary on PATH could be executed, which is an environment/configuration risk inherent to any tool that invokes external programs.
Install Mechanism
There is no install spec (instruction-only), so nothing is downloaded or executed by an installer. The repository includes Python scripts that will be present in the skill bundle. The README's suggested 'pip install webbrowser subprocess argparse' is incorrect (these are stdlib modules) — this is a documentation inaccuracy but not a direct security issue.
Credentials
The skill requests no environment variables, keys, or config paths. The code uses platform/os APIs and subprocess to locate and run browser executables only — no credentials or unrelated services are accessed.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and contains no autonomous persistence or background agents. It only exposes command-line usage and a Python API.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-opener-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-opener-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of browser-opener skill. - Provides cross-platform support for opening URLs in Chrome, Firefox, Edge, Safari, or the system default browser. - Command-line options for specifying browsers, incognito/private mode, new window, and headless operation. - Includes robust error handling for invalid URLs, unavailable browsers, and platform-specific issues. - Usage examples and detailed browser support documentation included.
元数据
Slug browser-opener-skill
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Browser Opener Skill 是什么?

Opens URLs in multiple browsers (Chrome, Firefox, Edge, Safari) across platforms, supporting default, specific browsers, incognito, new windows, and headless... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 162 次。

如何安装 Browser Opener Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install browser-opener-skill」即可一键安装,无需额外配置。

Browser Opener Skill 是免费的吗?

是的,Browser Opener Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Browser Opener Skill 支持哪些平台?

Browser Opener Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Browser Opener Skill?

由 panchenbo(@panchenbo)开发并维护,当前版本 v1.0.0。

💬 留言讨论