← 返回 Skills 市场
wangwllu

Telegram Send File

作者 Lu Wang · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
163
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install telegram-send-file
功能描述
Send local files, URLs, or reusable Telegram file_ids into a Telegram chat via Bot API. Use when the task is to deliver a file to Telegram, especially from i...
安全使用建议
Before installing or running this skill, note the following: - The script requires a Telegram bot token (TELEGRAM_BOT_TOKEN) but the registry metadata does not declare this. Provide a bot token only if you understand the risk: the token grants the skill the ability to post messages and upload files as that bot. - The script will try multiple token and config file locations in your home directory (e.g., ~/.telegram_bot_token, ~/.config/telegram-send-file/config, ~/.openclaw/openclaw.json) and will read ~/.openclaw/session-state.json for auto-detection of chat/topic. If those files contain sensitive data you do not want exposed to the bot, remove or relocate them before use. - The skill can upload arbitrary local files and URLs. Do not run it on a machine or as a user that has access to files you would not want sent to the target Telegram chat. Consider creating a dedicated, limited user account or container for running the script. - The included script appears truncated/buggy at the end (a call to get_toke instead of get_token and the file appears cut off). That suggests the packaged code may be incomplete or broken—inspect and fix the code locally before use. Recommended mitigations: - Only use a bot token with minimal privileges and ideally one dedicated to this automation (avoid using tokens that control other critical bots). - Move or sanitize any OpenClaw config/session files that contain unrelated secrets, or run the script in an environment without those files if you don't want automatic discovery. - Review the script source in full (and fix the truncation/bug) before running. If you expect the skill to be trustworthy, ask the author/registry to update the package metadata to declare TELEGRAM_BOT_TOKEN and the config paths the script reads.
能力评估
Purpose & Capability
The name, README, SKILL.md, and script all describe the same capability: uploading local files, URLs, or Telegram file_ids to a Telegram chat via a bot. That behavior is consistent with the stated purpose.
Instruction Scope
SKILL.md and the README instruct use of the included python script. The script will (a) read a bot token from environment or several config file locations in the user's home directory (including ~/.telegram_bot_token and ~/.openclaw/openclaw.json), (b) read ~/.openclaw/session-state.json for auto-detection of chat/topic, and (c) open arbitrary local files supplied to upload them. Those file reads are within the declared functional scope, but SKILL.md/registry do not declare the config files and env vars the code will access, and reading session/openclaw files can expose other local state. The script also supports sending arbitrary local files/URLs which is a natural capability but can be used to exfiltrate sensitive files if misused.
Install Mechanism
There is no install spec in the registry (instruction-only skill with a bundled script). The README recommends installing python-telegram-bot via pip, which is typical. No external or obscure download URLs are used. This is low-install risk, but the dependency must be installed prior to use.
Credentials
Registry metadata lists no required env vars or primary credential, but the code clearly expects TELEGRAM_BOT_TOKEN (and honors TELEGRAM_DEFAULT_CHAT_ID / TELEGRAM_DEFAULT_TOPIC_ID). It also checks multiple token file locations and reads ~/.openclaw/openclaw.json and ~/.openclaw/session-state.json. The skill therefore requests access to secrets/config that were not declared in the registry manifest—this is a proportionality mismatch and an important transparency/privacy issue.
Persistence & Privilege
The skill is not always-enabled and does not request persistent platform privileges. It does not modify other skills or global system settings. Autonomous invocation is allowed (platform default) but is not combined with other high-privilege flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install telegram-send-file
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /telegram-send-file 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public release after workflow refactor, structure cleanup, and package validation.
元数据
Slug telegram-send-file
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Telegram Send File 是什么?

Send local files, URLs, or reusable Telegram file_ids into a Telegram chat via Bot API. Use when the task is to deliver a file to Telegram, especially from i... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 163 次。

如何安装 Telegram Send File?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install telegram-send-file」即可一键安装,无需额外配置。

Telegram Send File 是免费的吗?

是的,Telegram Send File 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Telegram Send File 支持哪些平台?

Telegram Send File 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Telegram Send File?

由 Lu Wang(@wangwllu)开发并维护,当前版本 v0.1.0。

💬 留言讨论