openclaw-telegram-subagents

Configure multiple OpenClaw agents on Telegram using separate bot accounts, with evidence-based routing validation on OpenClaw 2026.3.2.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-telegram-subagents" with this command: npx skills add willren5/openclaw-telegram-subagents/willren5-openclaw-telegram-subagents-openclaw-telegram-subagents

Goal

Configure Telegram multi-account routing so a specific account (for example luna) is bound to an independent agent, without breaking the main bot.

Hard Rules

  1. Never claim success based only on config write or restart.
  2. Always distinguish:
  • config write success
  • service restart success
  • routing/deployment success
  1. Validate against current installed version behavior, not assumed docs.
  2. On OpenClaw 2026.3.2, do not place routing under agents.bindings.
  3. Preserve main bot availability.
  4. Prefer supported CLI workflows over speculative manual JSON edits.

Trigger Conditions

  • The user wants to add a child/sub agent to Telegram with its own bot account.
  • A Telegram account is healthy in status/health but still routes to agent:main:*.
  • The user wants one OpenClaw gateway to host multiple Telegram bots mapped to different agents.
  • A previous attempt used the wrong config layer and broke routing.

Execution Procedure

  1. Baseline checks:
openclaw config validate
openclaw status --deep
openclaw health --json
  1. If config is invalid due to misplaced routing config such as agents.bindings, remove the invalid key and revalidate.
  2. Backup config file:
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak_$(date +%Y%m%d-%H%M%S)
  1. Confirm the target agent exists:
openclaw agents list --json
  1. If needed, create or prepare the target Telegram account under channels.telegram.accounts.<accountId>.
  2. Create routing via the supported CLI:
openclaw agents bind --agent <agentId> --bind telegram:<accountId> --json
  1. Verify the binding persisted:
openclaw agents bindings --json
openclaw agents list --bindings --json
  1. Restart gateway:
openclaw gateway restart
  1. Re-check service health:
openclaw status
openclaw health --json
  1. Verify outbound delivery from the target Telegram account:
openclaw message send --channel telegram --account <accountId> --target <chatId> --message "<probe>" --json
  1. Verify inbound routing proof:
  • Ask the user to reply to the probe text from Telegram.
  • Inspect sessions/logs and prove the session key lands under agent:<agentId>: rather than agent:main:.

Evidence Checklist

The final report must include all of the following:

  1. Binding object exists (channel=telegram, accountId=<id>, agentId=<agent>).
  2. Config validates.
  3. Gateway restarted successfully.
  4. Outbound message from the target account succeeded.
  5. Inbound message routed to the target agent session key.
  6. Main bot still healthy.

Failure Modes and Handling

  • If agents.bindings appears on OpenClaw 2026.3.2: remove it and switch to the supported CLI routing workflow.
  • If docs conflict with runtime: trust installed runtime + CLI behavior.
  • If route proof is unavailable because the user has not replied yet: mark the setup as pending external inbound verification; do not claim fully complete.

Output Contract

Always output:

  1. Root cause or setup objective.
  2. Exact commands executed.
  3. What changed in config or routing state.
  4. Verification evidence with concrete outputs.
  5. Remaining blocker (if any).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated
Automation

changelog-curator

从变更记录、提交摘要或发布说明中整理对外 changelog,并区分用户价值与内部改动。;use for changelog, release-notes, docs workflows;do not use for 捏造未发布功能, 替代正式合规审批.

Archived SourceRecently Updated
Automation

klaviyo

Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this skill when users want to manage email marketing, customer data, or integrate with Klaviyo workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Archived SourceRecently Updated