← 返回 Skills 市场
270
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install web-chat
功能描述
Use when the user wants to interact with Google Gemini or ChatGPT via browser automation. Triggers on phrases like "ask Gemini", "ask ChatGPT", "ask GPT", "让...
安全使用建议
This skill appears to do what it says: it runs local Python scripts that control your Chrome (via remote debugging) to send queries to Gemini or ChatGPT and return the responses verbatim. Before installing or running it: 1) Review the included scripts (they are bundled so you can inspect them) to confirm no unexpected network calls or behavior; 2) Be aware the skill uses a Chrome profile directory (cookies/sessions) — consider using a dedicated profile or logging out of accounts you don't want accessible; 3) Expect to pip install Playwright from PyPI (Playwright may also fetch browser tooling); 4) Understand that responses are returned exactly as the chatbot outputs (including any links or potentially sensitive content); 5) Only run this on machines you trust; if you want stronger isolation, run Chrome in a dedicated user account, container, or VM and review the full script contents (particularly the truncated parts) before use.
功能分析
Type: OpenClaw Skill
Name: web-chat
Version: 1.0.0
The 'web-chat' skill bundle is a legitimate tool designed to automate interactions with Google Gemini and ChatGPT via Playwright. The shell script (start_chrome.sh) safely manages a Chrome instance with remote debugging enabled, using a dedicated user data directory (~/.openclaw/workspace/chrome_profile) to isolate sessions. The Python scripts (ask_chatgpt.py and ask_gemini.py) use standard browser automation techniques to send user queries and extract responses/citations without any evidence of data exfiltration or unauthorized access. The instructions in SKILL.md are strictly focused on task execution and do not contain malicious prompt injections.
能力评估
Purpose & Capability
Name/description match the implementation: Python + Playwright scripts connect to a local Chrome CDP, navigate to gemini.google.com or chatgpt.com, send the user query, and extract the response and citations. Required binary (python3) and no env vars align with this purpose. Using the user's Chrome session (via a user-data-dir) is expected to preserve login state.
Instruction Scope
SKILL.md instructs the agent to run the included Python scripts and start_chrome.sh, connect to a local Chrome CDP, and return the script output verbatim. That is within scope, but returning responses verbatim can leak sensitive content from the chat (and any links/citations the chatbot emits). The instructions do not ask the agent to read arbitrary host files or unrelated env vars.
Install Mechanism
There is no external/obscure download URL in the skill. The only install activity is creating a virtualenv and pip installing requirements.txt (playwright>=1.40.0) which is normal for Python projects. Note: pip/Playwright will fetch packages from PyPI (and Playwright may download browser tooling if used), so standard package-supply risks apply but nothing unusual in this repo.
Credentials
No environment variables or external credentials are requested. The skill uses a Chrome user-data-dir (~/.openclaw/workspace/chrome_profile) and requires you to be logged into Google/OpenAI in that browser. Access to your browser profile (cookies, sessions) is necessary for the functionality but is a sensitive capability — the scripts can control the browser and interact with pages in that profile.
Persistence & Privilege
The skill is not always-enabled and does not request platform-wide privileges. It creates/uses a dedicated user-data-dir for Chrome and includes a start script that launches Chrome under that profile. It does not modify other skills or global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install web-chat - 安装完成后,直接呼叫该 Skill 的名称或使用
/web-chat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of web-chat skill.
- Enables browser automation to interact with Google Gemini or ChatGPT based on user prompts.
- Detects trigger phrases in English and Chinese, extracts the user query, and sends it verbatim to the chosen chatbot.
- Automates Chrome startup with session persistence and safe concurrent handling.
- Returns chatbot responses exactly as received, without modifications.
- Provides clear error handling steps for Chrome connection issues and chatbot site changes.
- Supports Linux and macOS (Darwin) with Python 3 as a prerequisite.
元数据
常见问题
Ask Gemini/ChatGPT 是什么?
Use when the user wants to interact with Google Gemini or ChatGPT via browser automation. Triggers on phrases like "ask Gemini", "ask ChatGPT", "ask GPT", "让... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 270 次。
如何安装 Ask Gemini/ChatGPT?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install web-chat」即可一键安装,无需额外配置。
Ask Gemini/ChatGPT 是免费的吗?
是的,Ask Gemini/ChatGPT 完全免费(开源免费),可自由下载、安装和使用。
Ask Gemini/ChatGPT 支持哪些平台?
Ask Gemini/ChatGPT 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin)。
谁开发了 Ask Gemini/ChatGPT?
由 Jie Liu(@ljie-pi)开发并维护,当前版本 v1.0.0。
推荐 Skills