← 返回 Skills 市场
367
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install wallhaven-downloader
功能描述
Download wallpapers in batch from wallhaven.cc via API v1 with flexible query parameters (q, categories, purity, sorting, order, topRange, atleast, resolutio...
安全使用建议
This skill appears to do exactly what it claims. Before installing, confirm you trust the publisher and accept that the script will: (1) make network requests to wallhaven.cc and w.wallhaven.cc, (2) spawn curl processes, and (3) write image files and manifest.json to the output directory you provide. Do not pass secrets other than your Wallhaven API key, and avoid using a key if you do not want to retrieve NSFW/private content. Because the script runs locally and is included in the package, you can inspect the provided scripts (they are included) before running. If you want extra assurance, run the script in an isolated environment or review the subprocess usage (it calls curl via a safe list-style invocation, not shell execution).
功能分析
Type: OpenClaw Skill
Name: wallhaven-downloader
Version: 0.1.3
The skill is designed to download wallpapers from Wallhaven.cc and demonstrates strong security awareness. The `scripts/wallhaven_download.py` file includes robust validation functions (`validate_base_url`, `validate_image_url`, `_is_private_or_local_host`) to prevent Server-Side Request Forgery (SSRF) by strictly enforcing HTTPS and restricting all network requests to `wallhaven.cc` or `w.wallhaven.cc` hosts, explicitly rejecting private/local IP addresses. It uses `subprocess.run` with a list of arguments for `curl`, mitigating shell injection risks. There is no evidence of data exfiltration, persistence, or malicious prompt injection in `SKILL.md`.
能力评估
Purpose & Capability
Name/description match required env var and behavior: the script downloads wallpapers from wallhaven.cc using the Wallhaven API and optionally an API key for NSFW/private results. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the script stay within the stated purpose: they build API queries, paginate, validate image URLs, download images, and write a manifest. The instructions do not tell the agent to read other files or exfiltrate unrelated data. The script validates hosts and blocks non-HTTPS and private/local addresses.
Install Mechanism
There is no install spec (instruction-only skill) and the included Python script is self-contained. The script uses subprocess calls to curl to perform HTTP requests rather than embedding an HTTP library; this is normal and proportionate for the task.
Credentials
Only WALLHAVEN_API_KEY is declared/used, which is appropriate because the API key is required for NSFW/private queries. The SKILL.md warns against hardcoding keys and the script reads the key only from the --apikey parameter or WALLHAVEN_API_KEY.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. It writes output only to the user-specified output directory and a manifest there.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wallhaven-downloader - 安装完成后,直接呼叫该 Skill 的名称或使用
/wallhaven-downloader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Security hardening: enforce host allowlist (wallhaven API + image CDN), require HTTPS, block local/private address targets, keep API key redacted in manifest.
v0.1.2
Metadata alignment fix: declare WALLHAVEN_API_KEY under clawdbot.requires.env to match scanner expectations.
v0.1.1
Security/metadata fix: redact apikey in manifest, declare curl/python3 command dependency and WALLHAVEN_API_KEY env usage.
v0.1.0
Initial release: batch wallhaven downloads with pagination, flexible API params, and --search-url parsing.
元数据
常见问题
Wallhaven Downloader 是什么?
Download wallpapers in batch from wallhaven.cc via API v1 with flexible query parameters (q, categories, purity, sorting, order, topRange, atleast, resolutio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 367 次。
如何安装 Wallhaven Downloader?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wallhaven-downloader」即可一键安装,无需额外配置。
Wallhaven Downloader 是免费的吗?
是的,Wallhaven Downloader 完全免费(开源免费),可自由下载、安装和使用。
Wallhaven Downloader 支持哪些平台?
Wallhaven Downloader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wallhaven Downloader?
由 jingyuan(@jingyuan9527)开发并维护,当前版本 v0.1.3。
推荐 Skills