mk-knight23/ai-agent-nanobot/add-telegram

Claude Code and agent skill by mk-knight23/ai-agent-nanobot

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Adds a Telegram bot channel to Nanobot. Installs python-telegram-bot (v20+, async), creates channels/telegram.py with an async handler, registers it in the channel router, and wires trigger-word filtering. Use when you want Nanobot to receive and respond to Telegram messages. Requires a bot token from @BotFather.

Install

npx vskill@latest install mk-knight23/ai-agent-nanobot/add-telegram

SKILL.md

add-telegram

Telegram integration for Nanobot: async Python bot, trigger filtering, thread-safe dispatch.

Usage

/add-telegram

Files Created

channels/telegram.py # Async TelegramChannel using python-telegram-bot v20

Files Modified

channels/__init__.py # Register TelegramChannel in channel registry
config.py # Add TELEGRAM_BOT_TOKEN, NANOBOT_TRIGGER
requirements.txt # Add python-telegram-bot>=20.0

Environment Variables

TELEGRAM_BOT_TOKEN=your_bot_token_from_botfather
NANOBOT_TRIGGER=@Nanobot # Default trigger word

Step-by-Step Walkthrough

  1. Message @BotFather on Telegram → /newbot → copy token
  2. Run /add-telegram
  3. Set TELEGRAM_BOT_TOKEN in .env
  4. Start Nanobot: python main.py
  5. Message your bot with @Nanobot <your task>

Code Sample

python
# channels/telegram.py (generated)
from telegram import Update
from telegram.ext import Application, MessageHandler, filters
class TelegramChannel:
def __init__(self, token: str, trigger: str = "@Nanobot"):
self.app = Application.builder().token(token).build()
self.trigger = trigger
def register(self, handler):
async def _handle(update: Update, context):
text = update.message.text or ""
if self.trigger not in text:
return
reply = await handler(text)
await update.message.reply_text(reply)
self.app.add_handler(MessageHandler(filters.TEXT, _handle))
def run(self):
self.app.run_polling(drop_pending_updates=True)

Philosophy

python-telegram-bot v20+ is fully async — it integrates naturally with Nanobot's asyncio runtime without thread pool overhead.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 17 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mk-knight23/ai-agent-nanobot/add-telegram/badge)](https://verified-skill.com/skills/mk-knight23/ai-agent-nanobot/add-telegram)

Something wrong with this skill or its page? Tell us.