跳到正文
Skillpedia
API 与服务器(后端)8.3k · #12478

yao-process

它能做什么

这项技能让智能体在 Yao 平台上运行指定名称的流程,例如查询记录。适合希望调用安全、准确的开发者。

适用场景

  • ✓当你需要运行 Yao 流程,例如在数据模型中查找记录的时候。
  • ✓当流程调用被拒绝,你需要知道原因的时候。
  • ✓当你想在调用之前检查哪些流程被允许时。

技能链接

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-process/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/YaoApp/yao/blob/main/tools/skills/yao-process/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查用户查询流程是否被允许,然后运行它并把结果展示给我。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查允许的流程列表,阅读流程文档,然后进行调用。权限规则按名称模式应用,因此相关的流程会被一起覆盖。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Process Tools

Two tools for Yao process execution, called via bash.

process_call

Execute a Yao Process by its fully qualified name.

tai tool process_call '{"name": "models.user.Find", "args": [1, {}]}'
Parameter Type Required Description
name string yes Process name (e.g. models.user.Find)
args array no Positional arguments

process_allowed

Check which processes are permitted, or verify a specific process.

# List all allowed rules
tai tool process_allowed '{}'

# Check a specific process
tai tool process_allowed '{"name": "models.user.Find"}'
Parameter Type Required Description
name string no Process name to check. Omit to list all rules.

Workflow

  1. Use process_allowed to check what is permitted
  2. Use doc_inspect (from yao-doc skill) to understand the process signature
  3. Use process_call to execute

Guidelines

  • Always check documentation before calling an unfamiliar process
  • A 403 error means the process is not in the allowed list
  • Process names follow the pattern group.id.Method (e.g. models.user.Find, scripts.auth.Check)
  • Rules use prefix matching: models.* matches all model processes
常见问题

我的调用为什么被拒绝?

拒绝通常意味着该流程不在允许列表中。

流程名称是怎样写的?

它们遵循分组、名称和方法的格式,例如 models、user 和 Find。

它能调用任何流程吗?

不能。只有规则允许的流程才能被调用。

详情

作者的原始描述

Yao process execution expert. ALWAYS invoke this skill when the user needs to call a Yao process, query data models, run scripts, or check process permissions. Do not call processes without checking this skill first.

repo: YaoApp/yao

热度

GitHub 星标
8.3k
排名
#12478
许可证
—
更新时间
2026/10/19

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能