Skip to content
Back to skills

Colormind

ASecurity

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

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
ai-agentspythonrustbashnodeapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add onfire7777/universal-ai-skills-library --skill colormind --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Colormind?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Colormind
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/onfire7777-colormind/badge)](https://www.skillsdirectory.com/skills/onfire7777-colormind)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: colormind
description: Generate color palettes and get color suggestions via the Colormind.io API (list models, generate palettes with optional locked colors).
license: Unspecified
metadata:
  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).

Files in this skill

  • CHANGELOG.md1.7 KB
  • SECURITY.md3.3 KB
  • SKILL.md2.3 KB
  • _meta.json451 B
  • scripts/combine_results.py827 B
  • scripts/generate_palette.mjs2.3 KB
  • scripts/get_base_rgb.py605 B
  • scripts/image_to_palette.sh1.5 KB
  • scripts/list_models.mjs345 B
  • scripts/parse_histogram.py943 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…