web-search

当需要从公开网页快速获取摘要信息时,使用该技能调用 web_search 函数。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "web-search" with this command: npx skills add bytedance/agentkit-samples/bytedance-agentkit-samples-web-search

Web Search

适用场景

当需要从公开网页快速获取摘要信息时,使用该技能调用 web_search 函数。

使用步骤

  • 准备清晰具体的 query 。

  • 运行脚本 python scripts/web_search.py "query" 。运行之前cd到对应的目录。

  • 根据返回的摘要列表组织答案,不新增或臆造内容。

认证与凭据来源

  • 用户首次使用本技能时,先检查是否配置了WEB_SEARCH_API_KEY 环境变量,如未配置,提示用户需要提供WEB_SEARCH_API_KEY ,并把它写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效

  • 该技能默认使用 WEB_SEARCH_API_KEY 环境变量

  • 若未配置,将尝试使用 VOLCENGINE_ACCESS_KEY 与 VOLCENGINE_SECRET_KEY 环境变量。

  • 若未配置,在 VeFaaS 环境中将尝试使用 VeFaaS IAM 临时凭据。

错误处理

  • 如果出现'PermissionError: no credential found'错误,则提示用户需要提供WEB_SEARCH_API_KEY ,告诉用户可以从融合信息搜索API获取,并把它写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效,并重试刚才失败的搜索。

  • 如果用户无法提供WEB_SEARCH_API_KEY ,则提示用户可以提供VOLCENGINE_ACCESS_KEY 和VOLCENGINE_SECRET_KEY ,并把它们写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效,并重试刚才失败的搜索。

输出格式

  • 按行输出摘要列表,最多 5 条。

  • 若调用失败,将打印错误响应。

后续操作

  • 用户首次使用本技能后,可以询问用户是否后续在需要搜索时默认使用本技能,如果得到用户肯定回答,则提示用户可以复制下边的提示词,发给openclaw: "请记住,之后如果需要搜索信息,优先使用 web-search skill",这样可以避免用户每次都需要手动指定使用本技能。

示例

python scripts/web_search.py "2026 年最新的 Python 版本"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

image-video-gen

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

link-reader

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

deepsearch

No summary provided by upstream source.

Repository SourceNeeds Review