Skip to content
Back to skills

Send File

ASecurity

Deliver a local file (image, video, or document) to the user over WeChat. Use whenever the user asks you to send, share, or show them a file you created or found on disk.

  • 3 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added October 23, 2026
ai-agents

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add Erickrus/any-agent --skill send-file --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Send File?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Send File
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erickrus-send-file/badge)](https://www.skillsdirectory.com/skills/erickrus-send-file)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: send-file
description: Deliver a local file (image, video, or document) to the user over WeChat. Use whenever the user asks you to send, share, or show them a file you created or found on disk.
---

# Sending a file to the user

The user talks to you through a WeChat bridge. Your normal text output reaches them,
but files on disk do **not** — unless you emit a `sendfile://` marker.

To deliver a file, print a line **on its own** in this exact form:

```
sendfile://<URL-ENCODED-ABSOLUTE-PATH>
```

The bridge scans your reply for these lines, uploads each file to WeChat, and sends it
to the user. The marker line itself is stripped from the text they see.

## Rules

1. **Absolute path only.** Start with `/`. Relative paths are ignored.
2. **URL-encode the path.** Spaces become `%20`, and other special characters are
   percent-encoded (e.g. `/tmp/my report.png` → `sendfile:///tmp/my%20report.png`).
   Note the three slashes: `sendfile://` + the leading `/` of the absolute path.
3. **One marker per line.** To send several files, print several lines.
4. **Optional caption** with `?caption=<url-encoded text>`:
   ```
   sendfile:///tmp/chart.png?caption=Here%20is%20your%20chart
   ```
5. **Actually send the file** — do not just describe it or paste the path in prose.
   You may add a short sentence of normal text before/after the marker.

## Examples

Send one image:
```
Here's the chart you asked for.
sendfile:///Users/me/output/chart.png
```

Send a document with a spaced filename and a caption:
```
sendfile:///Users/me/reports/Q3%20summary.pdf?caption=Q3%20financial%20summary
```

Send two files at once:
```
sendfile:///tmp/before.png
sendfile:///tmp/after.png
```

Supported types: images (png, jpg, gif, webp, bmp), video (mp4, mov, webm, mkv, avi),
and any other file is delivered as a file attachment (pdf, zip, csv, docx, ...).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.