diff --git a/CLAUDE.md b/CLAUDE.md index 15ec90f..6c0280e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -31,8 +31,9 @@ Ask the user with quick-reply buttons AND a text input field combined. Blocks un Copy text to the user's device clipboard. ### hwip_file -Send a file to the user's device — `filePath` for anything on disk (images, PDFs, -logs), or `content` + `fileName` for generated text. +Send files to the user's device — `filePath` for anything on disk (images, PDFs, +logs), `filePaths` for several at once (one call, one message — never a call per +screenshot), or `content` + `fileName` for generated text. ## Utility Tools diff --git a/skills/hwip/SKILL.md b/skills/hwip/SKILL.md index 518865d..fcb1de7 100644 --- a/skills/hwip/SKILL.md +++ b/skills/hwip/SKILL.md @@ -86,11 +86,15 @@ Copy text to the user's device clipboard. - User needs to paste something elsewhere ### hwip_file -Send a file to the user's device. Pass `filePath` for a file that already exists -on disk, or `content` + `fileName` for text you generated. +Send files to the user's device. Pass `filePath` for a file that already exists +on disk, `filePaths` for several of them, or `content` + `fileName` for text you +generated. **When to use:** - Send an image, screenshot, or PDF — `filePath`, and it renders inline on the device +- Send several screenshots or files the user asked for — **one call with + `filePaths`**, not one call per file: they arrive together in one message + (five to a push; more are split in order). Give one `title` for the set - Share logs, reports, or generated config files - Content too long for a notification body