image-search

image-search is a skill for Claude Code from clearsmog/claude-skills. It costs 42 tokens per session (617 once invoked), scanned A, original, MIT.

A web image-search tool that finds and downloads existing photos, logos, and graphics, then produces code for embedding them in Typst documents. Typst is a markup-based tool for creating formatted documents.

In plain words
What is it for?
Use it to search by topic, find logos or stock images, download a chosen number of results, set image options and captions, and generate Typst embedding code.
Why use it?
It avoids manually searching for suitable images, downloading them, naming files, and writing the document-embedding code separately.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to search by topic, find logos or stock images, download a chosen number of results, set image options and captions, and generate Typst embedding code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/image-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add clearsmog/claude-skills --skill image-search
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/clearsmog/claude-skills/image-search/github.svg)](https://agentmods.dev/skills/clearsmog/claude-skills/image-search)
Your own site
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/image-search"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/image-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/image-search"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/image-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00617
Opus 5 $0.00021 $0.00309
Sonnet 5 $0.00008 $0.00123
Haiku 4.5 $0.00004 $0.00062

Measured 11d ago against content hash 2c885892e0b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

image-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image_search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

image-search/SKILL.md · 47 lines

What it actually says

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 <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 "<query>" --typst [other flags...]

If SERPAPI_KEY is empty in this shell, read it directly from fish universal variables (avoids shell greeting pollution): `printf '%b' "$(sed -n 's/.*SERPAPI_KEY://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 "<query>" --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 <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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 47 lines · 42 tokens per session scan A 2c885892e0b6

Subscribe to this mod's changes

image-search is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 617 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

replicate-runner

Use when run AI models on Replicate cloud API. Deploy image generation, video creation, audio processing, and custom models without managing infrastructure. Use when working with replicate runner.

oyi77/1ai-skills · 40 tokens

pptx-posters

Create research posters using HTML/CSS that can be exported to PDF or PPTX. Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format. For standard research posters, use latex-posters instead. This skill provides modern web-based poster design with responsive layouts and easy visual…

foryourhealth111-pixel/Vibe-Skills · 66 tokens

aws-wechat-article-assets

A local library for storing business descriptions, product images, and reusable writing or design presets for WeChat articles. It organizes these materials by product so other article tools can reuse them.

aiworkskills/wechat-article-skills · 258 tokens

utility-slideshow-creator

Generates professional presentations from a JSON deck specification using 18 slide types with dark/light variants, content-to-layout decision logic, and calibrated character limits. Ships with a default professional theme.

product-on-purpose/pm-skills · 43 tokens

release-sync

Syncs latest release content to NotebookLM and HQ Knowledge Base after version tagging. Reads CHANGELOG, CLAUDE.md, and hook README, updates notebook sources, and ingests release digest. Optionally generates podcast from updated knowledge base. Use after tagging a new version to propagate release knowledge.

yonatangross/orchestkit · 62 tokens

guizang-ppt-skill

A tool that creates slide-deck images from content by first making an outline and then rendering each slide. It supports multiple visual styles and is designed for decks people can read and share.

op7418/guizang-ppt-skill · 176 tokens