# Send smart-image-loader to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "smart-image-loader",
    "name": "smart-image-loader",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/tingwei1123/smart-image-loader",
    "canonicalUrl": "https://clawhub.ai/tingwei1123/smart-image-loader",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/smart-image-loader",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=smart-image-loader",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/smart_image_loader.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "smart-image-loader",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:26:58.031Z",
      "expiresAt": "2026-05-08T22:26:58.031Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=smart-image-loader",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=smart-image-loader",
        "contentDisposition": "attachment; filename=\"smart-image-loader-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "smart-image-loader"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/smart-image-loader"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/smart-image-loader",
    "downloadUrl": "https://openagent3.xyz/downloads/smart-image-loader",
    "agentUrl": "https://openagent3.xyz/skills/smart-image-loader/agent",
    "manifestUrl": "https://openagent3.xyz/skills/smart-image-loader/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/smart-image-loader/agent.md"
  }
}
```
## Documentation

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tingwei1123
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:26:58.031Z
- Expires at: 2026-05-08T22:26:58.031Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/smart-image-loader)
- [Send to Agent page](https://openagent3.xyz/skills/smart-image-loader/agent)
- [JSON manifest](https://openagent3.xyz/skills/smart-image-loader/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/smart-image-loader/agent.md)
- [Download page](https://openagent3.xyz/downloads/smart-image-loader)