Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add linkfox-ai/linkfox-skills --skill linkfox-aigc-imagegen-productgit clone --depth 1 https://github.com/linkfox-ai/linkfox-skillsWrote 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.
[](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-product)<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-product"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-product/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.
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-product"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-product.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.05464 |
| Opus 5 | $0.00058 | $0.02732 |
| Sonnet 5 | $0.00023 | $0.01093 |
| Haiku 4.5 | $0.00012 | $0.00546 |
Grade A, and why
linkfox-aigc-imagegen-product 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 12d ago.
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.
This is a copy
92% identical to linkfox-aigc-imagegen-cloth — 86 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
商品图生成
统一入口:非服饰类商品(美妆、数码、家居、食品等)的全类型电商出图能力。单张直出 & 套图编排都从这一个 skill 进入。
入口路由
| 条件 | 路径 | 操作 |
|---|---|---|
| 只要一张特定类型的图(如"做一张白底图") | 单张直出 | 确定 type → Read 对应 references/types/<type>.md → 执行共享流水线 |
| 要多张 / 多类型 / 套图(如"做一套图""出5张图") | 套图编排 | Read references/runtime/00-index.md → 按步 Read 01-plan / 02-confirm → 调 scripts/run_collection_pipeline.py 三阶段(plan / dispatch / summary,agent 顺序发 3 个 Bash;dispatch 在 skill 层用 ThreadPoolExecutor 并发跑 scripts/run_one_task.py,agent 自己不并发;禁止 Read maintainer/collection/ 或套图阶段 Read types/*.md) |
类型路由表
| type | 名称 | 与卖点关联 | 是否有画面描述 | 默认比例 | 详情 reference |
|---|---|---|---|---|---|
| WHITE_BG | 白底图 | 否 | 否 | 1:1 | references/types/white-bg.md |
| SCENE | 场景图 | 是 | 是 | 1:1 | references/types/scene.md |
| CLOSE_UP | 特写图 | 是 | 是 | 1:1 | references/types/close-up.md |
| SELLING_POINT | 卖点图 | 是 | 是 | 1:1 | references/types/selling-point.md |
| PREMIUM_APLUS | 高级A+图 | 是 | 是 | 1464:600 | references/types/aplus.md |
| STANDARD_APLUS | 普通A+图 | 是 | 是 | 970:600 | references/types/aplus.md |
| PHONE_APLUS | 手机A+图 | 是 | 是 | 600:450 | references/types/aplus.md |
确定 type 后,必须 Read 对应的 type reference 文件获取该类型的步骤 2 差异逻辑和提示词模板,禁止跳过。
不适用
- 服饰 / 模特类图片(上装/下装/连衣裙/外套/鞋帽等)→ 走
linkfox-aigc-imagegen-cloth系列。 - 纯图片编辑操作(换背景、去水印、换角度等已有明确创意方向的操作)→ 走
linkfox-aigc-imagegen。 - 纯文字生成 →
linkfox-aigc-textgen。 - 视频生成 →
linkfox-aigc-videogen。
共享流水线
所有类型都走同一条 3 步流水线,差异部分由各 type reference 定义。
步骤 1:校验图片 URL 可访问性(所有类型通用)
- 输入:
imageUrls - 空数组护栏(强制):若
imageUrls为空数组 / 缺失 / 全部无效,立即停止,不得带空图调下游。优先从上下文(用户本轮/历史上传的原始图片路径)补齐;仍无法补齐时如实向用户报错并请求重新上传,禁止带空imageUrls继续执行。 - 操作:逐项检查
imageUrls中的值(保持原顺序):已是公开 URL(http/https 开头)→ 直接透传;本地文件路径(非 http/https)→ 调linkfox-file-upload上传获得公开 URL 后替换。 - 输出:
imageUrls(全部为公开可访问的 HTTPS URL)
步骤 2:构造最终 prompt(差异部分见各 type reference)
各类型的步骤 2 逻辑不同(是否调 textgen、用哪个模型、是否做敏感词规避等),详见已 Read 的 references/types/<type>.md。
What ships with it
37 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.
- references/maintainer/collection/data-fields.md 2.5 KB
- references/maintainer/collection/README.md 221 B
- references/maintainer/collection/S0-scene-routing.md 11 KB
- references/maintainer/collection/S1-content-reasoning.md 7.5 KB
- references/maintainer/collection/S2-plan-confirm.md 4.4 KB
- references/maintainer/collection/S3-dispatch.md 7.9 KB
- references/maintainer/collection/workflow.md 2.4 KB
- references/onboarding.md 2.0 KB
- references/runtime/00-index.md 1.5 KB
- references/runtime/01-plan.md 877 B
- references/runtime/02-confirm.md 5.9 KB
- references/runtime/03-deliver.md 17 KB
- references/types/aplus.md 6.6 KB
- references/types/close-up.md 4.7 KB
- references/types/scene.md 4.5 KB
- references/types/selling-point.md 5.3 KB
- references/types/white-bg.md 7.0 KB
- scripts/build_imagegen_prompt.py 4.0 KB runs code
- scripts/build_textgen_params.py 8.9 KB runs code
- scripts/collection_pipeline/__init__.py 0 B runs code
- scripts/collection_pipeline/brand_gene.py 3.0 KB runs code
- scripts/collection_pipeline/config.py 2.2 KB runs code
- scripts/collection_pipeline/plan.py 7.1 KB runs code
- scripts/collection_pipeline/runner.py 4.5 KB runs code
- scripts/collection_pipeline/single_task.py 18 KB runs code
- scripts/collection_pipeline/summary.py 4.8 KB runs code
- scripts/collection_pipeline/templates/brand-gene-extract.txt 1.3 KB
- scripts/collection_pipeline/templates/s1-reasoning-cloth.txt 1.5 KB
- scripts/collection_pipeline/templates/s1-reasoning-product.txt 1.0 KB
- scripts/collection_pipeline/utils.py 29 KB runs code
- scripts/onboarding.py 24 KB runs code
- scripts/run_collection_pipeline.py 446 B runs code
- scripts/run_one_task.py 1.2 KB runs code
- scripts/save_image_plan.py 11 KB runs code
- scripts/templates/close-up.txt 6.4 KB
- scripts/templates/scene.txt 10 KB
- scripts/templates/selling-point-aplus.txt 13 KB
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.
- 12d ago First seen · 226 lines · 116 tokens per session scan A 93e58df1a9a4
linkfox-aigc-imagegen-product is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 21d ago), licensed MIT. It adds 116 tokens to every session and 5,464 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to linkfox-aigc-imagegen-cloth, differing in 86 lines, and is treated as a copy.
Other skills, from other repositories
beat-sync-reel
Generates Instagram Reels where product image cuts are synced to audio beats. Accepts audio as a local file, URL, or search query. Uses librosa for beat detection, FFmpeg Ken Burns for scene animation, and Pillow for text overlays. No AI video generation — fully free, fast, and scalable.
ecom-details-image
A planning tool for e-commerce product visuals, including main-image concepts, scene ideas, detail-page directions, and prompts for image-generation systems.
byted-livesaas-master
A control tool for managing business livestreams, including rooms, comments, viewers, product cards, coupons, and live-session settings.
byted-ind-ecom-product-video-prompt
A structured prompt-writing guide for creating e-commerce product videos with Seedance 2.0. It turns one or more product images into a product showcase script using scene settings, timed shots, and output constraints.
tiktok-shop-branding
Brand building and positioning on TikTok Shop. Brand identity development, content pillars, community engagement, brand storytelling, and authenticity strategies. Use when the user asks about TikTok branding, brand building, brand identity, or brand positioning on TikTok.
amazon-listing-images
Amazon product listing image strategy and optimization. Comprehensive shot planning, infographic design, lifestyle photography, mobile optimization, and conversion-focused visual content. Use when the user asks about Amazon images, product photography, visual optimization, or listing conversion.