Agent skill

Google Image Search

by glebis in glebis/claude-skills

Search and download images via Google Custom Search API with LLM-powered selection.

MITAuto-check: notesKnowledge Management

Install Google Image Search

skills CLI
$ npx skills add glebis/claude-skills --skill google-image-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glebis/claude-skills google-image-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/google-image-search .claude/skills/google-image-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-image-search
GitHub stars
390
Token cost
~1.4k tokens
SKILL.md length
488 words
Files
11 (incl. scripts, references)
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Search and download images via Google Custom Search API with LLM-powered selection.

  • Works in 4 steps: Simple Query → Batch Processing → Generate Config from Terms → …
  • Tasks that involve Note-taking
  • SKILL.md covers When to Use, Requirements, Modes of Operation and Key Options, plus 5 more sections
  • Runs Python scripts from its folder; calls python3; needs OPENROUTER_API_KEY and OPENROUTER_KEY

What it does

Google Image Search is an agent skill from glebis/claude-skills. Search and download images via Google Custom Search API with LLM-powered selection. This skill should be used when finding images for articles, presentations, research documents, or enriching Obsidian notes with relevant visuals. Supports simple queries, batch processing from JSON config, automatic config generation from terms, and full note enrichment with automatic image insertion below headings.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `.claude-plugin/plugin.json`, `references/api_config_reference.md` and `scripts/api.py`).

It sits in Knowledge Management, covering Note-taking, Data pipelines and ETL and Model routing and gateways. It works with OpenRouter. The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Note-taking
  • Tasks that involve Data pipelines and ETL
  • Tasks that involve Model routing and gateways

Example prompts

  • “/google-image-search”

Requirements

  • Python 3
  • A credential in OPENROUTER_API_KEY
  • A credential in OPENROUTER_KEY

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Simple Query
  2. Batch Processing
  3. Generate Config from Terms
  4. Enrich Obsidian Note

What it can do on your machine

Read from SKILL.md and the folder at commit 3b88261. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 8 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENROUTER_API_KEY
    • OPENROUTER_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google Image Search loads about 1.4k tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 488 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:24
    Store credentials in `.env`:

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from glebis/claude-skills at commit 3b88261, republished under its MIT licence (© glebis). 488 words, ~1,383 tokens.

Download SKILL.mdSave it as .claude/skills/google-image-search/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
google-image-search
description
Search and download images via Google Custom Search API with LLM-powered selection. This skill should be used when finding images for articles, presentations, research documents, or enriching Obsidian notes with relevant visuals. Supports simple queries, batch processing from JSON config, automatic config generation from terms, and full note enrichment with automatic image insertion below headings.

Google Image Search Skill

Search for images using Google Custom Search API with intelligent scoring and LLM-based selection.

When to Use

  • Finding images to illustrate technical articles or research
  • Adding visuals to presentations
  • Enriching Obsidian notes with relevant images
  • Batch image search for multiple topics
  • Generating image search configs from plain text lists

Requirements

  • Google Custom Search API key and Search Engine ID
  • OpenRouter API key (for LLM selection)
  • llm CLI installed at /opt/homebrew/bin/llm

Store credentials in .env:

Google-Custom-Search-JSON-API-KEY=your_key
Google-Custom-Search-CX=your_cx
OPENROUTER-API-KEY=your_openrouter_key

(The OPENROUTER_API_KEY=... spelling works too — see the plugin note below.)

OpenRouter / llm-openrouter caveat

The llm-openrouter plugin only registers its models when it can read a key named OPENROUTER_KEY (env var or llm keys set openrouter). With only OPENROUTER_API_KEY set, llm models list shows zero OpenRouter models and every openrouter/... name fails with Unknown model — the script then silently falls back to keyword scoring. llm_select.py sets both names for the subprocess, so this is handled; if selection ever regresses, check OPENROUTER_KEY first:

bash
llm models list | grep -c openrouter   # 458+ means the plugin registered its models

Modes of Operation

1. Simple Query

Search for a single term:

bash
python3 ~/.claude/skills/google-image-search/scripts/google_image_search.py \
  --query "neural interface wearable device" \
  --output-dir ./images \
  --num-results 5
2. Batch Processing

Process multiple queries from JSON config:

bash
python3 ~/.claude/skills/google-image-search/scripts/google_image_search.py \
  --config image_queries.json \
  --output-dir ./images \
  --llm-select
3. Generate Config from Terms

Create JSON config from a list of terms using LLM:

bash
python3 ~/.claude/skills/google-image-search/scripts/google_image_search.py \
  --generate-config \
  --terms "AlterEgo wearable" "sEMG electrodes" "BCI headset" \
  --output my_queries.json
4. Enrich Obsidian Note

Extract visual terms from note, find images, and insert below headings:

bash
python3 ~/.claude/skills/google-image-search/scripts/google_image_search.py \
  --enrich-note ~/Brains/brain/Research/neural-interfaces.md

This mode:

  1. Detects Obsidian vault and attachments folder
  2. Uses LLM to extract visual-worthy terms from note
  3. Searches for images for each term
  4. Downloads best images to attachments folder
  5. Inserts image embeds below relevant headings
  6. Creates backup before modifying note

Key Options

OptionDescription
--query TEXTSimple single query
--config FILEJSON config for batch
--generate-configGenerate config from --terms
--enrich-note FILEEnrich Obsidian note
--output-dir DIRWhere to save images
--urls-onlyReturn URLs only, no download
--llm-selectUse LLM to pick best image (default: on)
--no-llm-selectDisable LLM selection
--num-results NResults per query (default: 5)
--dry-runShow what would be done
Show full SKILL.md (171 more words)Show less

JSON Config Format

Each entry supports:

json
{
  "id": "unique-id",
  "heading": "Display Heading",
  "description": "Context for what image to find",
  "query": "Google search query",
  "numResults": 5,
  "selectionCriteria": "What makes a good image",
  "requiredTerms": ["must", "have"],
  "optionalTerms": ["bonus", "terms"],
  "excludeTerms": ["stock", "clipart"],
  "preferredHosts": ["official-site.com"],
  "selectionCount": 2
}

See references/api_config_reference.md for full documentation.

Scoring System

Images are scored based on:

  • Required terms: -80 if missing, +30 if all present
  • Optional terms: +5 per match
  • Exclude terms: -50 per match
  • Preferred hosts: +25 if trusted, -5 if unknown
  • MIME type: +5 for PNG/JPEG, -10 for GIF
  • Resolution: +10 for high res, -10 for low res
  • File size: -5 if very small

LLM Selection

After scoring, LLM picks the best image from top candidates based on:

  • Title and URL metadata
  • Scoring reasons
  • Selection criteria

The LLM evaluates authenticity, clarity, and relevance for technical audiences.

Obsidian Integration

When in an Obsidian vault:

  • Auto-detects vault root via .obsidian folder
  • Uses configured attachments folder (default: Attachments)
  • Generates Obsidian-style embeds: ![[image.png|alt text]]
  • Creates backup before modifying notes

Script Files

FilePurpose
google_image_search.pyMain entry point
api.pyGoogle Custom Search API
config.pyCredentials and config handling
download.pyImage download with magic bytes
evaluate.pyKeyword-based scoring
llm_select.pyLLM selection and term extraction
obsidian.pyVault detection and enrichment
output.pyMarkdown output generation

© glebis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references) in google-image-search of glebis/claude-skills.

  • SKILL.md
  • .claude-plugin/plugin.json
  • references/api_config_reference.md
  • scripts/api.py
  • scripts/config.py
  • scripts/download.py
  • scripts/evaluate.py
  • scripts/google_image_search.py
  • scripts/llm_select.py
  • scripts/obsidian.py
  • scripts/output.py

Open the folder on GitHubat commit 3b88261

Compare with similar skills

Google Image Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Image Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Image Search this skillglebis/claude-skills390—~1.4kAutomated safety check: NotesMIT
Pricing Data Pipelinejqknono/coding-plans-for-copilot138—~263Automated safety check: NotesMIT
Decision Model Setupitechmeat/open-second-brain442—~2.1kAutomated safety check: PassMIT
Qmdalsk1992/CloddsBot2.9k3 repos~1.2kAutomated safety check: PassMIT
Freetoken Botslimin112/min-skill412—~1.3kAutomated safety check: PassNone
Add Modelget-convex/convex-evals130—~1.5kAutomated safety check: NotesApache-2.0

Similar skills

  • Pricing Data Pipeline

    jqknono/coding-plans-for-copilot

    更新编码套餐与 OpenRouter 指标/套餐 JSON、修复抓取失败或 pending。Use when: pricing:fetch, metrics:fetch, openrouter:plans:fetch, provider-pricing.json, dashboard 数据过期或 CI 定价 issue。

    138 GitHub stars~263 tokensUpdated yesterday
    Data & AnalyticsAuto-check: notes
  • Decision Model Setup

    itechmeat/open-second-brain

    Sets up, evaluates or turns off Open Second Brain's optional decision-model feature, starting from the o2b decision-model check command and a provider route you choose.

    442 GitHub stars~2.1k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Knowledge ManagementAuto-check passed
  • Freetoken Bots

    limin112/min-skill

    Discover, verify, and maintain zero-priced OpenRouter models for Pi child-agent workflows used by Muse, Grokbot, or Dot.

    412 GitHub stars~1.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Add Model

    get-convex/convex-evals

    Add a new model to the convex-evals coding leaderboard, and optionally the decision benchmark, through a PR, then dispatch its baseline runs.

    130 GitHub stars~1.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Nature Figure

    Tai609/NebulaMat

    Create, revise, audit, and export submission-grade scientific figures for Nature-family and other high-impact venues in Python (matplotlib/seaborn) or R (ggplot2/patchwork/ComplexHeatmap), including…

    100 GitHub stars~1.9k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed

More from glebis/claude-skills

All 92 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    390 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    390 GitHub stars~973 tokensUpdated yesterday
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    390 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    390 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    390 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    390 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Google Image Search

What does Google Image Search do?

Search and download images via Google Custom Search API with LLM-powered selection. Google Image Search is an agent skill from glebis/claude-skills. Search and download images via Google Custom Search API with LLM-powered selection.

When should I use Google Image Search?

Google Image Search fits situations like: tasks that involve Note-taking; tasks that involve Data pipelines and ETL; tasks that involve Model routing and gateways.

How do I install Google Image Search in Claude Code?

Run `npx skills add glebis/claude-skills --skill google-image-search -a claude-code`. Or copy the skill folder (google-image-search in glebis/claude-skills) into .claude/skills/google-image-search in your project. Claude Code loads it when a task matches its description.

How do I install Google Image Search in Codex?

Run `npx skills add glebis/claude-skills --skill google-image-search -a codex`. Or copy the skill folder (google-image-search in glebis/claude-skills) into .agents/skills/google-image-search in your project. Codex loads it when a task matches its description.

Can I use Google Image Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glebis/claude-skills --skill google-image-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-image-search, .gemini/skills/google-image-search, .github/skills/google-image-search and .opencode/skills/google-image-search in your project.

What does Google Image Search need to run?

Going by SKILL.md and its folder, Google Image Search needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named OPENROUTER_API_KEY and OPENROUTER_KEY. Our summary lists: Python 3; A credential in OPENROUTER_API_KEY; A credential in OPENROUTER_KEY.

Does Google Image Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Google Image Search safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Google Image Search use?

Google Image Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google Image Search use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 968 tokens, read only when the agent opens those files.

What are the alternatives to Google Image Search?

Skills that share tags, products or a category with Google Image Search: Pricing Data Pipeline (jqknono/coding-plans-for-copilot, 138 stars), Decision Model Setup (itechmeat/open-second-brain, 442 stars), Qmd (alsk1992/CloddsBot, 2.9k stars) and Freetoken Bots (limin112/min-skill, 412 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Image Search?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 390 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 8, 2026.

Source: glebis/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.