m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operations
Claude Code and agent skill by m4tinbeigi-official/hermes-literary-translation-mastery
- community
Checking that the SKILL.md file is still in the repository.
Use when configuring, operating, testing, or troubleshooting autonomous Telegram content curation & publishing bots, multi-source scraping (Hacker News, Reddit, Dev.to, GitHub), channel permission management, admin approval flows, and LLM tone rewriting pipelines.
Install
npx vskill@latest install m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operationsSKILL.md
Telegram Content Bot Operations & Publishing Pipeline
Overview
A comprehensive guide and operational pattern for developing, configuring, testing, and managing automated Telegram content bots that fetch technology/AI news across multiple platforms, rewrite content in customized Persian/English literary voices via LLM APIs (e.g. 9Router / Gemini 3.7 / Qwen), manage user approval workflows, and publish to channels.
1. Environment & Telegram API Architecture
Essential Configuration (.env)
Channel Permissions & HTTP 403 Diagnostics
When publishing to a Telegram channel (TELEGRAM_CHANNEL_ID):
- Bot must be added as an Administrator in the channel.
- Bot must have the "Post Messages" permission explicitly granted.
- If an HTTP
403 Forbiddenerror occurs duringsendMessage, verify channel membership:
- Numerical channel IDs starting with
-100...are required for private or supergroup channels. - Public channels can accept
@channel_username, but numerical ID avoids DNS/lookup latency.
2. Admin Approval Flow Pattern
To ensure content quality and personal tone alignment before broadcasting:
- Scrape & Deduplicate: Sources poll (RSS, APIs) -> filter keywords -> record in SQLite
posts.db. - Draft & Rewrite: LLM rewrites content into concise, engaging Persian prose using target voice profiles.
- Interactive Approval: Send draft to
TELEGRAM_ADMIN_CHAT_IDwith inline keyboard buttons ([✅ Publish]/[❌ Reject]/[✏️ Edit]). - Publish on Action: On callback query
approve_<post_id>, broadcast toTELEGRAM_CHANNEL_IDand include channel signature/link.
3. Communication & User Identity Ethics
- Strict Rule on User Naming: Never infer or assume the user's real private name from Telegram usernames, channel titles, or bot IDs (e.g., handles like
m4tinbeigior titles do not mean the user wants to be called that name). Address the user politely, neutrally, or by their explicitly requested moniker.
4. Operational Troubleshooting
| Symptom | Cause | Solution | |
|---|---|---|---|
HTTP 403: Forbidden to Channel | Bot not admin or lacks post permissions | Add bot as Channel Administrator with 'Post Messages' | |
| Telegram web scrape returns 0 posts | Telegram blocks direct headless curl/requests to /s/channel | Use official Telegram Bot API or authenticated MTProto/Telethon client rather than HTML scraping | |
| Rate limiting on GitHub Trending | GitHub API unauthenticated limit hit (60 req/hr) | Supply GITHUB_TOKEN in .env | |
| Local LLM connection error | 9Router daemon not running on port 20128 | Verify curl http://localhost:20128/v1/models |
Security
- Security scanPassed, 90 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 repositoryCheckingskills/productivity/telegram-content-bot-operations/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 3
- 7-day trend score
- 0
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/m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operations)