openclaw 网盘下载
OpenClaw

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

首页 > 技能库 > Palette

Create and manage color palettes using color theory algorithms. Use when designing UIs or building brand color systems.

媒体与内容

作者:BytesAgain2 @ckchzh

许可证:MIT-0

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

版本:v1.0.0

统计:⭐ 0 · 54 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:ckchzh/palette

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's files, instructions, and requested resources are consistent with a local color-palette tool that stores data under ~/.palette and exposes CLI operations; nothing indicates covert exfiltration or unrelated privileges.

目的

Name/description (palette generation, export, preview, manage library) match the included SKILL.md and the bash script. The script implements logging, generation stubs and exports relevant to the stated purpose; no unrelated services or credentials are requested.

说明范围

Runtime instructions and the script operate on files under $HOME/.palette and on local terminals. Be aware the script records each command and its arguments into per-command .log files (e.g., create.log, random.log) so any values you pass via env vars or args will be recorded. No steps read or transmit system files or external endpoints.

安装机制

No install spec — instruction-only plus a shipped script. No external downloads or package installs are performed by the skill.

证书

The skill requires no credentials or special env vars. It uses $HOME for data storage (expected). There are no unexplained secret requests.

持久

always is false and autonomous invocation is allowed by default (expected). The skill only creates/reads files under ~/.palette and does not modify other skills or system-wide agent settings.

综合结论

This skill appears coherent and safe for normal use, but review these points before installing or running it: - Data & logs: The script stores all activity and command/argument text in ~/.palette/*.log and a data.jsonl file. Avoid passing secrets or sensitive strings in PALETTE_* env vars or arguments because those values get recorded. - Local writes only: The tool operates locally and does not contact external servers, but it will write expor…

安装(复制给龙虾 AI)

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

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Palette」。简介:Create and manage color palettes using color theory algorithms. Use when design…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/ckchzh/palette/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: palette
version: "1.0.0"
description: "Create and manage color palettes using color theory algorithms. Use when designing UIs or building brand color systems."
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: [color, palette, design, ui, css, branding]
---

# Palette — Color Palette Generation & Management Tool

Generate harmonious color palettes using color theory (complementary, analogous, triadic), create random palettes, preview colors in terminal, export to CSS/JSON/SVG, and manage a library of saved palettes. Essential for designers, frontend developers, and anyone working with color systems.

## Prerequisites

- Python 3.8+
- `bash` shell
- Terminal with ANSI color support (for previews)

## Data Storage

All palette data is stored in `~/.palette/data.jsonl` as newline-delimited JSON. Each record contains palette name, colors (hex values), color theory type, and metadata.

Configuration is stored in `~/.palette/config.json`.

## Commands

### `create`
Create a new named palette from a list of hex color values.

```
PALETTE_NAME="ocean-breeze" PALETTE_COLORS="#0077B6,#00B4D8,#90E0EF,#CAF0F8,#023E8A" bash scripts/script.sh create
```

### `random`
Generate a random palette with a specified number of colors (default: 5). Optionally constrain by hue range or saturation.

```
PALETTE_COUNT=5 PALETTE_HUE_MIN=180 PALETTE_HUE_MAX=270 bash scripts/script.sh random
```

### `complementary`
Generate a complementary color palette from a base color. Returns the base color and its complement with optional shades.

```
PALETTE_BASE="#FF6B35" PALETTE_SHADES=3 bash scripts/script.sh complementary
```

### `analogous`
Generate an analogous color palette from a base color. Returns colors adjacent on the color wheel (±30°).

```
PALETTE_BASE="#2EC4B6" PALETTE_COUNT=5 bash scripts/script.sh analogous
```

### `triadic`
Generate a triadic color palette from a base color. Returns three colors equally spaced (120°) on the color wheel.

```
PALETTE_BASE="#E71D36" PALETTE_SHADES=2 bash scripts/script.sh triadic
```

### `export`
Export a palette to various formats: CSS custom properties, JSON, SVG swatches, Tailwind config, or SCSS variables.

```
PALETTE_ID=<id> PALETTE_FORMAT=css PALETTE_OUTPUT=./colors.css bash scripts/script.sh export
```

### `preview`
Display a palette in the terminal using ANSI color blocks. Shows hex values, RGB, and HSL alongside color swatches.

```
PALETTE_ID=<id> bash scripts/script.sh preview
```

### `list`
List all saved palettes with their names, color counts, and creation dates.

```
bash scripts/script.sh list
```

### `save`
Save/bookmark the most recently generated palette with a name and optional tags for organization.

```
PALETTE_NAME="sunset-vibes" PALETTE_TAGS="warm,sunset,gradient" bash scripts/script.sh save
```

### `config`
View or update configuration (default color count, preferred format, terminal color mode).

```
PALETTE_KEY=default_count PALETTE_VALUE=7 bash scripts/script.sh config
```

### `help`
Show usage information and available commands.

```
bash scripts/script.sh help
```

### `version`
Display the current version of the palette skill.

```
bash scripts/script.sh version
```

## Examples

```bash
# Generate a triadic palette from a brand color
PALETTE_BASE="#6C63FF" bash scripts/script.sh triadic

# Save it with a name
PALETTE_NAME="brand-triadic" bash scripts/script.sh save

# Preview in terminal
PALETTE_ID=<id> bash scripts/script.sh preview

# Export as CSS custom properties
PALETTE_ID=<id> PALETTE_FORMAT=css PALETTE_OUTPUT=./brand-colors.css bash scripts/script.sh export
```

## Color Theory Quick Reference

- **Complementary**: Opposite on the color wheel (high contrast)
- **Analogous**: Adjacent colors (harmonious, low contrast)
- **Triadic**: Three equidistant colors (vibrant, balanced)
- **Random**: Algorithmically generated with optional constraints

## Notes

- Colors are stored and processed as hex values internally, converted to RGB/HSL as needed.
- Terminal preview requires a terminal that supports 24-bit (truecolor) ANSI codes.
- Export formats include CSS, JSON, SVG, SCSS, and Tailwind — easily extensible.

---

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com