xiaohongshu
xiaohongshu
giil
Get Image [from] Internet Link - download full-resolution images from iCloud, Dropbox, Google Photos, and Google Drive share links. Perfect for remote AI debugging workflows.
Full skill instructions
Download full-resolution images from cloud photo share links. Zero setup - just paste a link and get the image.
The primary use case: You're working with Clawdbot or another AI assistant and need to share a screenshot. Instead of complex file transfers, just:
| Platform | URL Patterns | Method |
|---|---|---|
| iCloud | share.icloud.com/photos/* | Browser automation |
| Dropbox | dropbox.com/s/*, dropbox.com/scl/fi/* | Direct download (fast!) |
| Google Photos | photos.app.goo.gl/*, photos.google.com/share/* | Browser + CDN |
| Google Drive | drive.google.com/file/d/* | Multi-tier download |
# Basic download to current directory
giil "https://share.icloud.com/photos/0a1Abc_xYz..."
# Download to specific directory
giil "https://share.icloud.com/photos/..." --output ~/Downloads
# Dropbox (super fast - no browser needed)
giil "https://www.dropbox.com/s/abc123/screenshot.png"
# Google Photos
giil "https://photos.app.goo.gl/abc123xyz"
# Get structured metadata
giil "https://share.icloud.com/photos/..." --json
Output:
{
"ok": true,
"platform": "icloud",
"path": "/path/to/icloud_20240115_143245.jpg",
"datetime": "2024-01-15T14:32:45.000Z",
"method": "network",
"size": 245678,
"width": 4032,
"height": 3024
}
# Output as base64 (no file saved)
giil "https://share.icloud.com/photos/..." --base64
# Create data URI
echo "data:image/jpeg;base64,$(giil '...' --base64)" > image-uri.txt
# Pipe to API
giil "..." --base64 | curl -X POST -d @- https://api.example.com/upload
# Download all photos from shared album
giil "https://share.icloud.com/photos/..." --all --output ~/album
# With JSON output per photo
giil "https://share.icloud.com/photos/..." --all --json
# Preserve original bytes (skip MozJPEG compression)
giil "..." --preserve
# Custom JPEG quality (1-100, default 85)
giil "..." --quality 60
# Convert to different format
giil "..." --convert webp
giil "..." --convert png
# Verbose output with progress
giil "..." --verbose
# Save debug artifacts on failure
giil "..." --debug
# Just print the resolved CDN URL (don't download)
giil "..." --print-url
# Increase timeout for slow networks
giil "..." --timeout 120
| Flag | Default | Description |
|---|---|---|
--output DIR | . | Output directory |
--preserve | off | Keep original bytes (skip compression) |
--convert FMT | — | Convert to: jpeg, png, webp |
--quality N | 85 | JPEG quality 1-100 |
--base64 | off | Output base64 to stdout |
--json | off | Output JSON metadata |
--all | off | Download all photos from album |
--timeout N | 60 | Page load timeout in seconds |
--debug | off | Save debug artifacts on failure |
--verbose | off | Show detailed progress |
--print-url | off | Just output resolved CDN URL |
--update | off | Force reinstall dependencies |
--version | — | Print version |
--help | — | Show help |
| Code | Meaning |
|---|---|
0 | Success |
1 | Capture failed |
2 | Usage error |
3 | Dependency error |
10 | Network error |
11 | Auth required (not publicly shared) |
12 | Not found (expired/deleted) |
13 | Unsupported content (video, doc) |
giil "..." --json | jq -e '.ok' && echo "Success" || echo "Failed"
IMAGE_PATH=$(giil "..." --output ~/Downloads 2>/dev/null)
echo "Downloaded: $IMAGE_PATH"
giil "https://share.icloud.com/photos/XXX" 2>/dev/null
case $? in
0) echo "Success!" ;;
10) echo "Network issue - retry later" ;;
11) echo "Link not public - ask owner to share" ;;
12) echo "Link expired" ;;
*) echo "Failed with code $?" ;;
esac
# Download screenshot and get dimensions
RESULT=$(giil "https://share.icloud.com/photos/..." --json)
WIDTH=$(echo "$RESULT" | jq -r '.width')
HEIGHT=$(echo "$RESULT" | jq -r '.height')
PATH=$(echo "$RESULT" | jq -r '.path')
echo "Image: ${WIDTH}x${HEIGHT} at $PATH"
When a user pastes a cloud share link:
User: Can you look at this screenshot? https://share.icloud.com/photos/0a1...
Clawdbot: *Uses giil to download the image*
giil "https://share.icloud.com/photos/0a1..." --json --output /tmp
User: Download all photos from this iCloud album: https://share.icloud.com/photos/...
Clawdbot: *Downloads entire album*
giil "..." --all --json --output ~/Downloads/album
giil "https://share.icloud.com/photos/..." --convert webp --output ~/Downloads
The killer use case - you're helping debug a UI issue remotely:
giil ... --json to download"Auth required" error: The link isn't publicly shared. Owner must enable public access.
Timeout errors: Increase timeout with --timeout 120
Wrong image captured: Run with --debug to see page state. Report issue with debug artifacts.
HEIC issues on Linux: Install libheif-examples package.
~/.cache/giil/ (Playwright, Chromium, node_modules)giil_debug_*.png, giil_debug_*.html)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience