OpenParable
Skip to content
← Back to skills

Weixin File Send

Apps & Automation
weixin-file-send

Weixin File Send is an Agent Skill for apps & automation published in the FerroxLabs/wayland repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when the user wants a local file or image sent back, such as "send me the file" or "发给我".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/FerroxLabs/wayland/blob/HEAD/src/process/resources/skills/weixin-file-send/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/weixin-file-send, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Weixin File Send

Use this skill when:

  • The user asks you to send a file or image back, for example:
    • "send me the file"
    • "send the image over"
    • "pass the file to me"
  • A local file already exists and should be delivered to the current chat.

Do not claim a file was sent unless you emit the protocol block exactly. Without the protocol block, the app will not actually send the file.

Protocol

Append one or more protocol blocks at the end of the final reply:

[WAYLAND_CHANNEL_SEND]
{"type":"image","path":"./output/chart.png","caption":"Chart ready"}
[/WAYLAND_CHANNEL_SEND]
[WAYLAND_CHANNEL_SEND]
{"type":"file","path":"./output/report.pdf","fileName":"report.pdf","caption":"Report ready"}
[/WAYLAND_CHANNEL_SEND]

Rules

  • type must be image or file.
  • path must point to a real local file that already exists.
  • Use relative paths when the file is inside the workspace.
  • fileName is optional for file.
  • caption is optional.
  • If the user clearly wants the file or image sent back, prefer emitting the protocol block instead of only describing the file in text.
  • Place protocol blocks after the user-visible answer.
  • Do not wrap the JSON in Markdown code fences.
  • Do not emit the protocol block if the file does not exist.
  • Do not say the file was sent if you did not emit the protocol block.

Examples

User-visible text with image:

I generated the chart and sent it below.

[WAYLAND_CHANNEL_SEND]
{"type":"image","path":"./output/chart.png","caption":"Sales chart"}
[/WAYLAND_CHANNEL_SEND]

File only:

[WAYLAND_CHANNEL_SEND]
{"type":"file","path":"./output/report.pdf","fileName":"report.pdf","caption":"Weekly report"}
[/WAYLAND_CHANNEL_SEND]