unsplash-cli
Skill215 starsChanged 3 months agoMITView on GitHub
Searches and downloads free Unsplash photos via the cli-web-unsplash command-line tool — keyword search with orientation/color filters, photo details (EXIF, location, tags), downloads, random photos, topics, collections, and photographer profiles. Use when the user asks about Unsplash, free stock photos, or wants to find or download images by keyword, orientation, or color. Prefer this CLI over fetching the Unsplash website. No authentication required.
- Installs packages
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- airbnb-cliSkill
- amazon-cliSkill
- booking-cliSkill
- capitoltrades-cliSkill
- chatgpt-cliSkill
- codewiki-cliSkill
- futbin-cliSkill
- gai-cliSkill
- gh-trending-cliSkill
- hackernews-cliSkill
- linkedin-cliSkill
- notebooklm-cliSkill
- pexels-cliSkill
- producthunt-cliSkill
- reddit-cliSkill
- stitch-cliSkill
- sync-checkSkill
- tripadvisor-cliSkill
- worldcup-cliSkill
- youtube-cliSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Search, explore, and download Unsplash photos (read-only, no auth).
- Very specific: line 46
Every command accepts --json and returns the data directly (search: {"total", "total_pages", "results": [...]}.
- Very specific: line 55
Use urls.regular for web-quality embeds and urls.raw for full resolution.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cli-web-unsplash
Search, explore, and download Unsplash photos (read-only, no auth).
Install: pip install cli-web-unsplash, then run python -m camoufox fetch once.
Commands
| Command | Purpose | Key options |
photos search QUERY | Search photos | --orientation landscape|portrait|squarish, --color, --order-by relevant|latest, --page, --per-page (max 30) |
photos get PHOTO_ID | Full details: EXIF, location, tags, URLs | ID or slug |
photos random | Random photo(s) | --query, --orientation, --count N (max 30) |
photos download PHOTO_ID | Download to disk | --size raw|full|regular|small|thumb, -o/--output PATH |
photos stats PHOTO_ID | Views and downloads | |
topics list / topics get SLUG / topics photos SLUG | Browse curated topics | --page, --per-page, --order-by |
collections search QUERY / collections get ID / collections photos ID | Browse collections | --page, --per-page |
users search QUERY / users get USERNAME / users photos USERNAME / users collections USERNAME | Photographer profiles and portfolios | --page, --per-page, --order-by (photos: latest|oldest|popular|views|downloads) |
Examples
# Search with filters (returns total, total_pages, results[] with id, likes, author, url)
cli-web-unsplash photos search "sunset" --orientation landscape --color orange --per-page 10 --json
# Photo details (EXIF, location, tags)
cli-web-unsplash photos get SyfvrXRy28Y --json
# Random nature photos
cli-web-unsplash photos random --query "nature" --count 3 --json
# Search then download the top hit
ID=$(cli-web-unsplash photos search "sunset beach" --per-page 1 --json | jq -r '.results[0].id')
cli-web-unsplash photos download "$ID" --size regular -o sunset.jpg
# A photographer's most popular photos
cli-web-unsplash users photos unsplash --order-by popular --per-page 5 --jsonJSON output
Every command accepts --json and returns the data directly (search: {"total", "total_pages", "results": [...]}; download: {"photo_id", "size", "file", "bytes"}). Errors return {"error": true, "code": "...", "message": "..."}.
Utilities
cli-web-unsplash doctor [--json] self-diagnoses the local setup (install, auth, dependencies). cli-web-unsplash mcp-serve serves the commands as MCP tools over stdio.
Agent tips
- Some results have
premium: true(Unsplash+ only) — skip those when the user wants freely usable images. - Use
urls.regularfor web-quality embeds andurls.rawfor full resolution.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

