Skywork Search by skyworkai/skywork-skills
npx skills add https://github.com/skyworkai/skywork-skills --skill 'Skywork Search'通过 Skywork 搜索 API 搜索网络以获取实时信息。此技能允许您在单次调用中运行最多 3 个查询,并返回包含来源 URL 和内容摘要的结构化结果。
在使用此技能之前,必须完成身份验证。请先运行身份验证脚本:
# 身份验证:检查环境变量令牌 / 缓存的令牌 / 浏览器登录
python3 <skill-dir>/scripts/skywork_auth.py || exit 1
令牌优先级:
SKYBOT_TOKEN → 如果已设置,则直接使用~/.skywork_token → 通过 API 验证,如果有效则使用重要提示 - 登录 URL 处理:如果脚本输出包含以 [LOGIN_URL] 开头的行,您必须立即将该 URL 以可点击消息的形式发送给用户(例如:"请打开此链接登录:")。用户可能处于浏览器无法自动打开的环境中,因此请务必提供登录 URL。
从此技能的 scripts/ 目录运行捆绑的脚本:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
python3 <skill-path>/scripts/web_search.py "query1" ["query2"] ["query3"]
搜索质量在很大程度上取决于查询措辞。以下是一些建议:
运行脚本后,读取输出文件。每个文件包含:
query: <原始查询>
[result-1] <来源 URL>
<内容摘要>
[result-2] <来源 URL>
<内容摘要>
...
将结果综合成一个清晰的答案提供给用户。在呈现事实信息时,务必引用来源 — 包含结果中的 URL,以便用户验证。
用户提问:"量子计算的最新进展是什么?"
使用重点查询运行搜索:
python3 <skill-path>/scripts/web_search.py \
"quantum computing breakthroughs 2026" \
"quantum computing industry news latest"
读取结果文件
将发现综合成一个清晰、有来源的摘要提供给用户
每周安装次数
–
代码仓库
GitHub 星标数
54
首次出现时间
–
安全审计
Search the web for real-time information via the Skywork search API. This skill lets you run up to 3 queries in a single invocation and returns structured results with source URLs and content snippets.
Before using this skill, authentication must be completed. Run the auth script first:
# Authenticate: checks env token / cached token / browser login
python3 <skill-dir>/scripts/skywork_auth.py || exit 1
Token priority :
SKYBOT_TOKEN → if set, use directly~/.skywork_token → validate via API, if valid, use itIMPORTANT - Login URL handling : If script output contains a line starting with [LOGIN_URL], you MUST immediately send that URL to the user in a clickable message (e.g. "Please open this link to log in: "). The user may be in an environment where the browser cannot open automatically, so always surface the login URL.
Run the bundled script from this skill's scripts/ directory:
python3 <skill-path>/scripts/web_search.py "query1" ["query2"] ["query3"]
Search quality depends heavily on query phrasing. A few tips:
After running the script, read the output files. Each file contains:
query: <the original query>
[result-1] <source URL>
<content snippet>
[result-2] <source URL>
<content snippet>
...
Synthesize the results into a clear answer for the user. Always cite sources when presenting factual information — include the URLs from the results so the user can verify.
User asks: "What are the latest developments in quantum computing?"
Run the search with focused queries:
python3 <skill-path>/scripts/web_search.py \
"quantum computing breakthroughs 2026" \
"quantum computing industry news latest"
Read the result files
Synthesize findings into a clear, sourced summary for the user
Weekly Installs
–
Repository
GitHub Stars
54
First Seen
–
Security Audits
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装