vstorm-co/full-stack-ai-agent-template/channel-bot
Claude Code and agent skill by vstorm-co/full-stack-ai-agent-template
- community
Checking that the SKILL.md file is still in the repository.
Work with messaging-channel bots (Telegram / Slack) — register a bot, route inbound messages through the AI agent, handle webhooks vs polling, or add a new channel adapter. Use when wiring chat into a messaging platform or debugging bot delivery.
Install
npx vskill@latest install vstorm-co/full-stack-ai-agent-template/channel-botSKILL.md
The same SKILL.md was published earlier as vstorm-co/full-stack-ai-agent-template/channel-bot.
Messaging Channels (Telegram / Slack)
Channels are a thick service at backend/app/services/channels/: per-platform adapters plus a router that funnels inbound messages into the same agent pipeline as the web chat.
Layout
| File | Responsibility | |
|---|---|---|
base.py | Shared channel adapter interface | |
telegram.py | Telegram adapter (aiogram v3) | |
slack.py | Slack adapter (Events API + Socket Mode) | |
router.py | Maps an inbound platform message → conversation/session → agent run → reply | |
chart_render.py | Renders chart tool output as PNG for channels |
Bots are stored in the DB (channel_bot), with per-user identity (channel_identity) and per-thread session (channel_session) tables. Bot tokens are encrypted at rest with CHANNEL_ENCRYPTION_KEY (Fernet).
Register / manage a bot
Webhook vs polling
- Polling (dev): the adapter long-polls the platform — no public URL needed.
- Webhook (prod): the platform POSTs to
POST /api/v1/telegram/{bot_id}/webhook/ the Slack events endpoint. Verify the signature/secret (HMAC for Telegram, signing secret for Slack) before processing.
Add a new channel adapter
- Implement an adapter in
services/channels/<platform>.pyagainst thebase.pyinterface (parse inbound → normalized message; send outbound). - Wire it into
router.pyso inbound messages reach the agent and replies stream back. - Add a webhook route under
api/routes/v1/(signature-verified) and/or a polling entrypoint. - Reuse the existing conversation/session model — don't fork the agent pipeline.
Rules
- Inbound messages flow through
router.pyinto the same agent/session pipeline as web chat — don't duplicate agent logic per platform. - Always verify webhook signatures before acting on a payload.
- Store tokens encrypted (
CHANNEL_ENCRYPTION_KEY); never log or echo them. - Respect per-group/per-thread concurrency controls already in the adapters.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplate/{{cookiecutter.project_slug}}/.claude/skills/channel-bot/SKILL.md
Popularity
- Repository stars
- 1,697
- Repository forks
- 319
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- 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
[](https://verified-skill.com/skills/vstorm-co/full-stack-ai-agent-template/channel-bot)