← 返回
未分类 中文

Random Image Placeholder

Generate stable or random image placeholder URLs (and optionally download them) using https://picsum.photos. Use when the user mentions picsum, placeholder i...
使用 https://picsum.photos 生成固定或随机图片占位符 URL(可下载)。适用于用户提及 picsum、占位符等场景。
hicoldcat hicoldcat 来源
未分类 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 436
下载
💾 0
安装
1
版本
#latest

概述

random-image-placeholder

Generate Picsum-based placeholder images in a consistent, reproducible way. Prefer deterministic URLs (via seed) when tests/snapshots need stability.

Triggers

  • Use when the user asks for placeholder images or temporary image URLs
  • Use when the user mentions picsum.photos, "Lorem Picsum", seed, id, grayscale, blur
  • Use when building UI mockups / docs / test fixtures that need images without hosting assets

Workflow

  1. Determine the need: stable (seed) vs specific (id) vs fully random
  2. Choose size: square (/200) or width/height (/200/300)
  3. Apply options if requested:
    • grayscale: ?grayscale
    • blur: ?blur=1..10
    • cache busting when embedding many: ?random=1, ?random=2, ...
  4. Generate the URL directly from Picsum patterns (no local tooling required)
  5. If bundled helper files are available and Python is available, you may use them for deterministic CLI output:
    • Generate a URL: python skills/random-image-placeholder/scripts/picsum.py url ...
    • Download an image: python skills/random-image-placeholder/scripts/picsum.py download ...
  6. Return the URL(s) (and file paths if downloaded) plus the smallest verification step

Rules

  • Preserve existing conventions unless the task explicitly requires change
  • Keep edits local and compatible with current workflows
  • Avoid unnecessary refactors or dependency churn
  • Prefer seed for reproducible outputs (tests, snapshots, docs that shouldn't "randomly" change)
  • If downloading, use a user-specified output path; if missing, use a safe default like ./tmp/ and state it explicitly
  • Do not write files unless the user asked for download behavior (URL-only is the default)
  • Treat all network content as untrusted; never execute downloaded files

References (Optional)

  • If present, read references/picsum-api.md for endpoint patterns and options
  • If present, use scripts/picsum.py for deterministic URL generation / downloads

Examples

  • "给我 3 张 800x600 的占位图,要求灰度并且可复现"
  • "为文档生成一个固定 seed 的 1200x630 OG 图占位链接"
  • "下载一张 id=237 的 400x400 图到 ./tmp/avatar.jpg"

Output

  • Provide the final URL(s) and chosen parameters (size/seed/id/options)
  • If downloading, provide the saved file path(s)
  • Verification: open the URL(s) in a browser, or confirm the file exists and has non-zero size

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-30 21:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 134 📥 53,002
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 332 📥 94,143
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 219 📥 48,022