Random Image Placeholder for Openclaw

A robust utility for generating deterministic, high-quality image placeholders for UI mockups, documentation, and automated testing.

hicoldcat
v0.1.1
Mar 18, 2026
0
839
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install random-image-placeholder

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install random-image-placeholder using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Random Image Placeholder?

The Random Image Placeholder skill provides developers with a streamlined way to integrate dynamic or stable image assets into their projects using the Picsum.photos API. It allows for the creation of reproducible images through seed-based generation, ensuring that snapshots, tests, and documentation maintain visual consistency over time.

By leveraging this component of Openclaw Skills, developers can programmatically generate URLs or download files with specific attributes such as grayscale filters, varying blur intensities, and precise dimensions. This eliminates the need for manual asset hosting during the early stages of development and prototyping.

Random Image Placeholder Use Cases

  • Creating consistent UI mockups and wireframes that require high-quality visual placeholders.
  • Generating deterministic test fixtures for snapshot testing where image stability is critical.
  • Automating the inclusion of placeholder assets in technical documentation and README files.
  • Developing temporary image URLs for frontend demos and proof-of-concept applications.

How Random Image Placeholder Works

  1. The system identifies the user's intent based on triggers like dimensions, grayscale requirements, or specific image IDs.
  2. It determines the generation mode, prioritizing seed-based patterns for stability or ID-based patterns for specific imagery.
  3. Image parameters such as width, height, blur level (1-10), and grayscale are calculated.
  4. A Picsum URL is constructed directly or generated via a local Python script if advanced CLI output is required.
  5. If a download is requested, the system securely fetches the asset to a local directory like ./tmp/.
  6. The final URL or file path is returned to the user with a verification step to ensure accessibility.

Random Image Placeholder Setup

To use this integration within your Openclaw Skills environment, ensure you have Python available if you plan to use the local automation scripts.

# Example: Generate a 800x600 grayscale image URL with a specific seed
python skills/random-image-placeholder/scripts/picsum.py url --width 800 --height 600 --seed my-seed --grayscale

# Example: Download a specific image ID to your local temporary folder
python skills/random-image-placeholder/scripts/picsum.py download --id 237 --size 400 --output ./tmp/avatar.jpg

Random Image Placeholder Data Schema & Taxonomy

This skill manages data through structured URL patterns and local file storage. The following table describes the primary data attributes:

Attribute Type Description
seed String Used for reproducible, deterministic image generation.
id Integer Points to a specific image within the Picsum library.
grayscale Boolean Applies a black-and-white filter to the image.
blur Integer Adjusts the blur intensity between 1 and 10.
dimensions String Format: {width}/{height} or {square_size}.
path String The local destination for downloaded assets (default: ./tmp/).

Random Image Placeholder Advanced Features

  • Deterministic Output: Uses seeds to ensure the same image is generated every time, perfect for CI/CD pipelines.
  • CLI Integration: Supports direct Python script execution for batch processing and workflow automation.
  • Cache Busting: Supports a random parameter to force fresh image loads when embedding multiple instances of the same size.
  • Flexible Post-Processing: Easily combine grayscale and blur effects via standard query parameters.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*