Download full-resolution images from iCloud, Dropbox, Google Photos share links. Use when extracting images from cloud share URLs, remote debugging with screenshots, or downloading shared photo albums.

GitHub
安装命令
npx skhub add dicklesworthstone/giil
Markdown
SKILL.md
<!-- TOC: Quick Start | THE EXACT PROMPT | Supported Platforms | Output Modes | References -->

GIIL — Get Image [from] Internet Link

Core Capability: Zero-setup CLI that downloads full-resolution images from cloud photo shares. The missing link between iPhone screenshots and remote AI coding sessions.

Quick Start

# Install
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/giil/main/install.sh?v=3.0.0" | bash

# Download single image
giil "https://share.icloud.com/photos/02cD9okNHvVd-uuDnPCH3ZEEA"

# JSON output (best for AI workflows)
giil "https://share.icloud.com/photos/..." --json

# Download entire album
giil "https://share.icloud.com/photos/..." --all --output ~/album

Note: First run downloads Playwright Chromium (~200MB, cached in ~/.cache/giil/).


THE EXACT PROMPT — Remote AI Debugging Workflow

iPhone Screenshot → iCloud Sync → Photos.app Share Link → Paste to SSH → giil Downloads → AI Analyzes
# Get image for AI analysis
IMAGE_PATH=$(giil "https://share.icloud.com/photos/XXX" --output /tmp 2>/dev/null)
# AI can now read the image at $IMAGE_PATH

THE EXACT PROMPT — Output Modes

# Default: file path to stdout
giil "https://share.icloud.com/photos/XXX"
# stdout: /current/dir/icloud_20240115_143245.jpg

# JSON mode (best for programmatic use)
giil "..." --json
# {"ok": true, "path": "/absolute/path/...", "width": 4032, "height": 3024}

# Base64 mode (no file saved)
giil "..." --base64 | base64 -d > image.jpg

# URL-only mode (get CDN URL without downloading)
giil "..." --print-url

Supported Platforms

PlatformURL PatternsBrowser Required
iCloudshare.icloud.com/photos/*Yes
Dropboxdropbox.com/s/*, dropbox.com/scl/fi/*No (fast)
Google Photosphotos.app.goo.gl/*, photos.google.com/share/*Yes
Google Drivedrive.google.com/file/d/*Yes

Dropbox Fast Path: Direct curl download, 1-2 seconds, no browser overhead.


Essential Options

FlagDescription
--output DIROutput directory (default: .)
--jsonOutput JSON metadata
--allDownload all photos from album
--preserveKeep original bytes (skip compression)
--convert FMTConvert to: jpeg, png, webp
--quality NJPEG quality 1-100 (default: 85)
--base64Output base64 to stdout
--timeout NPage load timeout in seconds (default: 60)
--debugSave debug artifacts on failure

Exit Codes

CodeMeaning
0Success
10Network error
11Auth required (link not public)
12Not found (expired/deleted)
13Unsupported type (video, doc)

References

TopicReference
Full command referenceCOMMANDS.md
Four-tier capture strategyCAPTURE-STRATEGY.md
TroubleshootingTROUBLESHOOTING.md
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

NOASSERTION

源路径

skills/giil

默认分支

main

最新提交

4d33244

Tree SHA

535bc82