← Back to Skills Marketplace
117
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yunjia-file-transfer
Description
当用户请求文件时(如"把文件发给我"、"发个文件给我"、"把 xxx 发给我"),调用此 skill 将文件发送给用户。支持发送本地文件到当前聊天频道。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yunjia-file-transfer - After installation, invoke the skill by name or use
/yunjia-file-transfer - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Yunjia File Transfer?
当用户请求文件时(如"把文件发给我"、"发个文件给我"、"把 xxx 发给我"),调用此 skill 将文件发送给用户。支持发送本地文件到当前聊天频道。 It is an AI Agent Skill for Claude Code / OpenClaw, with 117 downloads so far.
How do I install Yunjia File Transfer?
Run "/install yunjia-file-transfer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Yunjia File Transfer free?
Yes, Yunjia File Transfer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Yunjia File Transfer support?
Yunjia File Transfer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Yunjia File Transfer?
It is built and maintained by yb1222 (@billyang1222); the current version is v1.0.0.
More Skills