m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operations

Claude Code and agent skill by m4tinbeigi-official/hermes-literary-translation-mastery

Trust tier 3
  • community
Source check pending

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-operations

SKILL.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)
bash
# Bot credentials from @BotFather
TELEGRAM_BOT_TOKEN=<TOKEN>
# Target channel (numerical -100xxx or public @username)
TELEGRAM_CHANNEL_ID=-1002101305073
# Admin user ID for interactive approvals & direct notifications
TELEGRAM_ADMIN_CHAT_ID=1414726588
# LLM backend for content rewriting (e.g. Local 9Router endpoint)
AI_API_BASE=http://localhost:20128/v1
AI_MODEL=ag/gemini-3.7-flash-medium
AI_API_KEY=dummy
Channel Permissions & HTTP 403 Diagnostics

When publishing to a Telegram channel (TELEGRAM_CHANNEL_ID):

  1. Bot must be added as an Administrator in the channel.
  2. Bot must have the "Post Messages" permission explicitly granted.
  3. If an HTTP 403 Forbidden error occurs during sendMessage, 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:

  1. Scrape & Deduplicate: Sources poll (RSS, APIs) -> filter keywords -> record in SQLite posts.db.
  2. Draft & Rewrite: LLM rewrites content into concise, engaging Persian prose using target voice profiles.
  3. Interactive Approval: Send draft to TELEGRAM_ADMIN_CHAT_ID with inline keyboard buttons ([✅ Publish] / [❌ Reject] / [✏️ Edit]).
  4. Publish on Action: On callback query approve_<post_id>, broadcast to TELEGRAM_CHANNEL_ID and 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 m4tinbeigi or 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

SymptomCauseSolution
HTTP 403: Forbidden to ChannelBot not admin or lacks post permissionsAdd bot as Channel Administrator with 'Post Messages'
Telegram web scrape returns 0 postsTelegram blocks direct headless curl/requests to /s/channelUse official Telegram Bot API or authenticated MTProto/Telethon client rather than HTML scraping
Rate limiting on GitHub TrendingGitHub API unauthenticated limit hit (60 req/hr)Supply GITHUB_TOKEN in .env
Local LLM connection error9Router daemon not running on port 20128Verify 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operations/badge)](https://verified-skill.com/skills/m4tinbeigi-official/hermes-literary-translation-mastery/telegram-content-bot-operations)

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