Install
$ agentstack add skill-clearsmog-claude-skills-image-search ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Parse $ARGUMENTS into flags for the bundled script and run it in one Bash call. The script handles search, download, filename generation, and Typst code output.
Flags: query (positional), --logo, --stock, --url , -d dir, -o output, -n count, --size, --type, --width, --caption "..."
Pass --typst when generating images for Typst documents (the typical case). If --output/-o is not given, omit it (script auto-generates from query + dir).
Run exactly one command:
SERPAPI_KEY="$SERPAPI_KEY" uv run --script {baseDir}/scripts/image_search.py "" --typst [other flags...]
If SERPAPIKEY is empty in this shell, read it directly from fish universal variables (avoids shell greeting pollution): ` printf '%b' "$(sed -n 's/.*SERPAPIKEY://p' ~/.config/fish/fish_variables)" `.
For --stock mode, also forward Unsplash/Pexels keys if available:
SERPAPI_KEY="$SERPAPI_KEY" UNSPLASH_ACCESS_KEY="$UNSPLASH_ACCESS_KEY" PEXELS_API_KEY="$PEXELS_API_KEY" uv run --script {baseDir}/scripts/image_search.py "" --stock --typst [other flags...]
Print the script's stdout to the user. Done.
Modes
| Mode | Flag | Behavior | |------|------|----------| | Image search (default) | none | SerpAPI -> DuckDuckGo fallback -> download best match | | Logo lookup | --logo | Logo.dev -> image search fallback | | Stock photos | --stock | Unsplash -> Pexels -> image search fallback (license-clear) | | Direct URL | --url | Download image directly from URL |
Environment
Zero API keys required — works via DuckDuckGo by default. Each key unlocks a better tier:
| Key | Purpose | |-----|---------| | SERPAPI_KEY | Google Images (best quality) | | UNSPLASH_ACCESS_KEY | Stock photos via Unsplash | | PEXELS_API_KEY | Stock photos via Pexels |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: clearsmog
- Source: clearsmog/claude-skills
- License: MIT
- Homepage: https://github.com/clearsmog/claude-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.