← 返回 Skills 市场
139
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install color-toolkit
功能描述
Convert, analyze, and generate colors from the CLI. Supports HEX, RGB, HSL, HSV, CMYK conversion, WCAG contrast ratio checking (AA/AAA compliance), palette g...
使用说明 (SKILL.md)
Color Toolkit
Convert colors, check WCAG contrast, generate palettes, and manipulate colors. Pure Python, no dependencies.
Quick Start
# Convert between formats (accepts #hex, rgb(), hsl(), CSS names, or r,g,b)
python3 scripts/color_toolkit.py convert '#ff6347'
python3 scripts/color_toolkit.py convert tomato
python3 scripts/color_toolkit.py convert 'rgb(52, 152, 219)'
# WCAG contrast check
python3 scripts/color_toolkit.py contrast '#333333' '#ffffff'
# Generate palettes
python3 scripts/color_toolkit.py palette '#3498db' -s triadic
python3 scripts/color_toolkit.py palette '#e74c3c' -s monochromatic -n 7
# Modify colors
python3 scripts/color_toolkit.py modify '#3498db' --op lighten --amount 20
python3 scripts/color_toolkit.py modify coral --op darken --amount 15
# Mix colors
python3 scripts/color_toolkit.py mix '#ff0000' '#0000ff' --weight 0.5
# Random colors
python3 scripts/color_toolkit.py random -n 5
# Search CSS named colors
python3 scripts/color_toolkit.py lookup green
Commands
| Command | Description |
|---|---|
convert |
Convert any color to HEX, RGB, HSL, HSV, and CMYK. |
contrast |
WCAG contrast ratio between foreground and background. Reports AA/AAA compliance. |
palette |
Generate palettes: complementary, analogous, triadic, split-complementary, monochromatic. |
modify |
Adjust color: lighten, darken, saturate, desaturate. --amount 0-100. |
mix |
Blend two colors. --weight controls the ratio (0.0 = all color1, 1.0 = all color2). |
random |
Generate random colors. -n sets count. |
lookup |
Search CSS named colors by partial name. |
All commands support --json for structured output.
Accepted Color Formats
#hex (3 or 6 digit), rgb(r, g, b), hsl(h, s%, l%), r,g,b, or any CSS color name (e.g., tomato, steelblue, coral).
安全使用建议
The skill appears coherent and implements a local Python color toolkit with no strange permissions or network calls in the visible code. However, the provided script was truncated in the submission — you should inspect the full scripts/color_toolkit.py file before installing or running. Steps to reduce risk: (1) open the complete file and search for imports like urllib, requests, socket, subprocess, os.system or any code that reads files outside its scope; (2) verify the file length matches the declared size and there is no appended/obfuscated payload; (3) run the script in an isolated environment (container or VM) if you plan to execute it; (4) optionally run a linter/static analyzer to surface hidden issues. If the full file matches the excerpt and contains no networking/subprocess/file-exfiltration logic, the skill is reasonable to use.
功能分析
Type: OpenClaw Skill
Name: color-toolkit
Version: 1.0.0
The color-toolkit skill is a standard utility for color conversion, WCAG contrast analysis, and palette generation. The implementation in scripts/color_toolkit.py relies exclusively on the Python standard library, containing no network requests, file system access, or dangerous execution sinks. The SKILL.md instructions are well-defined and align perfectly with the tool's stated purpose.
能力评估
Purpose & Capability
Name/description match the included artifacts: the SKILL.md documents a CLI Python tool and the repository contains a Python script implementing color parsing, conversion, contrast checks, palette generation and manipulation. The requested surface (no env vars, no binaries, no installs) is proportional to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script with straightforward CLI arguments; the instructions do not request reading unrelated files, environment variables, or contacting remote endpoints. However, the presented script output is truncated near the end, so it's not possible to fully confirm there are no extra runtime behaviors beyond what's shown.
Install Mechanism
No install spec is present (instruction-only), and the code claims to be pure Python with no external dependencies. This is low-risk and proportionate for a small CLI utility.
Credentials
The skill declares no required environment variables, credentials, or config paths, and the visible code does not access environment variables or secret-containing paths. This is proportionate for the described functionality.
Persistence & Privilege
Skill is not set to always: true and uses normal, user-invocable/autonomous invocation defaults. It does not request elevated persistence or modify other skills/configs in the visible content.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install color-toolkit - 安装完成后,直接呼叫该 Skill 的名称或使用
/color-toolkit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of color-toolkit.
- Convert colors between HEX, RGB, HSL, HSV, and CMYK formats from the command line.
- Check WCAG contrast ratio and AA/AAA compliance for accessibility.
- Generate color palettes: complementary, analogous, triadic, split-complementary, and monochromatic.
- Manipulate colors (lighten, darken, saturate, desaturate), mix colors, and generate random colors.
- Search for CSS named colors and look up their values.
- Pure Python implementation with zero external dependencies.
元数据
常见问题
Color Toolkit 是什么?
Convert, analyze, and generate colors from the CLI. Supports HEX, RGB, HSL, HSV, CMYK conversion, WCAG contrast ratio checking (AA/AAA compliance), palette g... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。
如何安装 Color Toolkit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install color-toolkit」即可一键安装,无需额外配置。
Color Toolkit 是免费的吗?
是的,Color Toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Color Toolkit 支持哪些平台?
Color Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Color Toolkit?
由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。
推荐 Skills