Agent Skills: Weixin File Send

|

UncategorizedID: iofficeai/aionui/weixin-file-send

Repository

iOfficeAILicense: Apache-2.0
20,8511,680

Install this agent skill to your local

pnpm dlx add-skill https://github.com/iOfficeAI/AionUi/tree/HEAD/src/process/resources/skills/weixin-file-send

Skill Files

Browse the full folder contents for weixin-file-send.

Download Skill

Loading file tree…

src/process/resources/skills/weixin-file-send/SKILL.md

Skill Metadata

Name
weixin-file-send
Description
|

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:

[AIONUI_CHANNEL_SEND]
{"type":"image","path":"./output/chart.png","caption":"Chart ready"}
[/AIONUI_CHANNEL_SEND]
[AIONUI_CHANNEL_SEND]
{"type":"file","path":"./output/report.pdf","fileName":"report.pdf","caption":"Report ready"}
[/AIONUI_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.

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

File only:

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