openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Colormind

Generate color palettes and get color suggestions via the Colormind.io API (list models, generate palettes with optional locked colors).

媒体与内容

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.1.1

统计:⭐ 0 · 586 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:colormind

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's code, runtime instructions, and requirements are consistent with its stated purpose (calling the Colormind API and sampling images), and it does not request unrelated credentials or persistent privileges — but it does send unencrypted color data to an external HTTP endpoint, which has privacy implications.

目的

Name/description (generate palettes via Colormind) match the included scripts and runtime instructions. Required binaries (node, python3, ImageMagick 'convert') are legitimately needed by the included files. No unexpected credentials, config paths, or unrelated binaries are requested.

说明范围

SKILL.md and scripts limit actions to: reading a provided image path, running ImageMagick to sample colors, parsing results, and POST/GET to colormind.io. The README explicitly warns that image-derived color data is sent externally and that the API uses HTTP. The scripts use temp files and trap-based cleanup; they do not read other system files or environment secrets.

安装机制

This is instruction-only from the registry perspective (no installer that downloads external archives). All executable code is included in the skill bundle, so nothing is fetched or extracted at install time. Risk from the install mechanism is minimal.

证书

The skill requests no environment variables or credentials. The lack of secrets is proportionate to its functionality. The only notable external access is network calls to colormind.io (documented and expected).

持久

The skill does not request always:true, does not modify other skills, and contains no persistent agents or autorun hooks. It runs only when invoked and does not store credentials or alter system-wide settings.

综合结论

This skill appears to do exactly what it claims: sample image colors and call colormind.io to generate palettes. Before installing, consider these privacy and safety points: (1) all API calls use plain HTTP (unencrypted) — network observers can see the RGB values you send, so do not use with sensitive or proprietary images/colors; (2) image processing uses ImageMagick ('convert') — use a recent patched ImageMagick and consider running in a san…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Colormind」。简介:Generate color palettes and get color suggestions via the Colormind.io API (lis…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/boilerrat/colormind/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: colormind
description: Generate color palettes and get color suggestions via the Colormind.io API (list models, generate palettes with optional locked colors).
version: 1.1.1
metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":["node","python3","convert"],"env":[]}}}
---

# Colormind (Color Palette Generator)

⚠️ **Privacy & Security Notice:**
- This skill sends color data to an external service (colormind.io)
- The API uses **unencrypted HTTP** (HTTPS has a self-signed certificate)
- When using `image_to_palette.sh`, derived color data from your images is sent externally
- **Do not use with sensitive/private images** unless you accept this data sharing
- Consider running in a sandbox when processing untrusted images (ImageMagick safety)

Colormind exposes a simple API:
- `POST http://colormind.io/api/` → generate a palette (optionally with locked colors)
- `GET  http://colormind.io/list/` → list available models

## List models

```bash
node {baseDir}/scripts/list_models.mjs
```

## Generate a random palette

```bash
node {baseDir}/scripts/generate_palette.mjs --model default
node {baseDir}/scripts/generate_palette.mjs --model ui
```

## Generate a palette with locked colors

Provide 5 slots. Use:
- an RGB triple: `"r,g,b"` (locks that slot)
- `N` (free slot)

Examples:

```bash
# lock 2 colors, let colormind fill the rest
node {baseDir}/scripts/generate_palette.mjs --model default 
  --input "44,43,44" "90,83,82" N N N

# lock a brand color, keep a free gradient
node {baseDir}/scripts/generate_palette.mjs --model ui 
  --input "0,122,255" N N N N
```

Output:
- always prints JSON
- if `--pretty` is set, also prints a small Markdown block (hex + RGB)

```bash
node {baseDir}/scripts/generate_palette.mjs --model default --pretty
```

## Sample an image → get a palette

Requires ImageMagick (`convert`). This samples a small palette from an image, picks the most frequent color as the "base", then generates a Colormind palette from it.

```bash
# returns JSON with sampled colors + a generated Colormind palette
bash {baseDir}/scripts/image_to_palette.sh /path/to/image.jpg --model ui
bash {baseDir}/scripts/image_to_palette.sh /path/to/image.jpg --model default
```

Notes:
- Colormind may slightly adjust locked colors.
- Models refresh daily (UTC+8).