Agent skill

Telegram Bot Manager

by CraftOS-dev in CraftOS-dev/CraftBot

Manage and configure Telegram bots for OpenClaw. An agent skill from CraftOS-dev/CraftBot.

MITAuto-check passedProductivity & Automation

Install Telegram Bot Manager

skills CLI
$ npx skills add CraftOS-dev/CraftBot --skill telegram-bot-manager -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CraftOS-dev/CraftBot telegram-bot-manager --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CraftOS-dev/CraftBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/telegram-bot-manager .claude/skills/telegram-bot-manager && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
telegram-bot-manager
GitHub stars
392
Token cost
~836 tokens
SKILL.md length
309 words
Files
11 (incl. scripts, references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Manage and configure Telegram bots for OpenClaw. An agent skill from CraftOS-dev/CraftBot.

  • Works in 2 steps: Create bot via BotFather → Configure in OpenClaw
  • Setting up Telegram integrations
  • SKILL.md covers Quick Start, Common Workflows, Bot Commands Reference and Webhook vs Polling, plus 3 more sections
  • Runs Python scripts from its folder; calls curl; reaches api.telegram.org and telegram.org

What it does

Telegram Bot Manager is an agent skill from CraftOS-dev/CraftBot. Manage and configure Telegram bots for OpenClaw. Use when setting up Telegram integrations, troubleshooting bot connectivity, configuring bot tokens, or managing Telegram channel/webhook settings. Handles bot registration, token validation, and network connectivity checks for api.telegram.org.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `QUICKSTART.md`, `README.md` and `RELEASE_NOTES.md`).

It sits in Productivity & Automation, covering Chatbots and conversational support and Webhooks. It works with Telegram. The repository describes itself as: One agent. Every kind of work. The licence is MIT.

When your agent uses it

  • Setting up Telegram integrations
  • Troubleshooting bot connectivity
  • Configuring bot tokens
  • Managing Telegram channel/webhook settings

Example prompts

  • “/telegram-bot-manager”

Requirements

  • Python 3
  • A credential in YOUR_TOKEN

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Create bot via BotFather
  2. Configure in OpenClaw

What it can do on your machine

Read from SKILL.md and the folder at commit b50970c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.telegram.org
    • telegram.org

    Also links to:

    • core.telegram.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Telegram Bot Manager loads about 836 tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 309 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~836
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from CraftOS-dev/CraftBot at commit b50970c, republished under its MIT licence (© CraftOS-dev). 309 words, ~836 tokens.

Download SKILL.mdSave it as .claude/skills/telegram-bot-manager/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
telegram-bot-manager
description
Manage and configure Telegram bots for OpenClaw. Use when setting up Telegram integrations, troubleshooting bot connectivity, configuring bot tokens, or managing Telegram channel/webhook settings. Handles bot registration, token validation, and network connectivity checks for api.telegram.org.

Telegram Bot Manager

Quick Start

Setup a new Telegram bot
  1. Create bot via BotFather

    • Message @BotFather on Telegram
    • Use /newbot command
    • Follow prompts for bot name and username
    • Copy the bot token (format: 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz)
  2. Configure in OpenClaw

    • Add token to OpenClaw config
    • Enable Telegram plugin
    • Set up pairing mode for DM access
Validate bot configuration
bash
# Test Telegram API connectivity
curl -I https://api.telegram.org

# Check bot token validity
curl -s "https://api.telegram.org/bot<YOUR_TOKEN>/getMe"

Common Workflows

Troubleshooting connectivity issues

When api.telegram.org is unreachable:

  1. Check network access

    bash
    curl -I -m 10 https://api.telegram.org
  2. Verify DNS resolution

    bash
    nslookup api.telegram.org
  3. Test alternative endpoints

    bash
    curl -I https://telegram.org
Configuring OpenClaw Telegram integration

See OPENCLAW_CONFIG.md for detailed configuration steps.

Bot token security
  • Never commit bot tokens to version control
  • Store tokens in environment variables or secure config files
  • Rotate tokens if compromised
  • Use different tokens for different environments (dev/prod)

Bot Commands Reference

Common Telegram bot commands for BotFather:

  • /newbot - Create a new bot
  • /mybots - Manage your bots
  • /setdescription - Set bot description
  • /setabouttext - Set about text
  • /setuserpic - Set bot profile picture
  • /setcommands - Set bot commands
  • /token - Generate new token
  • /revoke - Revoke current token
  • /setprivacy - Configure privacy mode

Webhook vs Polling

  • Bot receives updates via HTTP POST
  • Requires public HTTPS endpoint
  • More efficient for high-volume bots
Polling (Good for development)
  • Bot continuously checks for updates
  • Simpler setup, no public endpoint needed
  • Easier to debug locally

See WEBHOOK_SETUP.md for webhook configuration.

Error Handling

Common errors and solutions

"Connection timed out"

  • Check firewall rules
  • Verify proxy configuration
  • Test with different network

"Invalid token"

  • Verify token format (should contain colon)
  • Check for extra spaces or characters
  • Regenerate token if needed

"Bot not responding"

  • Verify bot is not blocked
  • Check bot privacy settings
  • Ensure bot has proper permissions

Testing Your Bot

Manual testing
  1. Search for your bot username on Telegram
  2. Start a conversation with /start
  3. Test basic commands
Automated testing

Use the test script in scripts/test_bot.py for automated validation.

References

© CraftOS-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references) in skills/telegram-bot-manager of CraftOS-dev/CraftBot.

  • SKILL.md
  • QUICKSTART.md
  • README.md
  • RELEASE_NOTES.md
  • _meta.json
  • metadata.json
  • references/OPENCLAW_CONFIG.md
  • references/WEBHOOK_SETUP.md
  • scripts/package_skill.py
  • scripts/setup_bot.py
  • scripts/test_bot.py

Open the folder on GitHubat commit b50970c

Compare with similar skills

Telegram Bot Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Telegram Bot Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Telegram Bot Manager this skillCraftOS-dev/CraftBot392—~836Automated safety check: PassMIT
Telegram Bot Builderaiskillstore/marketplace4303 repos~2.2kAutomated safety check: NotesNone
Whatsapp Telegramericrisco/rsc-harness156—~2.9kAutomated safety check: PassMIT
Chat SDKdatabuddy-analytics/Databuddy1.2k—~2.6kAutomated safety check: PassAGPL-3.0
Tg Bot Opsserejaris/personal-corp-os229—~1.6kAutomated safety check: NotesMIT
Telegram Setupvellum-ai/vellum-assistant1.4k—~2.9kAutomated safety check: WarnMIT

Similar skills

  • Telegram Bot Builder

    aiskillstore/marketplace

    Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots.

    430 GitHub starsUsed in 3 repos~2.2k tokens
    Productivity & AutomationAuto-check: notes
  • Whatsapp Telegram

    ericrisco/rsc-harness

    A skill your agent uses when wiring an app or agent to message customers over the WhatsApp Cloud API or a Telegram bot — order updates, OTP codes, reminders, alerts and broadcasts — or when…

    156 GitHub stars~2.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Chat SDK

    databuddy-analytics/Databuddy

    Build multi-platform chat bots with Chat SDK (chat npm package).

    1.2k GitHub stars~2.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Tg Bot Ops

    serejaris/personal-corp-os

    A skill your agent uses when operating, debugging, deploying, or monitoring a Telegram bot or Telegram-to-agent gateway.

    229 GitHub stars~1.6k tokensUpdated 3 days ago
    Backend & APIsAuto-check: notes
  • Telegram Setup

    vellum-ai/vellum-assistant

    Connect a Telegram bot to the Vellum Assistant gateway with automated webhook registration and credential storage

    1.4k GitHub stars~2.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check: warnings
  • Pytdbot

    pytdbot/client

    Write Telegram bots and userbots with Pytdbot (async TDLib wrapper with high-level helpers; not the Telegram Bot API).

    137 GitHub stars~4.3k tokensUpdated 9 days ago
    Productivity & AutomationAuto-check passed

More from CraftOS-dev/CraftBot

All 89 skills in this repo
  • Self Improvement

    CraftOS-dev/CraftBot

    Captures learnings, errors, and corrections to enable continuous improvement.

    392 GitHub starsUsed in 5 repos~4.9k tokens
    Auto-check passed
  • Bbc News

    CraftOS-dev/CraftBot

    Fetch and display BBC News stories from various sections and regions via RSS feeds.

    392 GitHub starsUsed in 2 repos~555 tokens
    Auto-check passed
  • Outlook

    CraftOS-dev/CraftBot

    Read, search, and manage Outlook emails and calendar via Microsoft Graph API.

    392 GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check passed
  • Nano Banana Pro

    CraftOS-dev/CraftBot

    Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image).

    392 GitHub starsUsed in 6 repos~1.4k tokens
    Auto-check passed
  • Airweave

    CraftOS-dev/CraftBot

    Context retrieval layer for AI agents across users' applications.

    392 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Baidu Search

    CraftOS-dev/CraftBot

    Search the web using Baidu AI Search Engine (BDSE). An agent skill from CraftOS-dev/CraftBot.

    392 GitHub starsUsed in 1 repo~518 tokens
    Auto-check passed

Works with

Questions about Telegram Bot Manager

What does Telegram Bot Manager do?

Manage and configure Telegram bots for OpenClaw. An agent skill from CraftOS-dev/CraftBot. Telegram Bot Manager is an agent skill from CraftOS-dev/CraftBot. Manage and configure Telegram bots for OpenClaw.

When should I use Telegram Bot Manager?

Telegram Bot Manager fits situations like: setting up Telegram integrations; troubleshooting bot connectivity; configuring bot tokens; managing Telegram channel/webhook settings.

How do I install Telegram Bot Manager in Claude Code?

Run `npx skills add CraftOS-dev/CraftBot --skill telegram-bot-manager -a claude-code`. Or copy the skill folder (skills/telegram-bot-manager in CraftOS-dev/CraftBot) into .claude/skills/telegram-bot-manager in your project. Claude Code loads it when a task matches its description.

How do I install Telegram Bot Manager in Codex?

Run `npx skills add CraftOS-dev/CraftBot --skill telegram-bot-manager -a codex`. Or copy the skill folder (skills/telegram-bot-manager in CraftOS-dev/CraftBot) into .agents/skills/telegram-bot-manager in your project. Codex loads it when a task matches its description.

Can I use Telegram Bot Manager in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CraftOS-dev/CraftBot --skill telegram-bot-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/telegram-bot-manager, .gemini/skills/telegram-bot-manager, .github/skills/telegram-bot-manager and .opencode/skills/telegram-bot-manager in your project.

What does Telegram Bot Manager need to run?

Going by SKILL.md and its folder, Telegram Bot Manager needs Python for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: Python 3; A credential in YOUR_TOKEN.

Does Telegram Bot Manager access the network?

SKILL.md names 3 domains. In commands or code: api.telegram.org and telegram.org; the agent is likely to contact these when it follows the instructions. As links in the text: core.telegram.org. This is read from the text; nothing was executed.

Is Telegram Bot Manager safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Telegram Bot Manager use?

Telegram Bot Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Telegram Bot Manager use?

About 836 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.

What are the alternatives to Telegram Bot Manager?

Skills that share tags, products or a category with Telegram Bot Manager: Telegram Bot Builder (aiskillstore/marketplace, 430 stars), Whatsapp Telegram (ericrisco/rsc-harness, 156 stars), Chat SDK (databuddy-analytics/Databuddy, 1.2k stars) and Tg Bot Ops (serejaris/personal-corp-os, 229 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Telegram Bot Manager?

CraftOS-dev (a GitHub user) maintains it in CraftOS-dev/CraftBot, which has 392 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 7, 2026.

Source: CraftOS-dev/CraftBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.