← 返回 Skills 市场
ryantaozi

Pro Color Palette

作者 ryantao · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ✓ 安全检测通过
178
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install pro-color-palette
功能描述
专业配色卡生成器。支持12组预设配色、从图片提取主色、生成场景Mockup(海报/手机界面/封面)。输入主色调自动生成3色搭配方案,输出黑底配色卡图片。支持本地脚本秒级生成和AI图片生成两种模式。
安全使用建议
What to consider before installing: - This skill runs local Python scripts and relies on the Pillow (PIL) and requests libraries which are not declared in the metadata; ensure your environment has Python3, pillow and requests installed to avoid runtime errors. - The extract feature will download images from URLs you provide. If you or the agent pass internal or untrusted URLs, those HTTP requests may reach internal services (SSRF risk). Only provide trusted image URLs. - The scripts write output to /tmp (or a path you supply) and attempt to load system fonts from common Mac paths; if those fonts are missing the code falls back to default fonts (harmless but may change appearance). - The code contains some minor implementation bugs/rough edges (simple K-Means averaging and some color string handling) that could cause failures on certain inputs; test with non-sensitive data first. - There are no hidden network endpoints, no credential requests, and no install-time downloads in the package metadata. If you need the optional AI-image mode mentioned in SKILL.md, confirm how to integrate 'doubao-ai-image' and whether it needs API keys before enabling that mode.
功能分析
Type: OpenClaw Skill Name: pro-color-palette Version: 1.3.0 The 'pro-color-palette' skill bundle is a legitimate tool for generating color palettes and design mockups. The Python scripts (extract_palette.py, generate_mockup.py, generate_palette.py) use standard libraries like PIL and requests to process images and create visual cards, with all outputs directed to temporary directories. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included scripts: generate_palette.py, extract_palette.py, and generate_mockup.py implement palette generation, image extraction, and mockup creation. However the skill metadata/requirements declare no dependencies while the code uses Python packages (Pillow/PIL and requests). That omission is an incoherence (missing declared dependencies) but plausible as a packaging oversight rather than malicious behavior.
Instruction Scope
SKILL.md instructs the agent to run the included scripts and to optionally call an external AI image tool; the instructions stick to generating/exporting images and extracting colors. The extract script will download images from arbitrary URLs supplied by the user, which is expected for an image-extraction feature.
Install Mechanism
No install spec (instruction-only invocation of local Python scripts). This is low-risk from an installation standpoint. There are no downloads from untrusted hosts or archive extraction steps in the package metadata.
Credentials
The skill requests no environment variables, credentials, or config paths. The code reads system font paths and writes output to /tmp — both are reasonable for image generation and documented in SKILL.md. It does perform outbound HTTP GETs to fetch images (requests.get) when given a URL; this network use is proportional to the 'extract from image URL' feature but should be noted.
Persistence & Privilege
Skill flags are default (always: false, agent invocation allowed). It does not modify other skills or system-wide configuration. It writes generated images to /tmp or user-specified paths only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pro-color-palette
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pro-color-palette 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
- 新增从图片提取主色功能(extract_palette.py),可生成对应配色卡。 - 新增场景 Mockup(generate_mockup.py):支持生成品牌海报、手机界面、PPT封面等三种搭配演示图。 - 使用说明文档(SKILL.md)更新,整合新功能,优化使用指引。 - 现支持“配色卡生成 + 图片主色提取 + 多场景 Mockup”三大功能,满足更广泛的配色需求。
v1.2.1
- 增加了7组全新配色,预设方案从5组扩展到12组 - 支持智能匹配场景关键词,自动推荐最优配色 - 新增批量生成、色值导出等命令行功能说明 - 配色适用场景推荐更加细分和丰富 - 文档结构优化,配色选择和使用说明更详尽易用
v1.2.0
- Improved color palette generation logic in generate_palette.py. - Updated SKILL.md documentation for greater clarity and accuracy on output specifications and usage. - No interface or workflow changes—existing usage remains unaffected.
v1.1.0
- 新增本地 Python 脚本(generate_palette.py),支持无需 AI 秒级生成配色卡图片 - SKILL.md 增加本地图片生成方法描述,补充调用与输出方式 - 现支持本地脚本优先生成和 AI 两种图片生成模式
v1.0.0
color-palette 1.0.0 — 初始版本 - 发布专业配色卡生成器,支持自动推荐与生成图片配色方案卡片。 - 内置5组高质量预设配色方案(爱马仕橙、普拉得蓝、长春花蓝、孔雀蓝、古驰绿)。 - 按主题需求匹配最优配色,黑底、圆角简约风格,1大2小色块布局。 - 输出图片卡片,含中文色名与Hex色号。 - 回复内容包括配色方案名称、Hex对照表、图片及适用场景建议。
元数据
Slug pro-color-palette
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Pro Color Palette 是什么?

专业配色卡生成器。支持12组预设配色、从图片提取主色、生成场景Mockup(海报/手机界面/封面)。输入主色调自动生成3色搭配方案,输出黑底配色卡图片。支持本地脚本秒级生成和AI图片生成两种模式。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 178 次。

如何安装 Pro Color Palette?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pro-color-palette」即可一键安装,无需额外配置。

Pro Color Palette 是免费的吗?

是的,Pro Color Palette 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Pro Color Palette 支持哪些平台?

Pro Color Palette 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pro Color Palette?

由 ryantao(@ryantaozi)开发并维护,当前版本 v1.3.0。

💬 留言讨论