원클릭으로
bot-setup
当用户要求添加/配置/连接机器人(Bot)到任意平台(飞书、钉钉、QQ、Discord、Telegram、企业微信)时使用此技能。会自动打开浏览器引导用户在对应开放平台创建应用、获取凭据,然后调用 manage_bot 完成创建。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
当用户要求添加/配置/连接机器人(Bot)到任意平台(飞书、钉钉、QQ、Discord、Telegram、企业微信)时使用此技能。会自动打开浏览器引导用户在对应开放平台创建应用、获取凭据,然后调用 manage_bot 完成创建。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use this skill to read or create Word documents (.docx files). Supports text extraction and document creation with headings and lists.
Use this skill whenever the user wants to do anything with PDF files — reading, extracting, creating professional documents, filling forms.
Use this skill for spreadsheet tasks — reading, creating, or analyzing .xlsx, .xls, .csv, or .tsv files.
Create beautiful visual art in .png and .pdf documents using design philosophy. Use when the user asks to create a poster, piece of art, design, or other static visual piece.
Use this skill whenever the user wants to do anything with PowerPoint presentations — reading, extracting text, creating professional slide decks.
Use this skill when the user wants to interact with Feishu/Lark — manage calendars, send messages, create/edit documents, manage tasks, upload/download files, query contacts, or any Feishu workspace operations via the official lark-cli tool.
| name | bot_setup |
| description | 当用户要求添加/配置/连接机器人(Bot)到任意平台(飞书、钉钉、QQ、Discord、Telegram、企业微信)时使用此技能。会自动打开浏览器引导用户在对应开放平台创建应用、获取凭据,然后调用 manage_bot 完成创建。 |
| metadata | {"yiyi":{"emoji":"🤖","requires":{}}} |
当用户说「帮我添加飞书机器人」「配置 Discord bot」「连接 Telegram」等时,使用此技能引导用户完成整个配置流程。
browser_use(headed=true)打开对应平台的开发者控制台ai_snapshot + act 辅助用户在页面上操作manage_bot 的 create action 完成创建所需凭据: app_id, app_secret, webhook_url
步骤 1: 创建应用
步骤 2: 获取凭据
cli_xxxxxxxx)步骤 3: 启用机器人能力
步骤 4: 配置权限
im:message — 获取与发送消息im:message:send_as_bot — 以机器人身份发送消息im:chat:readonly — 获取群组信息contact:user.id:readonly — 获取用户 ID步骤 5: 配置事件订阅
http://<你的IP>:9090/webhook/feishuim.message.receive_v1(接收消息)步骤 6: 发布应用
步骤 7: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "feishu",
"name": "我的飞书机器人",
"config": {
"app_id": "cli_xxxxxxxx",
"app_secret": "从页面复制的密钥",
"webhook_url": "https://open.feishu.cn/open-apis/bot/v2/hook/xxxxx"
}
}
所需凭据: webhook_url, secret
步骤 1: 创建机器人
步骤 2: 获取 Webhook
步骤 3: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "dingtalk",
"name": "我的钉钉机器人",
"config": {
"webhook_url": "https://oapi.dingtalk.com/robot/send?access_token=xxx",
"secret": "SECxxxxxxxx"
}
}
所需凭据: app_id, client_secret
步骤 1: 创建应用
步骤 2: 获取凭据
步骤 3: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "qq",
"name": "我的QQ机器人",
"config": {
"app_id": "你的AppID",
"client_secret": "你的ClientSecret"
}
}
所需凭据: bot_token
步骤 1: 创建应用
步骤 2: 创建 Bot
步骤 3: 配置权限和意图
botSend Messages, Read Message History步骤 4: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "discord",
"name": "我的Discord机器人",
"config": {
"bot_token": "你的BotToken"
}
}
所需凭据: bot_token
步骤 1: 创建 Bot
/newbot步骤 2: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "telegram",
"name": "我的Telegram机器人",
"config": {
"bot_token": "从BotFather获取的Token"
}
}
所需凭据: corp_id, corp_secret, agent_id
步骤 1: 创建应用
步骤 2: 获取凭据
步骤 3: 配置回调
http://<你的IP>:9090/webhook/wecom步骤 4: 在 YiYi 创建 Bot
{
"action": "create",
"platform": "wecom",
"name": "我的企业微信机器人",
"config": {
"corp_id": "你的CorpID",
"corp_secret": "你的CorpSecret",
"agent_id": "你的AgentID"
}
}
在引导用户配置时,按以下模式使用浏览器:
启动可见浏览器:
{"action": "start", "headed": true}
打开开发者控制台:
{"action": "open", "url": "https://open.feishu.cn/app"}
获取页面结构(使用 AI Snapshot):
{"action": "ai_snapshot"}
这会返回带编号的可交互元素列表,如 [1] <button>创建应用</button>
操作页面元素:
{"action": "act", "element": 1, "operation": "click"}
等待用户操作(如登录、输入验证码):
{"action": "wait", "timeout": 10000} 等待ai_snapshot 检查页面状态提取凭据: 从页面快照中识别 App ID / Secret 等信息
manage_bot 的 start action 启动 Bot