An AI coding agent skill designed to securely transmit local workspace files and media directly to Telegram chats via the Telegram Bot API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tg-file-sender
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tg-file-sender using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The tg-file-sender skill provides a streamlined and highly secure mechanism for AI assistants to deliver local files straight to a user's Telegram chat. Built to handle explicit prompts such as "send this file to me" or "send to telegram", it automates workspace path resolution, file type optimization, and strict multi-layered security checks to ensure data integrity during transmission.
By leveraging this plugin within the Openclaw Skills ecosystem, developers can eliminate manual file downloads or external transfers. The skill intelligently selects the optimal Telegram Bot API delivery method based on file format while enforcing rigid privacy guardrails, ensuring that sensitive access credentials and out-of-scope workspace paths remain completely safe.
Before activating this skill within Openclaw Skills, ensure that curl is installed on your host system and that your targeted chat session has initialized a thread with your bot.
Export your secret Telegram Bot token into your environment variables. The skill reads this dynamically and will never log or hardcode the value:
export TG_BOT_TOKEN="your_telegram_bot_token_here"
The skill manages its analytical flow externally through environment parameters and enforces standard multi-media classification schemas.
| Extension | Telegram Method | Caption Support |
|---|---|---|
.jpg, .jpeg, .png, .gif, .webp |
sendPhoto |
Yes |
.mp4, .mov, .avi, .webm |
sendVideo |
Yes |
.mp3, .ogg, .wav, .flac |
sendAudio |
Yes |
Others (.xlsx, .pdf, .md, .zip, etc.) |
sendDocument |
Yes |
| Condition Trigger | User Response / Action |
|---|---|
TG_BOT_TOKEN Unset |
"请先设置 TG_BOT_TOKEN 环境变量" |
| File Missing | "文件不存在,请检查路径" |
| Target Outside Workspace | "路径不在工作目录范围内,已拒绝" |
| File Size Exceeds 50 MB | "文件超过 50MB,Telegram 不支持发送" |
/tmp/) and completely purges them from disk post-transmission.Loading
An AI agent skill designed to orchestrate high-performance TLE GPU kernel development, verifier implementations, and automated testing from intake to merge decision.

A professional social media analyzer designed to evaluate, score, and optimize Xiaohongshu (RED) post content for maximum platform engagement.

A privacy-aware, tiered memory management component for AI agents that secures sensitive data with custom XOR+Base64 encryption and automated cleanup protocols.

A Git-backed memory layer and CLI tool that provides durable, version-controlled, and auditable memory for AI coding agents without cluttering your working tree.

An automated conversational intelligence skill that parses user intent and extracts multi-dimensional insights from outreach audio transcripts.

A benign security-audit and validation skill designed to test if marketplaces and clients accept frontmatter-only license metadata without bundled LICENSE files.








































