OpenParable
Skip to content
← Back to skills

Yao Doc

Documents
yao-doc

Yao Doc is an Agent Skill for documents published in the YaoApp/yao repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/YaoApp/yao/blob/HEAD/tools/skills/yao-doc/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/yao-doc, 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.

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}'
ParameterTypeRequiredDescription
keywordstringnoSearch keyword (empty to list all)
limitintegernoMax results (default 20)

doc_inspect

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

tai tool doc_inspect '{"name": "models.user.Find"}'
ParameterTypeRequiredDescription
namestringyesProcess 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"}'
ParameterTypeRequiredDescription
namestringyesProcess 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