Skip to main content

search-web

使用内置 search_web.py 脚本进行联网搜索问答,准备清晰具体的问题。

Source facts

Repository
huangruiteng/CS-Notes
Last source activity
February 27, 2026 at 10:20
Detected SKILL.md language
Chinese
Stars
4,002
Forks
482

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
search-web
description
使用内置 search_web.py 脚本进行联网搜索问答,准备清晰具体的问题。
# Search Web ## 适用场景 当需要联网搜索信息并获取智能体回答时使用该技能。支持搜索网络、获取参考资料、富媒体卡片数据,实现追问、引用角标、图文混排、百科划线词等高级功能。 ## 使用步骤 1. 准备清晰具体的问题。 2. 运行脚本 `python scripts/search_web.py "<question>"`。运行之前cd到对应的目录。 3. 脚本将返回智能体的回答内容,包括参考来源、追问建议等。 ## 输出格式 - 输出智能体的回答内容。 - 显示参考来源(URL、标题、发布时间等)。 - 显示追问建议(如有)。 - 显示 Token 使用情况。 - 若调用失败,将打印错误信息。 ## 示例 ```bash python scripts/search_web.py "荣耀手机的最新动态" ``` ## 高级功能 该技能支持以下高级功能(需在控制台开启): - **引用角标**:在回答中插入引用标记 `[ref_x]` 指示文本来源 - **图文/视频混排**:在输出中穿插图片或视频 - **百科划线词**:自动将百科词条以下划线超链接形式呈现 - **追问建议**:提供相关追问建议 - **深度思考模式**:通过设置 `model=thinking` 开启
View on GitHub