tg-bot-usage

Upload files and directories to a Telegram bot with automatic zipping.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you effectively use the Telegram bot for various tasks, including sending files and receiving them back from the bot.

Core Features & Use Cases

  • Command Execution: Understand and utilize the bot's commands for specific actions.
  • File Upload/Download: Send files or archives to the bot for processing or retrieval.
  • Use Case: You've generated a report or log file and need to send it to a colleague via Telegram. This skill guides you on how to use the /upload command to send the file, even zipping it if it's a directory.

Quick Start

Use the upload command to send the file located at 'logs/report.txt' to Telegram.

Frequently Asked Questions about tg-bot-usage

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

FAQPage Schema
How do I upload a file to Telegram from the command line?

To upload a file to Telegram, use the bot's `/upload` command and specify the file path, such as `logs/report.txt`. The skill sends the file directly to your configured private chat for retrieval and sharing.

Can I upload an entire directory to my Telegram bot?

Yes, you can upload a directory to your Telegram bot. The skill automatically zips the directory before transferring it, ensuring the folder structure is preserved and sent as a single archive file to your private chat.

What is the maximum file size limit for sending files to Telegram?

The maximum file size for sending files to Telegram is determined by the `TG_SEND_MAX_MB` environment variable. You must configure this variable to set your desired upload size limit constraints before transferring files.

Do I need a private chat to receive files from the Telegram bot?

Yes, a private chat is required to receive files from the Telegram bot. The skill facilitates command execution and file transfer specifically by sending uploaded files and zipped directories to your designated private chat.

How does the Telegram bot handle command execution for file transfers?

The Telegram bot handles command execution by interpreting specific commands like `/upload` to trigger file processing. It validates the file path, applies automatic zipping for directories, and executes the transfer based on your configured size limits.