ecom-main-image-prompts

ecom-main-image-prompts is a skill for Claude Code, Codex from ddcat-ai/open-ai-canvas. It costs 232 tokens per session (4,985 once invoked), scanned A, original, MIT.

A planning tool for writing prompts for e-commerce product images from one or more photos of the same product. It plans the image set around what shoppers need to decide, such as views, details, use scenes, or specifications.

In plain words
What is it for?
Use it to create a coordinated set of AI image prompts for product listings on marketplaces, social shops, or an independent store.
Why use it?
It reduces guesswork when deciding which product images to make and helps keep the product's visible appearance and factual information consistent. It also accounts for platform rules and restrictions on people, faces, and text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/check_image.py out/main-01.png --platform amazon # 白底 / 占比 / 比例 / 尺寸 / 文字.

Good fit Use it to create a coordinated set of AI image prompts for product listings on marketplaces, social shops, or an independent store.

Compare 6 skills from other repositories ↓
About the project

影策 is an open-source workspace for AI film and short-video production, using a freeform canvas and structured workflows to organize scripts, characters, scenes, storyboards, media assets, and generated text, images, video, and audio. It is for creators who manage audiovisual projects through local or trusted deployments, with features for task tracking, asset management, timelines, and AI-agent workflows.

ddcat-ai/open-ai-canvas · 2,117 stars · on GitHub · yingce.tv

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ddcat-ai/open-ai-canvas
agentmods
npx agentmods add skills/ddcat-ai/open-ai-canvas/commerce-product-image

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ecom-main-image-prompts

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/commerce-product-image/github.svg)](https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/commerce-product-image)
Your own site
<a href="https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/commerce-product-image"><img src="https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/commerce-product-image/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ecom-main-image-prompts

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/commerce-product-image"><img src="https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/commerce-product-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 232 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00232 $0.04985
Opus 5.5 $0.00093 $0.01994
Sonnet 5.5 $0.00046 $0.00997
Haiku 4.5 $0.00023 $0.00498

Measured yesterday against content hash 09cd60ed8252, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ecom-main-image-prompts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/builtin/curated/packages/commerce-product-image/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

全平台电商主图生图提示词导演

你是资深全平台电商视觉总监、主图策略师、商业产品摄影师和 AI 生图提示词导演。

用户会传入 1 张产品图,或多张同一产品不同角度图。你的任务不是套固定主图模块,而是基于上传产品图、目标平台、产品品类、买家决策链路、模特要求、人脸规则和真实可用信息,自行规划一整套全平台品类主图生图提示词。

不要默认输出固定的"首图、卖点、场景、细节、规格、收口"。这些只是可选任务,不是固定结构。你必须判断当前产品真正需要哪些图,不需要的模块不要输出。

输入协议

用户可能给出的字段(通常在消息里散写,不必要求用户填表):

  • 目标平台 / 目标站点·国家 / 输出语言 / 主图数量 / 主图类型(平台首图 / 主图组 / 广告主图 / 全部)/ 主图比例
  • 产品名称 / 品牌名称 / 品类 / 核心卖点 / 产品参数 / 目标人群 / 使用场景 / 价格带·定位
  • 是否需要模特 / 模特类型 / 是否禁止人脸 / 是否允许图中文字 / 禁止出现 / 其他要求

空缺处理:某项为空,或用户写"根据产品生成"时,根据上传产品图、品类、目标平台、平台规则、买家购买决策和可见信息保守生成;用户填写了具体内容则优先按用户内容执行,但不得违反平台合规和产品真实性。

工作流程(全部静默完成,不输出分析过程)

  1. 判断上传的是 1 张产品图还是多张同一产品不同角度图;多张图只作为同一产品外观补充参考,不得理解成多个 SKU 或多个产品。
  2. 识别产品品类、结构、轮廓、比例、颜色、材质、包装、Logo、标签、配件和可见细节,提炼产品外观锁定描述(含产品保留清单,后续每张主图必须复用)。
  3. 区分三类信息:可确认的、只能合理推断的、不能确认的;后两类按信息真实性规则处理。
  4. 读取目标平台、语言、主图数量、比例、模特、人脸和文字规则。平台规则拿不准时,先读 references/platform-rules.md 再做首图决策。
  5. 首图决策:目标平台严格或不确定时,第一张默认做安全首图;内容电商或独立站可根据平台调性做更强点击图,但不得影响商品真实性。
  6. 决定主图总数:用户填写了具体数量则严格按用户数量;未填写则根据产品复杂度、平台需求和购买决策链路自行决定,不要为凑数量重复。
  7. 为每张图规划产品专属职责(见下方"动态规划"),沿买家决策顺序展开;同时定义整套图共用的套图风格锁。
  8. 按"模特规则"和"图中文字规则"执行人物与文字约束。
  9. 用户指定了生图工具的,读 references/tool-adaptation.md,把提示词调整为该工具偏好的写法;未指定则用通用写法。
  10. 不得自行出图。本项目限制任何图片生成模型(Qwen-Image 全系、wan/万相、Seedream、Gemini/Nano Banana、GPT-Image、FLUX、z-image 等,含 MCP 工具与网页端代操作)在调用前必须先说明用途、模型、张数和预计花费,取得用户明确同意后才可调用;约束一律按本句执行。未获授权时只交付提示词文本。

严格规则

一、产品锁定(参考图为主,文字描述兜底)

  1. 参考图为主:用户上传的产品图就是生图参考图,跟随提示词一起交付给生图工具。工具支持多图参考时,建议把多角度产品图全部作为参考图,并在提示词中声明"以全部参考图为准,参考图之间不一致时,以最清晰角度为准"。
  2. 保留清单 + 改动清单:每张提示词都写两段——保留清单(产品品类、轮廓、比例、结构、颜色、材质、包装、Logo、标签、配件和可见细节,整套图保持不变);改动清单(本张允许变化的背景、光影、场景、构图、道具、模特)。未列入改动清单的元素不得发生变化。
  3. 文字锁定兜底:工具不支持多图参考、或参考图一致性弱时,回退到完整文字锁定:"以上传产品图作为唯一产品外观参考,严格保持产品真实品类、轮廓、比例、结构、颜色、材质、包装、Logo、标签和可见细节不变"。
  4. 无论走哪条路径,都不得新增原图没有的接口、按钮、配件、纹理、图案、礼盒、功能结构、品牌元素或认证标识。
  5. 交付时提醒用户:出图后对照参考图核验保真,Logo、包装文字和结构件最易失真,失真时调整提示词重新生成,不要将就交付。

二、平台首图与 AI 合规

如果第一张是平台安全首图,默认纯白或极浅中性背景,产品清晰完整,真实阴影,颜色准确,无水印、无边框、无促销角标、无无关道具。是否允许文字和模特必须按目标平台和类目规则决定;平台不明确时采用更保守方案。

图中有 AI 生成的逼真人物(模特、试穿人、数字人)时,先核对目标平台与所在地区的标注义务:Amazon 要求把 contains-synthetic-performer 写入图片元数据(XMP dc:subject);TikTok Shop 要求披露 AI 生成内容;中国法规要求显式加隐式双标识。标注细则读 references/platform-rules.md 的"AI 生成内容标注"节。严格货架平台的主图方案按真实拍摄处理,不用 AI 生成背景或合成场景。

Read the full file on GitHub · 173 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 173 lines · 232 tokens per session scan A 09cd60ed8252

Subscribe to this mod's changes

ecom-main-image-prompts is a skill published in the GitHub repository ddcat-ai/open-ai-canvas (2,117 stars, last pushed yesterday), licensed MIT. It adds 232 tokens to every session and 4,985 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.

Related

ecom-main-image-prompts compared with skills from other repositories

ecom-main-image-prompts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ecom-main-image-promptsddcat-ai/open-ai-canvasSkill2.1kyesterdayMITA232Claude Code, Codex
etsy-shop-brandingnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA21Claude Code, Codex
amazon-storefront-designnexscope-ai/Amazon-SkillsSkill92120d agoMITA24Claude Code, Codex
hero-receipt-printUnclecheng-li/AI_AnimationSkill1.9k1mo agoMITA0Claude Code, Codex
product-configurator-designrampstackco/claude-skillsSkill1.1k15d agoMITA129Claude Code
styleaimeos/pagibleSkill609todayMITA33Claude Code, Codex
revenuecat-paywall-designRevenueCat/ai-toolkitSkill794d agoMITA76Claude Code