用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Jasonzhangf/zterm --skill zterm-send-image命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | zterm-send-image |
| description | Send an image from an Agent to one or more zterm client devices through the daemon attachment API. |
Use the daemon attachment API. Do not write ~/.zterm/attachments directly and do not put image bytes in terminal input, mux frames, heartbeat payloads, or debug metadata.
zterm-send-image --file /absolute/path/image.png --target-device phone-a --message "optional context"
The command must return the structured attachmentId and queued status. Generate a stable clientRequestId when retrying the same Agent operation so retries are idempotent.
POST /api/v1/attachments/images with a JSON body containing fileName, mimeType, dataBase64, senderAgentId, senderName, clientRequestId, targetDeviceIds, and optional message. Authenticate with the daemon token.
The daemon creates a durable 48-hour attachment and per-device delivery records. The remote client pulls the preview first and the original only on demand.
preview or original).