← 返回 Skills 市场
117
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yunjia-file-transfer
功能描述
当用户请求文件时(如"把文件发给我"、"发个文件给我"、"把 xxx 发给我"),调用此 skill 将文件发送给用户。支持发送本地文件到当前聊天频道。
安全使用建议
This skill appears to do what it says: when asked it will search local directories for absolute file paths and output a JSON instruction that the platform will use to attach/send the file in chat. Before installing or enabling it, consider: 1) It will run filesystem searches (find or PowerShell) and may access many user files when invoked — ensure you only call it when you intend to share files. 2) The included script logs file paths and file-size metadata to /tmp/yunjia-file-transfer.log and stderr; if you have concerns about local log exposure, review or modify the script's logging. 3) The skill does not itself read file contents, but the platform action 'sendFileToChat' will transmit the file to the chat — confirm that sending sensitive files is allowed. 4) Confirm python3 is available in the agent runtime and that the agent process has the necessary filesystem permissions. 5) If you want higher assurance, review the assemble_send_instruction.py code and remove or harden logging before use.
功能分析
Type: OpenClaw Skill
Name: yunjia-file-transfer
Version: 1.0.0
The skill provides a mechanism for the AI agent to search the local filesystem and exfiltrate files to the chat interface. While the stated purpose is 'file transfer,' the instructions in SKILL.md explicitly command the agent to perform broad, recursive searches (e.g., using PowerShell's Get-ChildItem or find) and to suppress all conversational output in favor of a raw JSON payload. This 'silent' execution mode, combined with instructions to actively search for files rather than waiting for specific paths, creates a significant risk for unauthorized data access and exfiltration via prompt injection. The helper script assemble_send_instruction.py (and its log file /tmp/yunjia-file-transfer.log) facilitates the formatting of these transfer commands.
能力评估
Purpose & Capability
Name/description (send local files to the chat) matches the actual behavior: SKILL.md instructs the agent to search local user directories (find / PowerShell), build absolute file paths, and call the included Python script to emit a JSON instruction that the platform uses to send files. No unrelated credentials, packages, or remote endpoints are requested.
Instruction Scope
Instructions require the agent to run filesystem search commands (find, Get-ChildItem) and to provide absolute paths; that is necessary for the stated task. The included script validates paths and checks file existence/size but does not read file contents. Potential privacy note: the script logs timestamps and file paths to stderr and appends them to /tmp/yunjia-file-transfer.log, which could expose searched file paths and metadata to other local users/processes or to system log collectors.
Install Mechanism
No install spec; this is instruction-plus-small-script only. The runtime only requires a Python interpreter present on the agent environment (SKILL.md uses python3). No downloads or external packages are fetched.
Credentials
The skill declares no environment variables or credentials. SKILL.md references common environment variables (e.g., $USERPROFILE, $HOME) only to locate user directories, which is proportionate to searching for files. There are no secrets or unrelated service keys requested.
Persistence & Privilege
always is false, and the skill does not modify other skills or system-wide settings. It does write a local log under /tmp, but it does not persist credentials or request elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yunjia-file-transfer - 安装完成后,直接呼叫该 Skill 的名称或使用
/yunjia-file-transfer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
yunjia-file-transfer v1.1.0
- Major documentation update: SKILL.md significantly expanded with detailed, step-by-step guides for Windows, macOS, and Linux file path handling.
- Clear emphasis on prioritizing Windows compatibility; all examples and logic now focus first on Windows users and environments.
- Expanded best practices for file finding, absolute path formulation, and dynamic OS detection.
- Explicit instructions: after calling the script, output must be only the script’s raw stdout JSON—no extra comments, markdown, or explanations.
- Comprehensive troubleshooting, error-avoidance instructions, and user experience recommendations added for robust production use.
元数据
常见问题
Yunjia File Transfer 是什么?
当用户请求文件时(如"把文件发给我"、"发个文件给我"、"把 xxx 发给我"),调用此 skill 将文件发送给用户。支持发送本地文件到当前聊天频道。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 117 次。
如何安装 Yunjia File Transfer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yunjia-file-transfer」即可一键安装,无需额外配置。
Yunjia File Transfer 是免费的吗?
是的,Yunjia File Transfer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Yunjia File Transfer 支持哪些平台?
Yunjia File Transfer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Yunjia File Transfer?
由 yb1222(@billyang1222)开发并维护,当前版本 v1.0.0。
推荐 Skills