โ† All skills
Tencent SkillHub ยท Productivity

smart-image-loader

Smart image loader that handles both URLs and local files, automatically downloads URLs to temporary locations, and displays images using the read tool. Use when a user wants to view or display an image, whether it's a web URL or a file in the workspace.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Smart image loader that handles both URLs and local files, automatically downloads URLs to temporary locations, and displays images using the read tool. Use when a user wants to view or display an image, whether it's a web URL or a file in the workspace.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/smart_image_loader.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 10 sections Open source page

Quick Start

When a user asks to display an image: Check if input is a URL or local path URLs start with http:// or https:// Local paths are file paths in the workspace For URLs: Download the image to a temporary location using the Python script Use read tool to display the image Clean up the temporary file afterward For local files: Verify the file exists (relative to workspace or absolute path) Use read tool directly to display the image

Usage Examples

User says: "Show me this image: https://example.com/photo.jpg" Run: python3 scripts/smart_image_loader.py https://example.com/photo.jpg Script downloads to temp: /tmp/dir/photo.jpg Use read tool on: /tmp/dir/photo.jpg Clean up: Delete the temp file User says: "Display ./images/logo.png" Run: python3 scripts/smart_image_loader.py ./images/logo.png Script verifies file exists Use read tool on: /home/node/clawd/images/logo.png (absolute path)

Script Usage

python3 scripts/smart_image_loader.py <image_path_or_url>

Arguments

ArgumentDescriptionimage_path_or_urlEither a local file path (relative or absolute) or a URL

Output Format

The script returns a JSON-like output with: Status: SUCCESS or FAILED Type: url or local File Path: Local path for the read tool Message: Status description Cleanup Needed: true if temp file should be deleted

Examples

# URL example python3 scripts/smart_image_loader.py https://example.com/image.jpg # Output: Downloads to /tmp/xyz/image.jpg, use read tool on that path # Local file example (relative) python3 scripts/smart_image_loader.py ./photos/vacation.jpg # Output: File found at /home/node/clawd/photos/vacation.jpg # Local file example (absolute) python3 scripts/smart_image_loader.py /home/node/clawd/downloads/graphic.png # Output: File found at /home/node/clawd/downloads/graphic.png

Workflow Decision Tree

User asks to display an image | v Is it a URL? (http:// or https://) | +----+---------------------------+ | | YES NO | | v v Download to temp Does file exist? | | v +-----+-----+ Use read tool | | | YES NO v | Cleanup temp file v Use read tool | v Done (no cleanup)

Cleanup Guidelines

URL downloads: Always clean up temporary files after displaying Local files: No cleanup needed (files remain in workspace) Use exec with rm <file_path> for cleanup

Image Formats Supported

JPEG (.jpg, .jpeg) PNG (.png) GIF (.gif) WebP (.webp) BMP (.bmp)

Error Handling

ScenarioActionURL download failsReport error to userLocal file not foundReport error to userInvalid inputShow usage instructions

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/smart_image_loader.py Scripts