Agent skill
weixin-file-send
Use when the user wants a local file or image sent back, such as "send me the file" or "发给我".
Install this agent skill to your Project
npx add-skill https://github.com/iOfficeAI/AionUi/tree/main/src/process/resources/skills/weixin-file-send
SKILL.md
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
typemust beimageorfile.pathmust point to a real local file that already exists.- Use relative paths when the file is inside the workspace.
fileNameis optional forfile.captionis 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]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
i18n
Internationalization (i18n) workflow and standards for managing translations. Use when: (1) Adding new user-facing text, (2) Creating new components with user-facing text, (3) Reviewing code for i18n compliance, (4) Adding a new translation module.
pr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
architecture
Project architecture and file structure conventions for all process types. Use when: (1) Creating new files or modules, (2) Deciding where code should go, (3) Converting single-file components to directories, (4) Reviewing code for structure compliance, (5) Adding new bridges, services, agents, or workers.
testing
Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.
pr-review
PR Code Review (Local): perform a thorough local code review with full project context. Use when: (1) User asks to review a PR, (2) User says "/pr-review", (3) User wants to review code changes before merging.
bump-version
Didn't find tool you were looking for?