← 返回 Skills 市场
dlazyai

Search Online Assets

作者 dlazy · GitHub ↗ · v1.0.9 · MIT-0
cross-platform ✓ 安全检测通过
146
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install search-online-assets
功能描述
Online asset search tool: queries public stock libraries (Pixabay) for high-quality photos, illustrations, vectors and videos, returning result metadata and...
使用说明 (SKILL.md)

search-online-assets

English · 中文

Online asset search tool: queries public stock libraries (Pixabay) for high-quality photos, illustrations, vectors and videos, and returns result metadata + URLs for use in the current workflow.

Trigger Keywords

  • search-online-assets
  • pixabay
  • online asset search

Authentication

All requests require a dLazy API key, configured through the CLI:

dlazy auth set YOUR_API_KEY

The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.

Getting Your API Key

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. Copy the key shown in the API Key section

Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.

About & Provenance

You can install on demand without persisting a global binary by running:

npx @dlazy/[email protected] \x3Ccommand>

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/[email protected]). Review the GitHub source before installing.

How It Works

This skill is a thin wrapper around the public Pixabay search API, exposed through the dLazy tool runtime. When you invoke it:

  • The query and filter parameters you provide are forwarded to the Pixabay API.
  • Pixabay returns a list of hits; the tool projects each entry to a stable shape (id, tags, preview / web-format / large URLs, dimensions).
  • The skill itself does not access network or filesystem resources beyond the Pixabay HTTP request handled inside the dLazy tool runtime.

This is the standard SaaS pattern; the asset URLs returned are hosted by Pixabay (pixabay.com), not by dLazy. See dlazy.com for the full service terms.

Usage

CRITICAL INSTRUCTION FOR AGENT: Invoke the search-online-assets tool with a structured input object. This is an internal AI tool, not a CLI command — it runs inside the model's tool-call channel.

Input schema:

{
  query: string;                                            // required search keyword(s); prefer English for better recall
  imageType?: "all" | "photo" | "illustration" | "vector";  // default: "all"
  orientation?: "all" | "horizontal" | "vertical";          // default: "all"
  page?: number;                                            // default: 1
  perPage?: number;                                         // default: 10 (max 200 per Pixabay)
  lang?: string;                                            // default: "zh"; pass "en" for English-tagged matches
}

Behaviour notes:

  • safesearch is forced to true server-side; explicit content is filtered out.
  • Pixabay performs best with English keywords. Translate user-provided Chinese terms (e.g., "咖啡 → coffee") before issuing the request when accuracy matters.
  • Pick the most relevant largeImageURL (or matching video preview URL) and surface the URL plus tags to the user; do not dump the entire hits array.
  • If total === 0, tell the user no matching asset was found and suggest a broader keyword.

Output Format

{
  "total": 1234,
  "hits": [
    {
      "id": 5179107,
      "tags": "coffee, cup, latte art",
      "previewURL": "https://cdn.pixabay.com/.../preview.jpg",
      "webformatURL": "https://pixabay.com/.../webformat.jpg",
      "largeImageURL": "https://pixabay.com/.../large.jpg",
      "imageWidth": 6000,
      "imageHeight": 4000
    }
  ]
}

Examples

// Find horizontal photos of cityscapes
search-online-assets({
  query: 'cityscape skyline',
  imageType: 'photo',
  orientation: 'horizontal',
  perPage: 6,
})
// Find vector icons for nature
search-online-assets({
  query: 'leaf nature icon',
  imageType: 'vector',
  perPage: 12,
})

Error Handling

Code Error Type Example Message
401 Unauthorized (No API Key) Pixabay API key is not configured
502 Upstream API failed Pixabay API error: \x3CstatusText>
503 Network / fetch failed Failed to search images from Pixabay

AGENT CRITICAL INSTRUCTION:

  1. If the tool throws Pixabay API key is not configured, the workspace is missing its Pixabay credentials — inform the user and stop; do not retry.
  2. If Pixabay API error is returned, retry once with a simpler / shorter query before falling back to telling the user no result was found.

Tips

Visit https://dlazy.com for more information.

安全使用建议
This skill looks reasonable for searching online stock assets. Before installing or using it, verify the @dlazy/cli package/source, be aware that it needs a dLazy API key, and avoid sending sensitive search terms through the external service.
功能分析
Type: OpenClaw Skill Name: search-online-assets Version: 1.0.9 The skill is a legitimate wrapper for searching Pixabay assets via the dLazy service. It utilizes a dedicated CLI tool (@dlazy/cli) and requires an API key stored in a standard configuration directory (~/.dlazy/config.json). The instructions in SKILL.md are well-defined, focusing on tool invocation, error handling, and keyword translation without any evidence of malicious prompt injection or unauthorized data access.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose—searching Pixabay-style public assets and returning URLs/metadata—is coherent, but it depends on the dLazy service/runtime and an API key.
Instruction Scope
The instructions stay focused on structured asset search, result selection, safe search, and error handling; no destructive, deceptive, or goal-hijacking behavior is shown.
Install Mechanism
The SKILL.md documents npm/npx use of @dlazy/[email protected], while the registry says there is no install spec and the text also contains a stale reference to 1.0.8. This is a provenance/review note, not evidence of malicious behavior.
Credentials
Network calls to dLazy/Pixabay are proportionate for an online search skill, but user search terms and filters leave the local workspace.
Persistence & Privilege
The skill describes storing a dLazy API key in a user config file or passing it via environment variable; no background persistence or privilege escalation is shown.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install search-online-assets
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /search-online-assets 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.9
- Updated install instructions and metadata to use @dlazy/cli version 1.0.9. - Clarified CLI and npx usage examples to specify the new version. - Expanded and detailed API key configuration steps in the documentation. - Improved usage guidelines and added critical instructions for agents and error handling. - Added structured input schema and output examples for better clarity.
元数据
Slug search-online-assets
版本 1.0.9
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Search Online Assets 是什么?

Online asset search tool: queries public stock libraries (Pixabay) for high-quality photos, illustrations, vectors and videos, returning result metadata and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 146 次。

如何安装 Search Online Assets?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install search-online-assets」即可一键安装,无需额外配置。

Search Online Assets 是免费的吗?

是的,Search Online Assets 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Search Online Assets 支持哪些平台?

Search Online Assets 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Search Online Assets?

由 dlazy(@dlazyai)开发并维护,当前版本 v1.0.9。

💬 留言讨论