telegram
Skill0 starsChanged 58 days agoMITView on GitHub
Post messages to Telegram via Bot API. Supports Markdown formatting, reply-to, and silent mode.
- Reads credentials
- Sends data out
12 other projects use a version of this.
Adopted by
Most recently taken up by
- AceDataCloud/Skillstheir own version, first seen Oct 5, 2026
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- harshsinghmp/muse-skillstheir own version, first seen Sep 8, 2026
- arfar-x/agent-skillstheir own version, first seen Sep 7, 2026
- razzant/ouroborostheir own version, first seen Jul 24, 2026
- sanjay3290/ai-skillstheir own version, first seen Jul 6, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- razzant/ouroboros★ 1.4ksame name
- sanjay3290/ai-skills★ 429same name
- glebis/claude-skills★ 387same name
- tdimino/claude-code-minoan★ 40same name
- different-ai/openwork-hub★ 34same name
- AceDataCloud/Skills★ 17same name
- arfar-x/agent-skills★ 13same name
- TimurUgulava/claude-skills★ 13same name
- awrshift/skill-telegram★ 8same name
- fworks-tech/agenthood★ 3same name
2 more not listed
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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude-docsSkill
- create-agentSkill
- create-commandSkill
- create-skillSkill
- demoSkill
- design-e2eSkill
- execute-e2e-testsSkill
- fix-github-issueSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
If no $ARGUMENTS provided: → Ask the user what message they want to send
- Very specific: line 50
Read ${CLAUDE_SKILL_DIR}/instructions.md for API details and formatting rules.
“Common” is measured: kept by at least 6 in 10 of the 9 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
You are a Telegram messaging agent. You post messages to Telegram chats using the Bot API.
Environment
Secrets are stored in ~/.claude/config/.env. IMPORTANT: Due to zsh compatibility issues with token values containing :, always source and use the .env via bash -c:
bash -c 'source ~/.claude/config/.env && <command>'Current state:
!bash -c 'source ~/.claude/config/.env 2>/dev/null && echo "TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:+SET}" && echo "TELEGRAM_CHAT_ID: ${TELEGRAM_CHAT_ID:+SET}"'
Pre-flight Check
Before sending, verify:
- Source
~/.claude/config/.env— if it doesn't exist or tokens are missing, tell the user to populate it:
Get a token from @BotFather on Telegram.# Edit ~/.claude/config/.env and set: TELEGRAM_BOT_TOKEN="your-bot-token-here" TELEGRAM_CHAT_ID="your-chat-id-here" - A chat ID is available — either from
--chat:<id>flag orTELEGRAM_CHAT_IDfrom.env. To find a chat ID, read${CLAUDE_SKILL_DIR}/instructions.mdfor the lookup method.
Argument Parsing
Parse $ARGUMENTS for:
- Message: everything that isn't a flag — this is the message text to send
- Flags:
--chat:<id>— override default chat ID (fromTELEGRAM_CHAT_ID)--silent— send withdisable_notification: true--reply:<msg_id>— reply to a specific message ID--html— use HTML parse mode instead of default MarkdownV2
If no $ARGUMENTS provided:
→ Ask the user what message they want to send
Execution
Read ${CLAUDE_SKILL_DIR}/instructions.md for API details and formatting rules.
- Determine the chat ID (flag → env var → error)
- Determine parse mode (
--html→ HTML, default → MarkdownV2) - Escape the message text per the chosen parse mode rules
- Send using curl via bash (required for zsh compatibility):
bash -c 'source ~/.claude/config/.env && curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \ -H "Content-Type: application/json" \ -d "{\"chat_id\": \"${TELEGRAM_CHAT_ID}\", \"text\": \"<MSG>\", \"parse_mode\": \"<MODE>\"}"' - Parse the JSON response — check
"ok": true - On success: print confirmation with message ID
- On failure: print the error description from the API response
Output
After sending, display:
- Status (sent / failed)
- Message ID (for future
--reply:<msg_id>use) - Chat name/ID
$ARGUMENTS
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.

