smart-image-loader
Installation
SKILL.md
Smart Image Loader
Quick Start
When a user asks to display an image:
-
Check if input is a URL or local path
- URLs start with
http://orhttps:// - Local paths are file paths in the workspace
- URLs start with
-
For URLs:
- Download the image to a temporary location using the Python script
- Use
readtool to display the image - Clean up the temporary file afterward
-
For local files:
- Verify the file exists (relative to workspace or absolute path)
- Use
readtool directly to display the image