← 返回 Skills 市场
Telegram File Sender
作者
dzunglaviet
· GitHub ↗
· v1.0.1
· MIT-0
74
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install better-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...
使用说明 (SKILL.md)
Telegram File Sender
Workflow
- Confirm file exists (read path).
- Read
chat_idfrom the## Inbound Context (trusted metadata)JSON block in the system prompt (value looks liketelegram:1234567890). - Run
scripts/send_file.sh \x3Cpath> ['caption'] \x3Cchat_id>. - 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 Context → chat_id field. Never hardcode.
安全使用建议
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install better-telegram-file-sender - 安装完成后,直接呼叫该 Skill 的名称或使用
/better-telegram-file-sender触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。
如何安装 Telegram File Sender?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install better-telegram-file-sender」即可一键安装,无需额外配置。
Telegram File Sender 是免费的吗?
是的,Telegram File Sender 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Telegram File Sender 支持哪些平台?
Telegram File Sender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Telegram File Sender?
由 dzunglaviet(@dzunglaviet)开发并维护,当前版本 v1.0.1。
推荐 Skills