yao/tools/skills/yao-doc/SKILL.md
Max 194faac9b7 feat(agent): enhance sandbox V2 initialization and role management
- Refactored the initSandboxV2 function to return a structured result, consolidating the runner, computer, configuration, cleanup function, loading message ID, and roles into a single return type.
- Updated the Stream method to utilize the new sandboxV2InitResult structure, improving clarity and reducing complexity in handling sandbox initialization.
- Introduced role management enhancements, allowing for pre-resolved role connectors to be passed through the request, streamlining connector resolution during execution.
- Adjusted various components to support the new roles structure, ensuring consistent handling across the agent's sandbox operations.
- Added logging for connector resolution and role management, improving diagnostics and traceability during sandbox execution.
- Updated .gitignore to include tools/TOOL-REGISTRATION.md for better project organization.
2026-05-03 19:11:29 +08:00

1.7 KiB

name description
yao-doc Yao process documentation expert. ALWAYS invoke this skill when the user needs to discover available processes, read process signatures, or validate process names. Do not guess process APIs — use this skill first.

Documentation Tools

Three tools for browsing Yao process documentation, called via bash.

doc_list

Search and list available process documentation entries.

tai tool doc_list '{"keyword": "user", "limit": 10}'
Parameter Type Required Description
keyword string no Search keyword (empty to list all)
limit integer no Max results (default 20)

doc_inspect

Get detailed documentation for a specific process: arguments, return type, methods.

tai tool doc_inspect '{"name": "models.user.Find"}'
Parameter Type Required Description
name string yes Process name (e.g. models.user.Find)

doc_validate

Check if a process name is valid. Returns suggestions for similar processes if not found.

tai tool doc_validate '{"name": "models.user.Findd"}'
Parameter Type Required Description
name string yes Process name to validate

Workflow

  1. doc_list — discover available processes by keyword
  2. doc_inspect — read the full signature before calling
  3. doc_validate — fix typos when a process name doesn't work

Guidelines

  • Always use doc_inspect before calling an unfamiliar process via process_call
  • Use doc_validate when you get unexpected errors — the name might be misspelled