← Back to Skills Marketplace
dzunglaviet

Telegram File Sender

by dzunglaviet · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
74
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install better-telegram-file-sender
Description
Send files (zip, pdf, image, etc.) to the current Telegram chat using openclaw message send --media. Use when user asks to "gửi file", "send z...
README (SKILL.md)

Telegram File Sender

Workflow

  1. Confirm file exists (read path).
  2. Read chat_id from the ## Inbound Context (trusted metadata) JSON block in the system prompt (value looks like telegram:1234567890).
  3. Run scripts/send_file.sh \x3Cpath> ['caption'] \x3Cchat_id>.
  4. Confirm sent (msg ID logged).

Examples

  • User: "Gửi zip cho tao" → exec send_file.sh ./file.zip "Your file 🦾" telegram:1234567890
  • User: "Attach test.pdf" → send_file.sh test.pdf "File from OpenClaw 🦾" telegram:1234567890

File not found? Ask user confirm path.

Caption optional, default "File from OpenClaw 🦾".

Resolve paths: workspace rel, abs ok.

chat_id: always taken from ## Inbound Contextchat_id field. Never hardcode.

Usage Guidance
Install this only if you trust the configured OpenClaw Telegram bot/gateway and the local `openclaw` CLI. Before using it, check that the path points to the exact file you intend to send, especially for absolute paths or sensitive documents.
Capability Assessment
Purpose & Capability
The stated purpose, README, and script all align around sending a specified file to Telegram; the sensitive part is that the file contents leave the local environment.
Instruction Scope
The instructions are scoped to user requests to send files via Telegram and say the chat target should come from session inbound context rather than being hardcoded.
Install Mechanism
There is no install spec and registry requirements list no binaries, while the README and script require a trusted `openclaw` CLI/gateway to be available.
Credentials
The skill accepts workspace-relative and absolute file paths and sends only the named file; there is no evidence of broad indexing, deletion, or hidden sharing.
Persistence & Privilege
No persistent state, background worker, environment variables, credential storage, or privilege escalation is shown; it relies on existing OpenClaw Telegram configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install better-telegram-file-sender
  3. After installation, invoke the skill by name or use /better-telegram-file-sender
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Fix: bash shebang, dynamic chat_id from Inbound Context
v1.0.0
- Initial release of Telegram File Sender skill. - Allows sending various file types (zip, pdf, images) to the active Telegram chat. - Automatically resolves file paths and validates file existence; prompts user if file is missing. - Caption is optional with a default message; can be customized per request. - Always uses chat_id from system inbound context for correct message delivery.
Metadata
Slug better-telegram-file-sender
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Telegram File Sender?

Send files (zip, pdf, image, etc.) to the current Telegram chat using openclaw message send --media. Use when user asks to "gửi file", "send z... It is an AI Agent Skill for Claude Code / OpenClaw, with 74 downloads so far.

How do I install Telegram File Sender?

Run "/install better-telegram-file-sender" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Telegram File Sender free?

Yes, Telegram File Sender is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Telegram File Sender support?

Telegram File Sender is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Telegram File Sender?

It is built and maintained by dzunglaviet (@dzunglaviet); the current version is v1.0.1.

💬 Comments