Token导航 LogoToken导航

Agent Skill · 效率

telegram-file-sender(Telegram file sender 部署)

telegram-file-sender 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

telegram-file-sender 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 7,904。

总安装 7,638周安装 312GitHub Stars 公开资料未说明下载 2,446核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:telegram-file-sender(Telegram file sender 部署)
来源仓库:https://github.com/daowuu/telegram-file-sender
安装命令:
openclaw skills install telegram-file-sender
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install telegram-file-sender

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

通过机器人向 Telegram 用户发送最多 50MB 的文件或注释,支持本地、iCloud、相对或知识/路径,并根据需要自动压缩。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install telegram-file-sender;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

telegram-file-sender 怎么安装?

在终端执行 openclaw skills install telegram-file-sender。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

telegram-file-sender 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

telegram-file-sender 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

telegram-file-sender 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

telegram-file-sender 用的人多吗?

公开数据是累计安装 7,638 次,近一周安装 312 次,下载 2,446 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

telegram-file-sender 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
telegram-file-sender

Telegram file sender 部署 · 本页

7,638—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
telegram-send-file
description
Send local files and documents to a Telegram user via bot. Use when user asks to "send", "发", "发给我", "发送" a file, note, or document via Telegram. Handles files from iCloud Drive paths or local paths. Handles files up to 50MB (auto-zips if over limit). Triggers on: "发送文件", "发笔记", "send me", "send file", "发给我这个文件", "把xxx发过来", "send document".
metadata
homepage
https://clawhub.ai/skills/telegram-file-sender

Telegram File Sender

Send files to a Telegram user via bot, handling workspace path restrictions and Telegram's 50MB file size limit.

What This Skill Does

This skill enables an AI agent to send files from the local filesystem (including iCloud Drive paths) to a Telegram user through a bot account. It handles:

  • Path resolution: Accepts iCloud paths and local absolute paths
  • Size limits: Telegram caps documents at 50MB; this skill auto-compresses files over that limit
  • Workspace isolation: Files outside allowed directories are copied to a temporary location before sending
  • Multiple bots: Supports any bot accountId configured in OpenClaw

When to Use This Skill

  • User asks to "send me the file" or "发给我"
  • User wants a note or document forwarded to Telegram
  • User requests a specific file be delivered via the bot
  • Any request that involves transferring a file from the agent's filesystem to Telegram

Prerequisites

The agent must have:

  1. A configured Telegram bot account in OpenClaw
  2. The target user's Telegram chat ID
  3. The file path (or enough info to locate the file)

If any of these are missing, ask the user before proceeding.

Core Workflow

Step 1: Identify the File

If the user didn't specify a path, ask them. Accepted formats:

  • Any absolute path: /Users/you/Documents/file.any
  • Path with ~ expansion: ~/path/to/file
  • Relative path from workspace root
  • Any file extension (.md, .txt, .pdf, .zip, images, etc.)

Step 2: Run the Helper Script

python3 skills/telegram-send-file/scripts/send_file.py "<source_path>" "<target_user_id>" [caption] [accountId]

Arguments:

ArgRequiredDefaultDescription
source_pathYes—Absolute path to the file
target_user_idYes—Telegram chat ID (e.g. 123456789)
captionNo""Text caption shown before the file
accountIdNo(first bot)Bot accountId configured in OpenClaw

Step 3: Parse Script Output

The script outputs key-value lines on stdout:

SEND_PATH=/tmp/xyz/file.md
SEND_FILENAME=file.md
TARGET=123456789
CAPTION=📄 My Document
ACCOUNT_ID=your_bot_account
READY

Extract SEND_PATH, TARGET, ACCOUNT_ID from the output.

Step 4: Send via Message Tool

{
  "action": "send",
  "channel": "telegram",
  "target": "<TARGET from output>",
  "accountId": "<ACCOUNT_ID from output>",
  "filePath": "<SEND_PATH from output>",
  "asDocument": true
}

Use filePath (absolute path), not path or relative paths.

Step 5: Clean Up Temp Files

After message tool returns ok: true, delete the temp file:

rm <SEND_PATH>
rm -rf <parent_tmp_dir>

Size Handling Rules

File sizeBehavior
≤ 50MBCopied to tmp, sent as-is
> 50MBAuto-zipped; sent if result ≤ 50MB
> 50MB after zipPrints FAIL + suggestion; does not send

The suggestion will be either:

  • "Split the file into smaller parts"
  • "Send a summary + external link"

Common Usage Patterns

Send Any File Type

python3 skills/telegram-send-file/scripts/send_file.py \
  "/Users/you/Documents/report.pdf" \
  "123456789" \
  "📄 Report" \
  "your_bot_account"

Works with any extension: .md, .txt, .pdf, .zip, .png, .jpg, .json, etc.

Send a Large File (Auto-zipped)

If a file exceeds 50MB, the script auto-zips it. If the zip is ≤ 50MB, it sends the zip automatically.

Send from a Different Bot

python3 skills/telegram-send-file/scripts/send_file.py \
  "/Users/you/path/to/file.png" \
  "123456789" \
  "🖼 Image" \
  "another_bot_account"

Edge Cases

File Not Found

The script exits with FAIL: Source file not found. Ask the user to verify the path.

Permission Denied

If the file exists but cannot be read, the script will fail. Check file permissions.

Empty File

Allowed. The script sends it normally.

Binary File

Allowed. The script handles any file type, not just text.

Very Long Filename

Telegram handles filenames up to 255 chars. The script preserves the original basename.

Security Notes

  • Files are only copied to tmp and deleted after sending
  • No external command execution (uses Python's built-in zipfile module only)
  • Only OpenClaw's Telegram bot credentials are used (configured server-side)
  • The script does not log or persist file contents

Debugging

If sending fails:

  1. Check file size: ls -lh <path>
  2. Verify path exists: ls <path>
  3. Test temp copy manually: cp <path> /tmp/
  4. Check bot config: Confirm accountId is correct in OpenClaw config
  5. Check user ID: Confirm the target chat ID is correct

Relationship to OpenClaw Message Tool

This skill wraps the message tool's send action with file-document support. The workflow is:

  1. Helper script prepares the file and resolves path/size
  2. Agent calls message tool with the prepared absolute path
  3. OpenClaw handles the Telegram API call

The skill exists because:

  • OpenClaw requires absolute paths for file sending
  • Files may need to be copied from iCloud to a reachable location
  • Size limits require compression as a pre-processing step

平台分布

OpenClaw

90.86%
按下载量换算2,222

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills