yao-web
它能做什么
这项技能让智能体搜索网络并阅读网页,以获取最新信息。适合需要当前事实而非旧知识的人。
适用场景
- ✓当你需要最近的新闻、价格或可能已经变化的事实时。
- ✓当你有一个网页链接,并希望智能体读取其内容时。
- ✓当某个问题依赖于今年的信息时。
技能链接
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-web/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在网上搜索关于这款产品的最新公告,并为我总结。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会搜索并返回带有标题、链接和简短摘要的结果,然后抓取你选择的页面,并返回其可读内容。在搜索中加入当前年份,有助于找到最近的结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Web Tools
Two tools for web information retrieval, called via bash.
web_search
Search the web for real-time information. Returns structured results with title, URL, and content snippet.
tai tool web_search '{"query": "search terms", "limit": 5}'
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | Search query |
limit |
integer | no | Max results (default 10) |
web_fetch
Fetch a web page and return its content in readable format.
tai tool web_fetch '{"url": "https://example.com", "format": "markdown"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
url |
string | yes | Fully-formed URL to fetch |
format |
string | no | markdown (default) or html |
Guidelines
- Use web_search to discover URLs, then web_fetch to read the content
- Include the current year when searching for recent information
- All output is JSON
常见问题
它能读取任何网站吗?
它会抓取你指定的页面,并返回可读的内容。
它会返回原始 HTML 吗?
默认返回可读的 Markdown,也可以使用 HTML。
一次搜索返回多少条结果?
默认最多 10 条,你也可以设置更小的数量。
详情
作者的原始描述
Web information retrieval expert. ALWAYS invoke this skill when the user needs to search the web, fetch a URL, or access real-time information beyond training data. Do not guess or use stale knowledge — use this skill first.
repo: YaoApp/yao
热度
- GitHub 星标
- 8.3k
- 排名
- #12480
- 许可证
- —
- 更新时间
- 2026/10/19
评论
- …