Skip to content
Agentmart
Submit a tool

telegram-bot-manager

Manage and configure Telegram bots for OpenClaw.

Skill by CraftOS-dev

IndexedMIT★ 400
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/craftos-dev-telegram-bot-manager

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 3

  • api.telegram.org · found in code
  • codeload.github.com · found in install command
  • github.com · found in code

Files it touches

  • ~/.claude/skills/telegram-bot-manager
  • /home/openclaw/.openclaw/openclaw.json
  • /home/openclaw/.openclaw/workspace

What's inside

Skill 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.
License
MIT
Instructions
123 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Files (11)

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

SKILL.md (first lines)

# 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](references/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

### Webhook (Recommended for production)
- 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](references/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

- [Telegram Bot API Documentation](https://core.telegram.org/bots/api)

From CraftOS-dev/CraftBot, MIT.

More from CraftOS-dev/CraftBot

Compare and alternatives

    Featured in

    Signals

    Stars
    400
    Forks
    49
    Open issues
    12
    Last commit (this folder)
    May 28, 2026 (5 months ago)
    Last release
    Oct 23, 2026 (4 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from CraftOS-dev

    Cite this page

    telegram-bot-manager skill. Agent Mart. https://agentmart.dev/skills/craftos-dev-telegram-bot-manager (last updated 2026-10-24)