AGENT SKILL

image-search

暂无简介

License 许可
CC0-1.0
最近更新
2026-11-14
Stars
★ 0
Forks
0

02 资源文件 1

03 SKILL.md 正文

Image Search

Use the bundled CLI to find public images by text query:

/opt/hatch/bin/image-search "Golden Gate Bridge at sunset" --max-results 5

Optional result language:

/opt/hatch/bin/image-search "Paris architecture" \
  --max-results 5 \
  --language fr

The CLI returns structured results and omits unavailable fields. Interpret the URLs as follows:

  • media_url is the public source image locator and the preferred full-image URL when present.
  • thumbnail_cdn_url is Meta's renderable CDN preview and the fallback when media_url is absent. Treat it as a cache URL, not the sole durable copy of an artifact.
  • media_handle and candidate_ref are internal, non-renderable fields. Do not fetch, display, or pass them as image URLs.
  • page_url is the source page. Retain it for provenance or attribution.

The service returns only results with media_url or thumbnail_cdn_url. Ignore any result that lacks both renderable URL fields. Choose the result that best matches the request rather than blindly taking the first one.

This skill returns locators only: it does not download, upload, or turn an image into a Muse media reference. A Feed may use a suitable remote image URL. For an Artifact that needs a durable local copy, pass the chosen locator and source page through the Artifact's supported media-ingestion path; do not treat the CDN thumbnail as permanent storage.

For an Artifact, choose a download-safe locator before starting any fetch:

  1. Inspect all returned results and prefer an HTTPS media_url with no URL credentials, query string, or fragment. Preserve result order among those simple public URLs.

  2. Preflight each candidate like a browser, with a cross-origin referer, then fetch one candidate at a time with bounded connect and total timeouts (substitute real values for the placeholders):

    curl -fsSLI -A 'Mozilla/5.0' -H 'Accept: image/png,image/jpeg,image/gif,image/webp,image/*;q=0.5' -H 'Referer: <any-https-origin-that-is-not-the-image-host>' '<image-url>'
    curl -fsSL --connect-timeout 10 --max-time 60 -A 'Mozilla/5.0' -H 'Accept: image/png,image/jpeg,image/gif,image/webp,image/*;q=0.5' -o '<dest-file>' '<image-url>'
    

    Accept only a final 2xx whose content type and file magic are an image, then copy those bytes into Artifact-owned storage. Prefer PNG or JPEG: WEBP is fine except in a Word document, and AVIF except on a web page, which refuses it at share time with no retry that fixes it. Convert a HEIC to JPEG anywhere. Reject hotlink-blocked, expiring, redirecting, 403/404, non-image, watermarked, or unstable URLs. The referer matters: a hotlink-protected host serves a plain fetch but refuses requests that look like they come from someone else's page, so a URL that fails this probe breaks after the Artifact ships even though it loads for you today. The same preflight applies to any external image URL an Artifact uses, however it was found.

  3. If no simple media_url succeeds, consider a query-bearing media_url or thumbnail_cdn_url. Use the returned locator byte-for-byte; never remove or rewrite its query string to make it look simpler.

Search-result pre-approval records the returned locator's exact path and query, so a plain GET/HEAD that uses it byte-for-byte is normally allowed without another prompt even when it has a query string. Do not keep retrying or substitute an unrelated local image when a fetch fails.

This is text-to-image search, not reverse-image identification. Do not use it to identify an unknown person from a supplied photograph.

Available connectors

  • This skill uses native tools and does not require an account connector.

  • Use muse.connector_search to find other connectors and muse.skill_search to find related skills.

  • If nothing here fits, look on the web for a maintained API or MCP server and set it up with Custom Connectors and MCPs, or build a custom connector.

04 同仓库更多 Skills

raaOS
raaOS/system_prompts_leaks

model-council

暂无简介

★ 0
raaOS
raaOS/system_prompts_leaks

writing-style

Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.

★ 0
raaOS
raaOS/system_prompts_leaks

write-page

Create or edit requested Page/Space content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.

★ 0
raaOS
raaOS/system_prompts_leaks

software-engineering

For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.

★ 0
raaOS
raaOS/system_prompts_leaks

slides-artifact

Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.

★ 0
raaOS
raaOS/system_prompts_leaks

slack

Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.

★ 0