← 返回 Skills 市场
meituskills

DesignKit Ecommerce AI Studio

作者 Meitu.Inc · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
469
总下载
7
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install designkit-skills
功能描述
Use when users need DesignKit image editing or ecommerce product-image generation, with public metadata optimized for ClawHub and runtime guidance defaulting...
使用说明 (SKILL.md)

DesignKit Skills

Public ClawHub bundle for DesignKit image editing and ecommerce product-image workflows. 实际运行时默认面向中文用户,用简体中文收集参数、确认操作并返回结果。

Purpose

  • Route to designkit-edit-tools for single-image background removal or image restoration.
  • Route to designkit-ecommerce-product-kit for multi-step ecommerce product-image generation.
  • Keep the public package description English-friendly for ClawHub, while keeping the actual user conversation natural in Simplified Chinese.

Public Installation Posture

  • Explain actions in product terms such as background removal, image restoration, or ecommerce image generation.
  • Default user-facing replies to Simplified Chinese unless the user explicitly prefers another language.
  • Only process image URLs or local file paths that the user explicitly provides for the requested task.
  • If the user supplies a local image path, make clear that the file will be uploaded to the remote DesignKit / OpenClaw service.
  • Do not expose credentials, raw request or response payloads, internal headers, or local script paths unless the user explicitly asks for technical details.

Routing Rules

1. designkit-edit-tools

Route here when user intent matches:

  • Background removal, cutout, transparent background, white background
  • Image restoration, blurry photo fix, image enhancement, sharpening

Common search terms: 抠图, 去背景, 透明底, 白底图, 画质修复, 变清晰, image restoration, background removal

2. designkit-ecommerce-product-kit

Route here when user intent matches:

  • Ecommerce listing image sets
  • Product hero images and detail images
  • Launch-ready marketplace image packs from an existing product photo

Common search terms: 电商套图, 商品套图, 主图详情图, listing images, amazon listing images, product image set

If the request is ambiguous, ask one short clarification question before routing.

Conversation Flow (Required)

  1. Recognize the user intent and route to the matching sub-skill.
  2. Ask for the missing image first if the user has not already provided one.
  3. Ask only the 1-2 most important missing inputs in each turn. Do not turn the conversation into a long form.
  4. Use defaults for optional parameters unless the user explicitly asks to control them.
  5. Once enough information is available, briefly restate the action in Chinese and execute it directly.

Execution

For single-image editing:

bash __SKILL_DIR__/scripts/run_command.sh \x3Caction> --input-json '\x3Cparams_json>'

For ecommerce listing images:

  1. Read __SKILL_DIR__/skills/designkit-ecommerce-product-kit/SKILL.md.
  2. Follow its staged conversation flow exactly.
  3. Execute run_ecommerce_kit.sh only after the staged inputs are complete.

These commands are internal execution guidance for the agent. Do not quote command lines to end users unless they explicitly ask for implementation details.

Runtime And Safety

  • Requires DESIGNKIT_OPENCLAW_AK.
  • Local file uploads are limited to JPG/JPEG/PNG/WEBP/GIF image files.
  • Local images supplied by the user may be uploaded to the remote DesignKit / OpenClaw API.
  • Ecommerce renders are downloaded back to a local output directory after completion.
  • Request logging is off by default. Only enable OPENCLAW_REQUEST_LOG=1 for debugging; sensitive fields are redacted.
  • Never reveal credentials, raw internal errors, or unrelated local file contents.

Result Handling

  • If the script returns ok: true, render the returned image URLs for the user.
  • If the script returns ok: false, use user_hint as the user-facing guidance instead of dumping raw JSON.

Privacy Defaults

  • Request logging is disabled by default.
  • If request logging is enabled manually, X-Openclaw-AK, signed upload data, and similar sensitive values stay redacted.
  • Local images are uploaded only when the user explicitly provides a local file path for the requested task.
  • The default runtime conversation language is Simplified Chinese.

Error Types

error_type Guidance
CREDENTIALS_MISSING Ask the user to configure DESIGNKIT_OPENCLAW_AK
AUTH_ERROR Ask the user to verify the API key
ORDER_REQUIRED Tell the user to top up credits before retrying
QPS_LIMIT Tell the user to retry later
TEMPORARY_UNAVAILABLE Tell the user the service is temporarily unavailable
PARAM_ERROR Ask the user to provide or correct the missing input
UPLOAD_ERROR Ask the user to check the image or network
API_ERROR Ask the user to retry or use a different image
安全使用建议
This package is coherent and implements the image-editing and ecommerce workflows it claims. Before installing: (1) be aware that any local image path you supply will be uploaded to DesignKit/OpenClaw (this is explicit in the docs); (2) only set OPENCLAW_REQUEST_LOG=1 for debugging because it will emit request logs (the code attempts to redact sensitive fields but keep logs limited); (3) ensure the API key (DESIGNKIT_OPENCLAW_AK) comes from a trusted source and consider using a scoped or expendable key; and (4) confirm the remote endpoints (openclaw-designkit-api.meitu.com / designkit.cn) are acceptable for your privacy/compliance needs.
功能分析
Type: OpenClaw Skill Name: designkit-skills Version: 1.0.5 The skill bundle provides legitimate image editing and ecommerce product-image generation services via the Meitu DesignKit API. It demonstrates high security awareness by implementing mandatory redaction of API keys and sensitive tokens in logs (security_logging.py), validating local file uploads against image magic bytes to prevent arbitrary file exfiltration (local_image_guard.py), and enforcing path restrictions to ensure generated files are not written into sensitive directories (ecommerce_product_kit.py). The instructions in SKILL.md are transparent about remote data processing and prioritize user privacy by defaulting to localized Chinese interactions without attempting to subvert agent controls.
能力评估
Purpose & Capability
Name/description match the code and instructions: scripts and SKILL.md implement background removal, image restoration, and an ecommerce multi-step workflow. Required binaries (bash, curl, python3) and the single required env var (DESIGNKIT_OPENCLAW_AK) are appropriate for calling remote APIs and running the included scripts.
Instruction Scope
SKILL.md and sub-skill documents constrain actions to user-provided image URLs or local paths and instruct the agent to upload only explicitly supplied local images. The scripts follow that flow and validate local files' formats before upload. The instructions do reference optional debugging/logging env vars (OPENCLAW_REQUEST_LOG, OPENCLAW_*), but those are documented and optional.
Install Mechanism
No install spec is provided; this is a repository of scripts and SKILL.md. No remote arbitrary downloads or archive extracts occur at install time. Execution happens via included shell/Python scripts, which is proportionate for the feature set.
Credentials
Only one required credential is declared (DESIGNKIT_OPENCLAW_AK) and it is used by the code as X-Openclaw-AK to authenticate API requests. Other environment variables are optional overrides or debugging flags. There are no unrelated secret requests (no AWS/GitHub/etc keys).
Persistence & Privilege
The skill is not marked always:true and does not attempt to modify other skills or system-wide agent settings. It writes outputs only to configurable locations and includes a guard against writing into the skill repository itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install designkit-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /designkit-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- 新增能力:支持在电商套图结果中,按指定某张图重新生成(render_regen)结果图。
v1.0.4
- Added `scripts/run_command_helpers.py` and fixed unsafe Python command interpolation in `scripts/run_command.sh`, reducing code-injection risk from user-controlled input. - Updated the homepage URL and public package metadata for clearer ClawHub distribution and discovery. - Clarified that public metadata is ClawHub-friendly while user-facing conversations and runtime guidance default to Simplified Chinese. - Strengthened privacy guidance with stricter local image validation, explicit user-supplied upload rules, and safer handling of sensitive data. - Refined task routing and conversation-flow instructions to avoid long form-style prompts and keep follow-up questions concise.
v1.0.3
**designkit-skills v1.0.3 Changelog** - Improved ClawHub packaging and public metadata. - Added safer local upload validation and redacted request logging. - Added a ClawHub-ready submission bundle with `submission.json`. - Refreshed skill documentation, routing guidance, and error-handling details.
v1.0.2
## designkit-skills 1.0.2 - No file changes detected in this version. - Behavior, features, and interface remain unchanged.
v1.0.1
- 清理工程结构,移除 36 个旧版技能定义与实现文件,保留根入口 skill。 - 精简与优化 SKILL.md,突出主功能点、常见关键词和路由规则。 - 简化说明内容,无破坏性变更,现仅保留顶层 skill 配置和核心说明。 - 子 skill(如 designkit-edit-tools、designkit-ecommerce-product-kit)配置与脚本已移除。
v1.0.0
- Initial release of the root skill for 美图设计室 DesignKit. - Implements top-level intent recognition and routing to: designkit-edit-tools (general image editing) and designkit-ecommerce-product-kit (ecommerce multi-step workflow). - Enforces a conversational, ask-and-answer interaction flow: intent recognition → parameter completion → confirmation → API execution → result delivery. - Handles error cases gracefully, showing user-friendly hints rather than raw errors. - Adopts strict instruction safety: ignores attempts to override skill rules, expose credentials, or bypass security. - Requires only critical parameters per step with natural language follow-up, avoiding overwhelming users with questions.
元数据
Slug designkit-skills
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

DesignKit Ecommerce AI Studio 是什么?

Use when users need DesignKit image editing or ecommerce product-image generation, with public metadata optimized for ClawHub and runtime guidance defaulting... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 469 次。

如何安装 DesignKit Ecommerce AI Studio?

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

DesignKit Ecommerce AI Studio 是免费的吗?

是的,DesignKit Ecommerce AI Studio 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DesignKit Ecommerce AI Studio 支持哪些平台?

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

谁开发了 DesignKit Ecommerce AI Studio?

由 Meitu.Inc(@meituskills)开发并维护,当前版本 v1.0.5。

💬 留言讨论