Agent Telegram for Openclaw

Agent Telegram standardizes how eight specialized AI agents send routed, recognizable progress updates to a Telegram user.

thcjp
v1.0.1
Aug 25, 2026
0
156
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install telegram-agent-comm

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install telegram-agent-comm using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Agent Telegram?

Agent Telegram is a communication specification for multi-agent AI teams using Telegram as a reliable user-notification channel. It maps eight agent roles to dedicated account IDs, bot identities, emoji prefixes, and standardized reporting templates so users can quickly understand who sent a message and what happened.

As an Openclaw Skills integration, it requires every outbound message to use the message tool with channel: "telegram", the correct accountId, and the fixed target 5440561025. The workflow covers task acceptance, subtask completion, blockers, and final result aggregation while keeping role-based communication consistent across Windows, macOS, and Linux.

Agent Telegram Use Cases

  • Multi-agent software development: Let main coordinate architect, product, backend, frontend, and QA work while each role reports progress independently.
  • Automated data collection: Have the crawler agent announce completed collection jobs and provide output file paths.
  • Backend and frontend delivery updates: Notify users when APIs, interface work, or technical documentation are complete.
  • QA escalation: Report blocking defects with a clear problem description and recommended decision or remediation.
  • Task lifecycle notifications: Send standardized messages when work starts, subtasks finish, issues arise, and all work is complete.
  • Centralized Telegram routing: Use separate bot accounts for agent identities while delivering notifications to a controlled Telegram target.
  • Communication auditability: Use optional callbacks, delivery status handling, and communication archiving where supported by the paid platform tier.
  • Not suitable for: Spam or mass broadcasting, non-Telegram delivery, end-to-end encrypted sensitive communications, or large cross-team announcements.

How Agent Telegram Works

  1. Identify the active role: Determine the current agent's role and select its mapped accountId and emoji. If the role is unknown, use default and the 🤖 prefix.
  2. Select the reporting event: Choose the task-start, task-complete, issue, or final-summary message type based on the workflow stage.
  3. Assemble the message: Include the task name, subtask, output path, issue details, or recommendation, and place the role emoji at the beginning.
  4. Route through the message tool: Send the notification with action: "send", channel: "telegram", the role-specific accountId, and target: "5440561025".
  5. Validate routing metadata: Confirm the exact account ID, especially the product role's required sproduct value rather than product.
  6. Report continuously: Notify the user when work is received, when subtasks complete, and whenever a blocker needs attention.
  7. Aggregate results: The main agent collects role updates and sends a consolidated final report to the user.
  8. Handle failures: Inspect input parameters, logs, credentials, network access, file paths, and rate limits before retrying or escalating.

Agent Telegram Setup

  1. Install or enable the skill: Place SKILL.md at the agent platform's skill workspace path:
mkdir -p "$HOME/.skill-platform/workspace/skills/agent-telegram"
# Copy the Agent Telegram SKILL.md into the directory above
  1. Create Telegram bots: Use Telegram's @BotFather to create one bot token for each agent role that needs an independent identity.

  2. Configure Telegram accounts: Edit the platform configuration at $HOME/.skill-platform/skill-platform.json and add accounts under channels.telegram.accounts. Store each bot token in the corresponding account's token field.

mkdir -p "$HOME/.skill-platform"
${EDITOR:-vi} "$HOME/.skill-platform/skill-platform.json"
  1. Register the role mapping: Configure these account IDs: default for main, architect, backend, frontend, sproduct for product, content, crawler, and qa.

  2. Verify platform dependencies: Confirm that the agent platform provides the message tool, the LLM is available, and outbound HTTPS access to https://api.telegram.org is permitted.

  3. Run a controlled test: Send a short test message using the standard schema, verify the sender identity and emoji, and confirm delivery to Telegram target 5440561025.

  4. Secure the deployment: Keep bot tokens out of source control, restrict skill access, use HTTPS, and avoid transmitting sensitive data. Messages are limited to 4096 characters and cannot be recalled or edited after sending.

Agent Telegram Data Schema & Taxonomy

Request schema

Field Type Required Description
input string Yes Agent Telegram input data or command.
options object No Additional settings such as mode or formatting preferences.
callback_url string No URL for asynchronous completion notifications.

Message routing schema

Field Required value or format Purpose
action send Requests outbound delivery.
channel telegram Selects the Telegram transport.
accountId Role-specific ID Selects the sending bot and agent identity.
target 5440561025 Fixed user Telegram ID defined by this specification.
message Emoji plus structured text Contains the user-facing update.

Agent taxonomy

Agent role accountId Emoji Responsibility
main default 🤖 Task distribution and final aggregation
architect architect 🏗️ System design and technology selection
backend backend 🔧 APIs and server development
frontend frontend 🎨 UI and interaction development
product sproduct 🟡 Requirements and prioritization
content content ✍️ Copy and content assets
crawler crawler 🕷️ Data collection
qa qa 🧪 Quality verification

Generated and referenced data

  • Configuration: $HOME/.skill-platform/skill-platform.json, specifically channels.telegram.accounts and each account's token.
  • Skill definition: $HOME/.skill-platform/workspace/skills/agent-telegram/SKILL.md.
  • Output references: Messages may include paths such as $HOME/Desktop/project/data/output.json or documentation files.
  • Execution result: A structured result includes success, data.result, execution_time, metadata.version, metadata.processor, execution_log, and error.
  • Message templates: Task start, task completion, and issue reports use consistent emoji, labels, output paths, descriptions, and recommendations.

Agent Telegram Advanced Features

  • Eight-account role routing: Separate bot tokens and account IDs prevent simultaneous agent messages from interfering with one another.
  • Main-agent orchestration: The main role distributes work, receives updates, and publishes a consolidated summary.
  • Template-driven reporting: Standard task-start, completion, and issue templates improve readability and reduce formatting errors.
  • Multi-channel batch delivery: The paid tier supports multi-channel message batching in addition to role-based Telegram delivery.
  • Variable injection: Paid features support message templates with dynamic task names, paths, statuses, and result data.
  • Delivery callbacks: Optional callback_url support and paid-tier real-time delivery status callbacks enable asynchronous monitoring.
  • Communication archiving and retrieval: The paid tier supports storing and searching communication history.
  • File-aware notifications: Messages can include generated file paths, while supported deployments may use an attachment field or a separate upload tool for direct attachments.
  • Operational diagnostics: Troubleshoot authentication failures, rate limits such as 429, timeouts such as 504, missing files, permissions, command failures, and network connectivity issues.
  • Cross-platform execution: The Markdown-based skill works with compatible AI agents such as Claude Code, Cursor, Codex, and Gemini CLI on Windows, macOS, and Linux.
  • Safety controls: Use token protection, authorized access, command allowlists, sandboxing, HTTPS, log redaction, and sensitive-data filtering when deploying Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*