bing-keyword-image-downloader

当用户需要按关键词从 Bing 公开图片搜索结果中批量下载图片时使用。遇到类似“帮我从 Bing 按关键词下载 10 张图片”“批量抓取 Bing 图片”“按关键词保存 Bing 图片到本地”这类请求时,应主动使用这个 skill。它专门处理基于关键词的 Bing 图片搜索、分页收集候选链接、跳过失败源站并保存到本地目录的工作流。

3,891 stars

Best use case

bing-keyword-image-downloader is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

当用户需要按关键词从 Bing 公开图片搜索结果中批量下载图片时使用。遇到类似“帮我从 Bing 按关键词下载 10 张图片”“批量抓取 Bing 图片”“按关键词保存 Bing 图片到本地”这类请求时,应主动使用这个 skill。它专门处理基于关键词的 Bing 图片搜索、分页收集候选链接、跳过失败源站并保存到本地目录的工作流。

Teams using bing-keyword-image-downloader should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/bing-keyword-image-downloader/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/16miku/bing-keyword-image-downloader/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/bing-keyword-image-downloader/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How bing-keyword-image-downloader Compares

Feature / Agentbing-keyword-image-downloaderStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

当用户需要按关键词从 Bing 公开图片搜索结果中批量下载图片时使用。遇到类似“帮我从 Bing 按关键词下载 10 张图片”“批量抓取 Bing 图片”“按关键词保存 Bing 图片到本地”这类请求时,应主动使用这个 skill。它专门处理基于关键词的 Bing 图片搜索、分页收集候选链接、跳过失败源站并保存到本地目录的工作流。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Bing 关键词图片批量下载

这个 skill 用于复用当前目录中的 `scripts/bing_image_downloader.py` 脚本,让其他 agent 能稳定完成“按关键词从 Bing 公开图片结果中批量下载图片”的任务。

## 何时使用
当用户明确提出以下类型需求时,优先使用本 skill:
- 按关键词从 Bing 图片搜索下载若干图片
- 想保存 10、50、100 张 Bing 搜索图片到本地
- 想通过分页抓取更多 Bing 图片候选链接
- 想复用现成脚本完成 Bing 图片批量下载任务

如果用户要的是:
- 其他搜索引擎图片下载
- 图像识别、去重、分类
- 非关键词方式(例如固定页面 URL)

则这个 skill 不是最佳选择。

## 依赖文件
- 主脚本:`scripts/bing_image_downloader.py`
- 测试文件:`tests/test_bing_image_downloader.py`

## 工作流程
按下面顺序执行:

1. 读取用户需求中的关键词、目标数量、页数。
2. 如果用户没给页数,按下面经验值选择:
   - 10 张:`--pages 3`
   - 50 张:`--pages 5`
   - 100 张:`--pages 10`
3. 使用 `uv run --with requests python` 运行脚本。
4. 检查输出中:
   - 成功下载数量
   - 候选链接数量
   - 失败原因(常见为 403、SSL、超时)
5. 向用户汇报:
   - 实际保存目录
   - 成功数量
   - 是否达到目标数量
   - 如未达标,说明通常是第三方源站拒绝访问而非脚本崩溃

## 推荐命令模板

### 下载 10 张
```bash
uv run --with requests python "scripts/bing_image_downloader.py" "cat" --limit 10 --pages 3
```

### 下载 50 张
```bash
uv run --with requests python "scripts/bing_image_downloader.py" "cat" --limit 50 --pages 5
```

### 下载 100 张
```bash
uv run --with requests python "scripts/bing_image_downloader.py" "cat" --limit 100 --pages 10
```

## 参数映射规则
- 用户说“下载 10 张” → `--limit 10`
- 用户说“下载 50 张” → `--limit 50`
- 用户说“下载 100 张” → `--limit 100`
- 用户没说页数时,按上面的推荐默认值设置 `--pages`
- 用户明确给出页数时,尊重用户输入

## 输出说明
脚本会把结果保存到:
```text
downloads/<关键词>/
```

例如关键词 `cat` 会保存到:
```text
downloads/cat/
```

文件名按顺序编号,例如:
- `001.jpg`
- `002.jpg`
- `003.png`

## 常见问题解释
### 为什么会出现下载失败?
因为 Bing 页面里的原图通常来自第三方网站,不是都由 Bing 自己托管。第三方站点可能拒绝脚本访问,常见错误:
- `403 Forbidden`
- SSL 证书错误
- 连接超时
- 404 Not Found

### 为什么加大 `--pages` 后下载数量会提高?
因为脚本会抓更多结果页,收集更大的候选链接池。即使其中一部分链接失效,仍然可以用后面的候选补位。

## 给用户的汇报模板
完成后可按下面结构回复用户:

```text
已执行 Bing 图片批量下载。
- 关键词:<关键词>
- 目标数量:<limit>
- 抓取页数:<pages>
- 候选链接数:<候选数量>
- 实际成功下载:<成功数量>
- 保存目录:downloads/<关键词>/

如果存在失败链接,通常是第三方图片源拒绝访问,不影响脚本继续补充后续候选。
```

## 注意事项
- 这是一个“按关键词下载 Bing 公开图片”的专用 skill,不要扩展解释成通用全网图片下载器。
- 优先复用现有脚本,不要重复手写新下载器,除非用户明确要求修改或升级脚本。
- 当用户要求“提高下载数量”时,优先建议增加 `--pages`,而不是先改成并发下载。

Related Skills

Plumbing Business Operations

3891
from openclaw/skills

<version>1.0.0</version>

Business Operations

alphashop-image

3891
from openclaw/skills

AlphaShop(遨虾)图像处理 API 工具集。支持11个接口:图片翻译、图片翻译PRO、 图片高清放大、图片主题抠图、图片元素识别、图片元素智能消除、图像裁剪、 虚拟试衣(创建+查询)、模特换肤(创建+查询)。 触发场景:图片翻译、翻译图片文字、放大图片、高清放大、抠图、去背景、 检测水印/Logo/文字、消除水印、去牛皮癣、裁剪图片、虚拟试衣、AI试衣、 模特换肤、换模特、AlphaShop图像、遨虾图片处理。

Image Processing & Analysis

image-gen

3891
from openclaw/skills

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Content & Documentation

zhipu-free-image-video

3891
from openclaw/skills

智谱免费图片与视频生成技能。适用于用户想用智谱生成图片、批量出图、生成短视频、查询视频任务结果、等待视频完成,或优先使用免费/低成本模型快速产出创意内容时。

doubao-image-video

3891
from openclaw/skills

豆包图片与视频生成原生技能。适用于用户提到豆包、文生图、图生图、文生视频、图生视频、查询视频生成任务、等待任务完成或下载最终视频时,直接调用火山引擎 Ark 接口,不依赖外部 MCP 服务。

image-text-extractor

3891
from openclaw/skills

批量识别图片中的文字内容并按图片分段输出为结构化文档;当用户需要从多张图片中提取文字、整理图片文字内容、将图片文字转为可编辑文档时使用

aws-wechat-article-images

3891
from openclaw/skills

为公众号文章生成封面图和正文配图,根据文章内容自动匹配风格。当用户提到「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」时使用。

radiology-image-quiz

3891
from openclaw/skills

Use when creating radiology educational quizzes, preparing board exam questions, or studying medical imaging cases. Generates interactive quizzes with X-ray, CT, MRI, and ultrasound images for medical education.

Krea AI — Image, Video & Enhancement Generation

3891
from openclaw/skills

Generate images, videos, upscale/enhance images, and train LoRA styles using the Krea.ai API. Supports 20+ image models (Flux, Imagen, GPT Image, Ideogram, Seedream...), 7 video models (Kling, Veo, Hailuo, Wan), and 3 upscalers (Topaz up to 22K).

minimax-imagegen

3891
from openclaw/skills

Expert image generation skill using MiniMax image-01. Use this skill ANY TIME the user asks to create, generate, make, or produce an image, visual, graphic, banner, illustration, icon, screenshot mockup, hero image, thumbnail, social media asset, app icon, website visual, or any other image — even if they just say "make me a picture of X." This skill should also trigger when the user asks to improve or iterate on a previous image prompt, or when image output would enhance a task (e.g., "I need a hero image for my blog post"). Covers all use cases: website assets for tonyreviewsthings.com and tonysimons.dev, app/software media, marketing visuals, social media content, UI mockups, character/portrait generation, and general creative requests.

instagram-reel-downloader-whatsapp

3891
from openclaw/skills

Download an Instagram Reel via sssinstagram.com and return it as a WhatsApp-ready video file. Use when a reel URL is provided and yt-dlp is blocked or not preferred.

image-to-editable-ppt-slide

3891
from openclaw/skills

Rebuild one or more reference images as visually matching editable PowerPoint slides using native shapes, text, fills, and layout instead of a flat screenshot. Use when the user wants an image, flowchart, infographic, dashboard, process diagram, or designed slide converted into an editable PPT/PPTX deck that stays editable and closely matches the source.