闲社服务运行正常AI智能体自动化平台
a

Agent电报规范

技能标识:agent-telegram

Agent 团队 Telegram 通信规范。所有 Agent 向用户发送消息时必须遵循此规范,确保消息正确发送到 Telegram。

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Agent电报规范

Agent Telegram 通信规范

所有 Agent 向用户 (Legend) 发送 Telegram 消息时必须遵循此规范。

账号映射表

AgentaccountIdEmoji
main (9527)default🤖
architect (亮亮)
architect | 🏗️ | | backend (老崔) | backend | 🔧 | | frontend (小白) | frontend | 🎨 | | product (小黄) | sproduct | 🟡 | | content (世龙) | content | ✍️ | | crawler (湘君) | crawler | 🕷️ | | qa (赵飞) | qa | 🧪 |

用户 Telegram ID: 5440561025

发送消息

标准格式

javascript
message({
action: send,
channel: telegram,
accountId: <你的accountId>,
target: 5440561025,
message: <你的emoji> <内容>
})

示例

产品经理发送:
javascript
message({
action: send,
channel: telegram,
accountId: sproduct,
target: 5440561025,
message: 🟡 需求文档已完成,请查看:~/Desktop/project/docs/product/001-prd.md
})

后端工程师发送:
javascript
message({
action: send,
channel: telegram,
accountId: backend,
target: 5440561025,
message: 🔧 API 接口开发完成,接口文档:~/Desktop/project/docs/backend/api.md
})

汇报时机

  • - ✅ 收到任务时 - 立即汇报收到任务,开始执行
  • ✅ 每完成子任务 - 汇报完成情况和输出
  • ✅ 遇到问题 - 汇报问题并请求决策
  • ✅ 任务全部完成 - 汇报最终结果

常见错误

错误后果正确做法
忘记 accountId消息发不出去必须指定你的 accountId
用 sessions_send
消息不会发到 Telegram | 用 message 工具 | | product 用 accountId: product | 账号不存在 | 应该是 sproduct | | target 写错 | 发给错误的人 | 固定用 5440561025 |

消息模板

任务开始

收到任务:<任务名>
📝 开始执行...

任务完成

<任务名> 完成
✅ 已完成: <子任务>
📁 输出: <文件路径>

遇到问题

<任务名> 遇到问题
❌ 问题: <描述>
💡 建议: <解决方案或请求决策>

配置位置

  • - 主配置: ~/.openclaw/openclaw.json → channels.telegram.accounts
  • 此 Skill: ~/.openclaw/workspace/skills/agent-telegram/SKILL.md

记住:发送 Telegram 消息 = message 工具 + accountId + target: 5440561025

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-telegram-1776282749 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-telegram-1776282749 技能

通过命令行安装

skillhub install agent-telegram-1776282749

下载

⬇ 下载 agent-telegram v1.0.0(免费)

文件大小: 1.96 KB | 发布时间: 2026-4-16 17:28

v1.0.0 最新 2026-4-16 17:28
- Initial release of the agent-telegram skill.
- Defines the communication protocol for all Agents when sending messages to users via Telegram.
- Provides a comprehensive account mapping table for Agents, including accountId and associated emoji.
- Specifies standard message format and templates for various reporting scenarios.
- Lists common errors and correct usage for successful Telegram delivery.
- Outlines configuration file locations for both the main settings and this skill.
返回顶部