Image well

From tdimino/claude-code-minoan · View interactive version

Image well is an AI agent skill from the GitHub repository tdimino/claude-code-minoan. Search and download images from 15 APIs in parallel (Openverse, Pexels, Pixabay, Met Museum, Cleveland Museum, Art Institute of Chicago, Getty Museum, NASA, Rijksmuseum, Wikimedia Commons, Unsplash, Smithsonian, Europeana, Iconify, Pollinations AI). Supports license filtering, presets (military, mus

How to use this skill

Skill file

Image Well

Search and download images from 15 sources through a single CLI. Seven sources work with zero API keys (Openverse, Wikimedia, Met Museum, Cleveland Museum, Art Institute of Chicago, Getty Museum, NASA). Additional sources activate when keys are set.

Quick Start

# Search across all no-key sources
uv run ~/.claude/skills/image-well/scripts/well.py search "ancient Minoan fresco"

# Use a preset for domain-specific searches
uv run ~/.claude/skills/image-well/scripts/well.py search "F-35 fighter jet" --preset military

# Download results with metadata sidecars
uv run ~/.claude/skills/image-well/scripts/well.py search "sunset" --format download --output ./images/

# Check which sources are available
uv run ~/.claude/skills/image-well/scripts/well.py sources

# Visual HTML preview — opens in browser, no context pollution
uv run ~/.claude/skills/image-well/scripts/well.py search "bronze statue" --format html

# Output as JSON for piping
uv run ~/.claude/skills/image-well/scripts/well.py search "cat" --format json

Sources

| Tier | Source | Key Required | License |

|------|--------|-------------|---------|

| 1 | Openverse (800M+) | No | CC variants |

| 1 | Wikimedia Commons | No | CC variants |

| 1 | Met Museum (375k) | No | CC0 |

| 1 | Cleveland Museum (37k) | No | CC0 |

| 1 | Art Inst. Chicago (60k+) | No | Public Domain |

| 1 | Getty Museum (Open Content) | No | CC0 |

| 1 | NASA (140k) | No | Public Domain |

| 2 | Pexels | PEXELS_API_KEY | Pexels License |

| 2 | Pixabay | PIXABAY_API_KEY | Pixabay License |

| 2 | Rijksmuseum (700k) | RIJKSMUSEUM_API_KEY | CC0 |

| 2 | Unsplash | UNSPLASH_ACCESS_KEY | Unsplash License |

| 3 | Smithsonian | No | CC0 |

| 3 | Europeana (50M+) | EUROPEANA_API_KEY | Mixed |

| 3 | Iconify (275k icons) | No | Various |

| 3 | Pollinations AI | No | Free Use (AI gen) |

Add Tier 2 keys to ~/.config/env/secrets.env for expanded coverage.

Source notes:

Museum Collections on Wikimedia Commons

Some museums have no usable API but mass-uploaded their images to Wikimedia Commons. Search them through the existing wikimedia source with a category-scoped query:

| Museum | Commons Files | Example |

|--------|--------------|---------|

| Walters Art Museum | ~18,600 | incategory:"Media contributed by the Walters Art Museum" scarab |

The Walters v1 API closed in 2023 and the whole thewalters.org domain (including its image CDN) sits behind Cloudflare bot protection — Commons is the only programmatic path. Note the 2012 Walters upload was recorded as CC BY-SA 3.0 (many files also carry a Public Domain Mark); keep the per-file license Commons reports rather than assuming CC0.

Presets

| Preset | Sources | Use Case |

|--------|---------|----------|

| military | nasa, wikimedia, smithsonian | Defense/military imagery |

| museum | met, cleveland, artic, getty, rijksmuseum, smithsonian | Art, antiquities, historical |

| texture | wikimedia, pollinations | Game dev, 3D materials |

| stock | pexels, pixabay, unsplash | Editorial photography |

| all-free | openverse, wikimedia, met, cleveland, artic, getty, nasa, smithsonian | All no-key sources |

Options

--sources NAME [...]    Specific sources to search
--preset NAME           Use a preset group
--limit N               Max results per source (default: 10)
--license LICENSE       Filter: cc0, cc-by, cc-by-sa, any
--format FORMAT         table, json, download, urls, html, tunnel
--output DIR            Download directory (default: ./well-images/)
--no-cache              Skip result cache
--timeout N             Per-source timeout in seconds (default: 15)
--quiet                 Suppress progress output

Workflows

Source images for a project

# Search, review in table, then download the good ones
uv run well.py search "Mediterranean landscape" --preset stock --format json > results.json
# Review results.json, then download specific URLs

Build an image corpus

# Download CC0 images for a research project
uv run well.py search "Bronze Age pottery" --preset museum --license cc0 --format download --output ./corpus/

Pipe to image-forge for processing

# Search, download, then resize with image-forge
uv run well.py search "sunset" --format download --output ./raw/
# Then use image-forge skill to process downloaded images

Cache

Results are cached for 24 hours at ~/.cache/image-well/.

uv run well.py cache stats    # Show cache size
uv run well.py cache clear    # Clear all cached results
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.