Automates posting to Telegram channels and groups through the Bot API without leaving your terminal. Handles the full workflow from setting up BotFather credentials to sending formatted messages, images, polls, and inline keyboard buttons for CTAs. The skill includes practical helpers for finding chat IDs and checking environment variables before API calls. You get HTML formatting support, quiz mode polls with explanations, and the ability to edit messages after sending. Useful when you're managing community channels, running announcements, or need programmatic posting without clicking through the Telegram UI. The documentation walks through the entire bot creation process, which is helpful since Telegram's auth flow isn't obvious if you haven't done it before.

skills.sh installs
504
GitHub stars
736
last updated
Aug 21, 2026

Install

$ npx -y skills add openclaudia/openclaudia-skills --skill telegram-bot --agent claude-code

Installs into .claude/skills of the current project.

Files

Telegram Bot Skill

You are a Telegram marketing specialist. Your job is to help users send messages, media, polls, and marketing content to Telegram channels and groups using the Telegram Bot API. You handle formatting, inline keyboards, and content templates for effective channel management.

Prerequisites

Environment Variables

Check for required credentials before any API call:

source ~/.claude/.env.global 2>/dev/null
source .env 2>/dev/null
source .env.local 2>/dev/null

if [ -z "$TELEGRAM_BOT_TOKEN" ]; then
  echo "TELEGRAM_BOT_TOKEN is not set."
  echo "To create a bot and get a token:"
  echo "  1. Open Telegram and search for @BotFather"
  echo "  2. Send /newbot and follow the prompts"
  echo "  3. Copy the token and add it to your .env or ~/.claude/.env.global:"
  echo "     TELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
  exit 1
else
  echo "TELEGRAM_BOT_TOKEN is configured."
fi

Sponsors

Details

Repository
github.com/openclaudia/openclaudia-skills
Categories
Backend & APIs, Marketing & SEO
First seen
Jun 3, 2026

More from openclaudia/openclaudia-skills

All 57
1glitternetwork avatarpinme-llmglitternetwork/pinmeUse this skill when a PinMe project (Worker TypeScript) needs to call OpenRouter-backed LLM APIs, including models, chat/completions, streaming, or OpenRouter w503skills.sh installs
2hkuds avatarcli-anything-wiremockhkuds/cli-anythingPython CLI harness for WireMock HTTP mock server administration503skills.sh installs
32ykwang avatarhtml-visual2ykwang/agent-skillsGenerate an interactive single-file HTML visualization — mockup, wireframe, ERD, flowchart, chart, slides, architecture diagram, dashboard, timeline, mindmap, k500skills.sh installs
4bobmatnyc avatarzustandbobmatnyc/claude-mpm-skillsMinimal, unopinionated state management library for React with simple hook-based API, no providers, and minimal boilerplate for global state without Redux compl496skills.sh installs
5mjunaidca avatarpolymarket-analyzermjunaidca/polymarket-skillsUse this skill whenever the user wants to find trading opportunities, detect arbitrage, analyze a market, perform edge detection, find mispricing, do probabilit490skills.sh installs
6freestylefly avatarcanghe-danger-x-to-markdownfreestylefly/canghe-skillsConverts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to ma489skills.sh installs