← 返回 Skills 市场
Chatgpt Search
作者
yang040840219
· GitHub ↗
· v1.0.0
· MIT-0
167
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install chatgpt-search
功能描述
使用浏览器自动化在 ChatGPT 上搜索问题,获取 AI 回答。无需登录即可使用基础功能。
使用说明 (SKILL.md)
ChatGPT 搜索 Skill
通过浏览器自动化在 ChatGPT 上提问并获取回答。支持各种查询问题,无需 API Key。
🚀 快速使用
直接使用浏览器工具
在 OpenClaw 会话中直接说:
使用 ChatGPT 搜索:[你的问题]
例如:
- "使用 ChatGPT 搜索:OpenClaw 最新版本是多少?"
- "使用 ChatGPT 搜索:如何配置 VPS 安全?"
- "使用 ChatGPT 搜索:解释量子计算原理"
自动关闭标签页
搜索完成后会自动关闭打开的 ChatGPT 标签页,保持浏览器整洁。
📦 脚本使用
基础搜索
node scripts/chatgpt-search.js "你的问题"
带上下文搜索
node scripts/chatgpt-search.js "你的问题" --context "额外背景信息"
🔧 脚本参数
| 参数 | 说明 | 默认值 |
|---|---|---|
query |
搜索问题(必需) | - |
--context |
额外上下文信息 | 无 |
--timeout |
超时时间(毫秒) | 30000 |
--output |
输出格式(json/text) | text |
--keep-open |
搜索后保持标签页打开 | false(自动关闭) |
💡 使用场景
| 场景 | 示例 |
|---|---|
| 知识查询 | "Python 异步编程的最佳实践" |
| 代码解释 | "解释这段代码的工作原理" |
| 概念理解 | "什么是区块链?" |
| 问题解决 | "如何调试内存泄漏?" |
| 最新信息 | "2026 年 AI 发展趋势" |
📝 输出格式
文本模式(默认)
ChatGPT 回复:
[回答内容]
---
搜索时间:3.2 秒
JSON 模式
{
"query": "你的问题",
"answer": "ChatGPT 的回答",
"elapsedSeconds": "3.2",
"timestamp": "2026-03-17T23:47:00Z"
}
⚠️ 注意事项
- 无需登录:基础功能无需 ChatGPT 账号
- 登录限制:部分高级功能可能需要登录
- 速率限制:避免频繁请求,建议间隔 5-10 秒
- 浏览器依赖:需要 Chromium 浏览器和 18800 调试端口
🔍 故障排查
问题:浏览器超时
解决方案:
# 检查浏览器是否运行
ps aux | grep chromium
# 重启浏览器
/snap/bin/chromium --remote-debugging-port=18800 --user-data-dir=/tmp/openclaw-chrome &
问题:ChatGPT 要求登录
解决方案:
- 简单问题通常无需登录
- 复杂问题可能需要手动登录
- 考虑使用其他搜索方式(web_search)
问题:回答被截断
解决方案:
- 增加
--timeout参数 - 拆分复杂问题为多个小问题
- 使用
--output json获取完整内容
🆚 与其他搜索方式对比
| 方式 | 优势 | 劣势 | 适用场景 |
|---|---|---|---|
| chatgpt-search | AI 整合答案,易于理解 | 速度较慢,需浏览器 | 复杂问题、需要解释 |
| web_search | 快速,多来源 | 需要自己整合信息 | 新闻、事实查询 |
| web_fetch | 获取特定页面内容 | 仅限单个 URL | 读取已知文章 |
📋 最佳实践
- 问题清晰:明确表达你的问题
- 提供上下文:使用
--context添加背景信息 - 验证答案:重要信息建议交叉验证
- 合理使用:简单问题优先使用 web_search
🔗 相关 Skill
web_search- 传统搜索引擎web_fetch- 网页内容提取tavily-search- AI 优化搜索agent-reach- 多平台搜索
📖 示例
示例 1:查询技术信息
node scripts/chatgpt-search.js "OpenClaw 最新版本特性"
示例 2:代码解释
node scripts/chatgpt-search.js "解释 async/await 的工作原理" --context "JavaScript 编程"
示例 3:概念学习
node scripts/chatgpt-search.js "什么是向量数据库?" --output json
📅 更新日志
v1.0.0 (2026-03-17)
- 初始版本
- 支持基础问答功能
- 支持文本和 JSON 输出格式
- 浏览器自动化集成
安全使用建议
Before installing: 1) Verify the target domain: the scripts point to https://chatgpt.com rather than chat.openai.com — confirm that this is the intended, trustworthy endpoint (it may be a third‑party site or redirect). 2) Be cautious about running Chromium with --remote-debugging-port: exposing a debugging port can allow remote control of the browser; if you must use it, run Chromium with an isolated user-data-dir and on a machine/network you trust. 3) Screenshots and snapshots are saved locally (default /tmp/chatgpt-screenshots) and may contain sensitive data from your sessions — change the path and review file permissions. 4) Review the scripts yourself (or run them in an isolated VM/container) — the code does not contact external servers other than opening the ChatGPT URL, but it automates browsing and captures page content. 5) If you need greater assurance, ask the author to explain why chatgpt.com is used, whether redirects occur to an official domain, and whether the skill can be run without enabling a globally exposed debugging port. Installing is reasonable if you accept these risks and run it in an isolated environment; otherwise treat it as untrusted.
功能分析
Type: OpenClaw Skill
Name: chatgpt-search
Version: 1.0.0
The skill bundle provides browser automation scripts to interact with ChatGPT for information retrieval. The code in scripts/chatgpt-handler.js and scripts/chatgpt-search.js uses the OpenClaw browser tool to navigate to chatgpt.com, input queries, and extract text responses as described in the documentation. No evidence of data exfiltration, malicious execution, or prompt injection was found; the behavior is entirely consistent with the stated purpose of AI-assisted searching.
能力评估
Purpose & Capability
Name/description (automated ChatGPT queries via browser) matches the included scripts. The scripts call an OpenClaw 'browser' tool to open pages, type queries, snapshot responses and save screenshots. Required binary (node) is reasonable for these JS scripts.
Instruction Scope
SKILL.md and README instruct launching Chromium with --remote-debugging-port=18800 and using a specific user-data-dir. That guidance can expose a browser automation port and, if misused, other browser sessions; the handler and script snapshot page contents and save screenshots which may capture sensitive data. The code itself does not exfiltrate data to external endpoints, but the instructions grant the agent lifecycle control over the browser automation and local screenshot files.
Install Mechanism
No install spec; this is instruction-plus-scripts only (no remote downloads). That keeps disk footprint limited to the skill directory; nothing is fetched from arbitrary URLs during install.
Credentials
The skill requires no environment credentials or config paths. However, it asks (in docs) that users run Chromium with a remote-debugging port which effectively opens a local automation endpoint; this is not a secret but is a capability that can expose browser control. Screenshot saving to /tmp/chatgpt-screenshots may capture sensitive content — consider the directory and permissions.
Persistence & Privilege
Skill is not marked always:true and does not alter other skills or global agent settings by itself. It only writes screenshots/saves under configurable paths and prints instructions for manual configuration; no automatic persistent daemon or self-enabling behavior is present.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chatgpt-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/chatgpt-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
chatgpt-search 1.0.0
- 初始发布,支持通过浏览器自动化在 ChatGPT 上提问并获取 AI 回答
- 基础问答功能,无需登录即可使用
- 支持文本和 JSON 两种输出格式
- 命令行参数含上下文、超时时间、保持标签页等选项
- 自动关闭标签页,保持浏览器整洁
元数据
常见问题
Chatgpt Search 是什么?
使用浏览器自动化在 ChatGPT 上搜索问题,获取 AI 回答。无需登录即可使用基础功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 167 次。
如何安装 Chatgpt Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chatgpt-search」即可一键安装,无需额外配置。
Chatgpt Search 是免费的吗?
是的,Chatgpt Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Chatgpt Search 支持哪些平台?
Chatgpt Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chatgpt Search?
由 yang040840219(@yang040840219)开发并维护,当前版本 v1.0.0。
推荐 Skills