Skills tg-notify
Send Telegram notifications to team members by Telegram user ID. Use when you need to notify a specific person or multiple people via Telegram (e.g. alerts, reminders, task updates). Trigger phrases: "notify", "send telegram message", "alert [name] via telegram", "ping [person] on telegram", "отправь уведомление", "уведоми".
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/agohpai/tg-notify" ~/.claude/skills/clawdbot-skills-tg-notify && rm -rf "$T"
manifest:
skills/agohpai/tg-notify/SKILL.mdsource content
Telegram Notify Skill
Send messages to any Telegram user by chat ID using the OpenClaw bot.
Bot Token
Read dynamically from
openclaw.json — never hardcode:
BOT_TOKEN=$(node -e "const c=require(process.env.HOME+'/.openclaw/openclaw.json');console.log(c.channels.telegram.botToken)")
Send a Message
BOT_TOKEN=$(node -e "const c=require(process.env.HOME+'/.openclaw/openclaw.json');console.log(c.channels.telegram.botToken)") curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \ -H "Content-Type: application/json" \ -d '{ "chat_id": "<TELEGRAM_USER_ID>", "text": "<MESSAGE>", "parse_mode": "HTML" }'
Send to Multiple Recipients
BOT_TOKEN=$(node -e "const c=require(process.env.HOME+'/.openclaw/openclaw.json');console.log(c.channels.telegram.botToken)") for CHAT_ID in 111111111 222222222; do curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \ -H "Content-Type: application/json" \ -d "{\"chat_id\": \"${CHAT_ID}\", \"text\": \"<MESSAGE>\", \"parse_mode\": \"HTML\"}" done
Known Team Members
| Name | Telegram ID |
|---|---|
| Islam | 6330057147 |
Add others to
USER.md as they interact with the bot.
Notes
supportsparse_mode: HTML
,<b>bold</b>
,<i>italic</i><code>code</code>- Bot can only message users who have previously started a chat with the bot
- Check response
to confirm delivery; handle errors gracefullyok: true - Token is always read from
at runtime — never stored in this file~/.openclaw/openclaw.json