image-search

image-search is a skill for Claude Code from z0gSh1u/oh-my-writing-skill. It costs 53 tokens per session (998 once invoked), scanned A, original, MIT.

An online image-search tool that finds pictures and returns their links, sources, sizes, and other details. It can filter results by dimensions, colour, type, layout, and licence, and can download selected images.

In plain words
What is it for?
Use it to find photos, illustrations, GIFs, transparent images, or line art for a topic, then optionally download them and save the search results as JSON.
Why use it?
It reduces the work of finding suitable images and checking basic usage filters. Results are returned in structured form for use in content workflows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the oh-my-writing-skill plugin — 9 skills shipped together

Good fit Use it to find photos, illustrations, GIFs, transparent images, or line art for a topic, then optionally download them and save the search results as JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/z0gsh1u/oh-my-writing-skill/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 z0gSh1u/oh-my-writing-skill --skill image-search
Clone the repo
git clone --depth 1 https://github.com/z0gSh1u/oh-my-writing-skill

Made for: Claude Code.

Or install oh-my-writing-skill, the plugin that ships this one along with the rest of its 9 skills.

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/z0gsh1u/oh-my-writing-skill/image-search/github.svg)](https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/image-search)
Your own site
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/image-search"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/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/z0gsh1u/oh-my-writing-skill/image-search"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/image-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 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.00053 $0.00998
Opus 5 $0.00026 $0.00499
Sonnet 5 $0.00011 $0.00200
Haiku 4.5 $0.00005 $0.00100

Measured 12d ago against content hash 66dadbc5e465, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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.

skills/image-search/SKILL.md · 125 lines

What it actually says

图片搜索 Skill

你是一个专业的图片素材搜索助手,负责为内容创作查找合适的配图。

核心能力

  1. 多维度过滤:按尺寸、颜色、类型(照片/插画/GIF)筛选
  2. 版权筛选:支持按授权类型过滤图片
  3. 自动下载:可将图片下载到本地目录
  4. 结构化输出:返回图片元数据便于后续处理

使用方式

步骤 1:运行搜索脚本

python scripts/image_search.py "搜索关键词" --max_results 10 --size Large

参数说明:

  • query:搜索关键词(必填)
  • --max_results:返回的最大图片数(默认 10)
  • --size:图片尺寸,可选 SmallMediumLargeWallpaper
  • --color:颜色过滤,如 RedBlueGreenMonochrome
  • --type:图片类型,可选 photoclipartgiftransparentline
  • --layout:布局,可选 SquareTallWide
  • --license:版权过滤,如 anyPublicShareModify
  • --region:搜索区域(默认 zh-cn
  • --download:下载图片到指定目录
  • --output:输出 JSON 文件路径

步骤 2:查看搜索结果

脚本会输出 JSON 格式的结果:

{
  "query": "科技插图",
  "timestamp": "2026-01-21T10:30:00",
  "total_results": 10,
  "results": [
    {
      "title": "科技未来城市插图",
      "image": "https://example.com/image.jpg",
      "thumbnail": "https://example.com/thumb.jpg",
      "url": "https://example.com/page",
      "source": "example.com",
      "width": 1920,
      "height": 1080,
      "local_path": "./images/image_001.jpg"
    }
  ]
}

步骤 3:下载图片(可选)

使用 --download 参数自动下载图片到本地:

python scripts/image_search.py "风景摄影" --download ./images --max_results 5

下载的图片会按顺序命名:image_001.jpgimage_002.png 等。

搜索策略

关键词优化

对于内容配图,建议使用描述性关键词:

  • ❌ "AI" → 结果太泛
  • ✅ "AI 机器人 未来科技 插图" → 更精准

尺寸选择建议

用途 推荐尺寸
文章头图 Large / Wallpaper
正文配图 Medium / Large
缩略图 Small / Medium
横幅 Banner Wide + Large

颜色搭配

根据文章主题选择配色:

  • 科技类:Blue、Monochrome
  • 自然类:Green
  • 警示类:Red、Orange
  • 简约风:Monochrome

与图片处理 Skill 配合

搜索到图片后,可以使用 图片处理 Skill 进行:

  • 添加文字标注
  • 插入配文(底部边框/内部贴纸)
  • 调整尺寸

注意事项

  1. 网络要求:需要能够访问 DuckDuckGo 图片搜索服务
  2. 版权合规:下载图片前请确认版权许可,商业用途需特别注意
  3. 下载限流:自动下载会有适当延迟,避免触发限制
  4. 图片有效性:部分图片 URL 可能失效,脚本会自动跳过并报告
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. 12d ago First seen · 125 lines · 53 tokens per session scan A 66dadbc5e465

Subscribe to this mod's changes

image-search is a skill published in the GitHub repository z0gSh1u/oh-my-writing-skill (33 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 998 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens