TG

Facilitates Telegram bot usage, including file transfers and commands.

Install

mkdir -p .claude/skills/tg-bot-usage && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12632" && unzip -o skill.zip -d .claude/skills/tg-bot-usage && rm skill.zip

Installs to .claude/skills/tg-bot-usage

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use the Telegram bot effectively (commands, queue, attachments), including sending files/archives back via /upload.
115 charsno explicit “when” trigger
Beginner

Key capabilities

  • Send a file as a Telegram document.
  • Zip a directory automatically for upload.
  • Force zip a file for upload.
  • Upload files from the repo workspace.
  • Upload files from the tg_uploads directory.

How it works

The skill uses the /upload command to send a specified file or directory to Telegram, zipping directories automatically.

Inputs & outputs

You give it
A file path or directory path.
You get back
A file or zipped directory uploaded to Telegram.

When to use tg-bot-usage

  • Uploading files to telegram
  • Sending logs to telegram
  • Managing bot commands

About this skill

tg-bot-usage

Use this skill when you need to operate the Telegram bot UX (or suggest copy-ready commands to the user), especially for returning artifacts back to Telegram.

File upload (back to Telegram)

When the user asks for a file/log/archive (or you produced an artifact on disk), use /upload:

  • /upload <path> — send a file as a Telegram document.
  • If <path> is a directory — it will be zipped automatically.
  • /upload --zip <path> — force zip even for a file.

Constraints:

  • Path must be inside the repo workspace or tg_uploads/** (paths outside are rejected).
  • Size limit: TG_SEND_MAX_MB (defaults to TG_UPLOAD_MAX_MB; fallback 50).
  • Owner private chat only (not for groups / non-owner chats).

Examples:

/upload logs/tg-bot/state.json
/upload logs/tg-bot --zip
/upload tg_uploads/242753904/20260104-130256_827874_BQACAgIA_MVP_Инструкция_к_Ферме__11.11.pdf

When not to use it

  • When the path is outside the repo workspace or tg_uploads directory.
  • When uploading to groups or non-owner chats.
  • When the file size exceeds TG_SEND_MAX_MB.

Limitations

  • Path must be inside the repo workspace or tg_uploads/**.
  • Size limit is TG_SEND_MAX_MB.
  • Uploads are only for the owner's private chat.

How it compares

This skill provides a direct command-line interface for Telegram uploads, automating the zipping of directories, unlike manual file transfers.

Compared to similar skills

tg-bot-usage side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tg-bot-usage (this skill)06moNo flagsBeginner
gmail-manager274moReviewIntermediate
mailchimp-automation24moNo flagsIntermediate
action-creator29moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry