tg-topics-workflow

Route Telegram bot tasks within topics using chat_id and message_thread_id scopes.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/kvcop/ai-kb-assistant --skill tg-topics-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tg-topics-workflow
Source: https://github.com/kvcop/ai-kb-assistant/tree/main/.codex/skills/tg-topics-workflow
Command: npx skills add https://github.com/kvcop/ai-kb-assistant --skill tg-topics-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines how the Telegram bot interacts within topics, ensuring tasks are routed correctly and preventing the creation of unnecessary threads, thereby maintaining organized conversations.

Core Features & Use Cases

  • Topic-based Scoping: Treats each Telegram topic as a project container, using (chat_id, message_thread_id) as a unique scope.
  • Intelligent Routing: Manages task flow, appending messages as follow-ups or initiating new tasks based on scope status and user commands (/new).
  • Topic Naming: Suggests auto-generated topic names for clarity (e.g., 🔧 Рефактор).
  • Use Case: When working on a complex feature, you can use a specific Telegram topic to track all related discussions, tasks, and progress, ensuring everything stays in one organized place.

Quick Start

Use the tg-topics-workflow skill to manage tasks within the current Telegram topic.

Frequently Asked Questions about tg-topics-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Telegram bot tasks within specific topics?

Routing sequential tasks in Telegram topics is managed by defining each topic as a unique scope using chat_id and message_thread_id. This approach ensures sequential task execution and correctly appends follow-up messages within the same thread.

How does topic-based scoping work for sequential task execution in Telegram?

Topic-based scoping for sequential task execution works by using the chat_id and message_thread_id pair to define a unique container. The routing rules then determine whether to append incoming messages as follow-ups or initiate entirely new tasks.

Can I prevent a Telegram bot from creating unnecessary topic threads?

You can prevent a Telegram bot from creating unnecessary topic threads by applying intelligent routing rules. These rules manage task flow within active, idle, and new scopes, ensuring efficient message delivery without spawning extra topics.

How do I start a new task in an idle Telegram topic scope?

To start a new task in an idle Telegram topic scope, you can use the /new command. This user command overrides the idle state and initiates a fresh task sequence within the existing message thread.

Does this workflow support auto-generated naming conventions for Telegram topics?

The workflow does support auto-generated naming conventions for Telegram topics by suggesting descriptive names. This feature provides clarity for complex feature tracking, using formats like an emoji followed by a descriptive task name.