Yao Web
Researchyao-webYao Web is an Agent Skill for research published in the YaoApp/yao repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
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.
Inspect the Agent Skill at https://github.com/YaoApp/yao/blob/HEAD/tools/skills/yao-web/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/yao-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.
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