telegram-notify
Skill254 starsChanged 7 months agoMITView on GitHub
Send Telegram Bot notifications for development events, CI/CD pipeline status, and AGENTS.md progress updates. Use when integrating Telegram messaging into GitHub Actions workflows, sending pipeline end summaries, notifying teams about automation progress or repository changes. Requires TELEGRAM_NOTIFY_BOT_TOKEN environment variable or GitHub Secret. Target Chat IDs are resolved from the CSV recipients list defined in AGENTS.md.
- Sends data out
3 other projects use a version of this.
Adopted by
Most recently taken up by
- ritmillio/skillstheir own version, first seen Aug 23, 2026
- aleiby/claude-skillstheir own version, first seen Mar 26, 2026
- qhkm/zeptoclaw-skillstheir own version, first seen Feb 26, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- qhkm/zeptoclaw-skills★ 4same name
- aleiby/claude-skills★ 1same name
- ritmillio/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- best-practices-for-agent-skillsSkill
- githubclaw-json-generatorSkill
- pr-creatorSkill
- skill-creatorSkill
- agent-browserSkill
- felo-searchSkill
- felo-slidesSkill
- felo-superAgentSkill
- felo-web-fetchSkill
- felo-x-searchSkill
- find-skillsSkill
- gemini-audio-transcriberSkill
- gemini-deep-researcherSkill
- gemini-image-describerSkill
- gemini-lyria-3Skill
- gemini-nanobananaSkill
- gemini-summarySkill
- google-stitchSkill
- skill-creatorSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
If the user says a name (e.g.
- Distinctive: line 38
If the user does not specify a recipient, use the 預設通知對象 name, then resolve it from the CSV list.
- Distinctive: line 39
If multiple names are specified (comma-separated in the default or explicitly by the user), call the send script once per Chat ID.
- Distinctive: line 41
If a name is not found in the table, report the error — do not guess a Chat ID.
- Distinctive: line 63
Start a chat with your bot (or add it to a group/channel)
- Very specific: line 65
Call https://api.telegram.org/bot<TOKEN>/getUpdates to see recent messages
- Very specific: line 122
If your message body is HTML (or you pass parse-mode: HTML), the action auto-converts it to MarkdownV2-compatible text before sending.
- Very specific: line 131
Always store TELEGRAM_NOTIFY_BOT_TOKEN as a GitHub Secret, never in code or logs
- Distinctive: line 133
All notification steps gracefully skip if credentials are not set
- Very specific: line 138
All notification steps silently skip when TELEGRAM_NOTIFY_BOT_TOKEN is not set, so workflows continue to function without Telegram …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Telegram Notify
A skill for integrating Telegram Bot notifications into GitHub Actions workflows and automation scripts.
When to Use This Skill
- Sending pipeline end notifications via Telegram
- Notifying about AGENTS.md or repository changes
- Alerting teams about CI/CD events (success, failure, progress)
- Integrating Telegram messaging into any automation workflow
Prerequisites
- A Telegram Bot created via @BotFather
- Bot Token stored as
TELEGRAM_NOTIFY_BOT_TOKENsecret in GitHub Actions
Resolving Recipients from AGENTS.md
AGENTS.md contains a Telegram 通知收件人 section with:
- 預設通知對象 — the default recipient name(s) used when the user does not specify who to notify.
- 收件人對應表(CSV) — a CSV list where each line is
chat_id,名稱.
Resolution Rules
- If the user says a name (e.g. "發通知給 Will"), look up the Chat ID from the CSV 收件人對應表.
- If the user does not specify a recipient, use the 預設通知對象 name, then resolve it from the CSV list.
- If multiple names are specified (comma-separated in the default or explicitly by the user), call the send script once per Chat ID.
- If a name is not found in the table, report the error — do not guess a Chat ID.
- Parse each CSV row strictly as
chat_id,名稱; names must not contain commas.
Example AGENTS.md Section
## 10) Telegram 通知收件人
### 10.1 預設通知對象
未指定收件人時,預設發送通知給:`Will`
### 10.2 收件人對應表(CSV)
請使用 CSV,每行一筆,格式固定為:`chat_id,名稱`
```text
123456789,Will
-100987654321,Team
```Getting Your Chat ID
- Start a chat with your bot (or add it to a group/channel)
- Send any message to the bot
- Call
https://api.telegram.org/bot<TOKEN>/getUpdatesto see recent messages - Find
"chat":{"id":<number>}in the response — that is your Chat ID
Using the Reusable Action
The repository provides .github/actions/telegram-notify as a reusable composite action:
- name: Build end notification message
id: msg
shell: bash
run: |
echo "message<<MSGEOF" >> "$GITHUB_OUTPUT"
echo "✅ Pipeline completed: ${GITHUB_WORKFLOW}" >> "$GITHUB_OUTPUT"
echo "Repository: ${GITHUB_REPOSITORY}" >> "$GITHUB_OUTPUT"
echo "Event: ${GITHUB_EVENT_NAME}" >> "$GITHUB_OUTPUT"
echo "Triggered by: ${GITHUB_ACTOR}" >> "$GITHUB_OUTPUT"
echo "Status: ${JOB_STATUS}" >> "$GITHUB_OUTPUT"
echo "Summary: ${EXECUTION_SUMMARY}" >> "$GITHUB_OUTPUT"
echo "MSGEOF" >> "$GITHUB_OUTPUT"
- name: Send Telegram end notification
uses: ./.github/actions/telegram-notify
with:
bot-token: ${{ secrets.TELEGRAM_NOTIFY_BOT_TOKEN }}
chat-id: "<resolved from AGENTS.md>"
message: ${{ steps.msg.outputs.message }}
button-text: View Workflow Run
button-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}Using the Helper Script
export TELEGRAM_NOTIFY_BOT_TOKEN="your_bot_token"
bash .agents/skills/telegram-notify/scripts/send-telegram.sh "123456789" "Your message"Direct API Call Reference
CHAT_ID="123456789"
MESSAGE="Your message"
payload=$(jq -n \
--arg chat_id "${CHAT_ID}" \
--arg text "${MESSAGE}" \
'{"chat_id": $chat_id, "text": $text}')
curl -X POST "https://api.telegram.org/bot${TELEGRAM_NOTIFY_BOT_TOKEN}/sendMessage" \
-H "Content-Type: application/json" \
-d "$payload"Message Formatting (MarkdownV2 default)
The reusable action defaults to parse-mode: MarkdownV2.
If your message body is HTML (or you pass parse-mode: HTML), the action auto-converts it to MarkdownV2-compatible text before sending.
For run links, prefer inline keyboard buttons via:
button-text+button-url, orinline-keyboard-jsonfor custom button layouts.
Security Notes
- Always store
TELEGRAM_NOTIFY_BOT_TOKENas a GitHub Secret, never in code or logs - Chat IDs are resolved from AGENTS.md at runtime by the agent — they are not secrets
- All notification steps gracefully skip if credentials are not set
- Bot tokens should be rotated if accidentally exposed
Graceful Degradation
All notification steps silently skip when TELEGRAM_NOTIFY_BOT_TOKEN is not set,
so workflows continue to function without Telegram credentials configured.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

