image-upload
Installation
SKILL.md
Upload Image to Lab Nocturne
Upload an image file to the Lab Nocturne Images API and return the CDN URL.
Invocation
/upload <path> — where <path> is the file to upload. Also triggered naturally (e.g. "upload this screenshot", "host this image", "get me a URL for this png").
Instructions
1. Resolve the file path
- The user provides a file path as the argument (e.g.
/upload ./screenshot.png). - If no path is given, ask the user which file to upload.
- Verify the file exists using
lson the path. If it does not exist, tell the user and stop. - Verify the extension is one of:
jpg,jpeg,png,gif,webp,svg. If not, tell the user the file type is not supported and list the allowed types.