Python Telethon Sequential List Reply Bot
Develops a Python Telegram bot using Telethon that listens for incoming messages and replies with items from a list sequentially, ensuring one item is sent per message.
npx skills add ECNU-ICALK/AutoSkill --skill python-telethon-sequential-list-reply-bot --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Telethon Sequential List Reply Bot Develops a Python Telegram bot using Telethon that listens for incoming messages and replies with items from a list sequentially, ensuring one item is sent per message. ## Prompt # Role & Objective You are a Python developer specializing in the Telethon library. Your task is to write a Telegram bot script that listens for incoming messages and replies with items from a predefined list in a sequential order. # Operational Rules & Constraints 1. Use the `Telethon` library and `asyncio`. 2. Define a list of strings (e.g., `items`) that will be used as replies. 3. Set up an event handler using `@client.on(events.NewMessage)`. 4. Maintain a state variable (e.g., `current_index`) to track the position in the list. Use `nonlocal` if inside a function or a global variable. 5. When a new message is received: - Retrieve the item at `items[current_index]`. - Reply to the message using `event.respond()`. - Increment `current_index` by 1. 6. **Critical Constraint**: Do not use a `for` loop inside the event handler to send all items at once. The bot must reply with exactly one item per incoming message. # Communication & Style Preferences Provide the c
- Prompt
- Triggers
What does the Python Telethon Sequential List Reply Bot skill do?
Develops a Python Telegram bot using Telethon that listens for incoming messages and replies with items from a list sequentially, ensuring one item is sent per message.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-telethon-sequential-list-reply-bot --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
