Search Web
Researchsearch-webSearch Web is an Agent Skill for research published in the huangruiteng/CS-Notes repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
使用内置 search_web.py 脚本进行联网搜索问答,准备清晰具体的问题。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/huangruiteng/CS-Notes/blob/HEAD/.trae/openclaw-skills/search-web/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/search-web, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Search Web
适用场景
当需要联网搜索信息并获取智能体回答时使用该技能。支持搜索网络、获取参考资料、富媒体卡片数据,实现追问、引用角标、图文混排、百科划线词等高级功能。
使用步骤
- 准备清晰具体的问题。
- 运行脚本
python scripts/search_web.py "<question>"。运行之前cd到对应的目录。 - 脚本将返回智能体的回答内容,包括参考来源、追问建议等。
输出格式
- 输出智能体的回答内容。
- 显示参考来源(URL、标题、发布时间等)。
- 显示追问建议(如有)。
- 显示 Token 使用情况。
- 若调用失败,将打印错误信息。
示例
python scripts/search_web.py "荣耀手机的最新动态"
高级功能
该技能支持以下高级功能(需在控制台开启):
- 引用角标:在回答中插入引用标记
[ref_x]指示文本来源 - 图文/视频混排:在输出中穿插图片或视频
- 百科划线词:自动将百科词条以下划线超链接形式呈现
- 追问建议:提供相关追问建议
- 深度思考模式:通过设置
model=thinking开启