linkpix-product-swap SKILL.md skillA
linkpix-product-swap from autoagc/linkpix-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add autoagc/linkpix-skills/linkpix-product-swap@git:20261016.5471403Pins git:20261016.5471403 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- autoagc/linkpix-skills
- Path
skills/linkpix-product-swap/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261016.5471403, committed Oct 16, 2026
- First version recorded
- Aug 21, 2026
- Size
- 8,834 bytes
- Repository stars
- 31
- License
- MIT
一键替换图片中的商品主体,自动保留场景、构图及光影效果,大幅提升商品素材复用效率。当用户要求把图里的商品换成另一个商品、场景图复用给新品、替换产品主体时必须触发。关键词:LinkPix、qhkit、产品替换、商品替换、换商品、主体替换、场景复用、素材复用、新品套用老图。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 电商商品替换 | 替换产品 | 保留场景换品 | 素材复用 | LinkPix
好场景不浪费:「图1 场景图 + 图2 新商品」双参考图,把场景里的旧商品换成新商品,构图光影原样保留。
## 何时触发
- 「把这张场景图里的商品换成新品」
- 「这套素材场景很好,套用给另一个产品」
## 使用配方
```bash
qhkit image generate '{"modelLabel":"智慧模型","uploadedImages":["./场景图.jpg","./新商品图.jpg"],"prompt":"将图1中的商品主体替换为图2的商品,保持图1的场景、构图、透视与光影效果完全不变,新商品的比例与摆放自然合理,细节与图2一致"}'
```
- 新旧商品形态差异大(如杯子换台灯)时,在提示词里补一句摆放方式(立放/平放/悬挂)。
- 替换后目检新商品的比例、透视和倒影是否自然。
**模型选择**:默认 `智慧模型`(效果好、有免费额度,LinkPix 工作台各图片编辑功能同用此模型);要更强真实感或更快换 `图片 5.0 Pro`;多张产出之间要细节一致用 `图片 5.0 Lite`;用户明确要最好效果且不赶时间用 `专图模式`。
**尺寸**:`sizePreset` 逐模型独立,先查再传:`qhkit image options '{"queryParams":["sizePreset","imageCount"],"modelLabel":"智慧模型"}'`;`imageCount` 可选 1/2/4/6/8/10。
**提示词**:官方模板中的 `【】` 表示需填入/替换的内容,生成时保留【】并把实际内容写在里面即可;可在模板后追加细节要求。
**注意**:这是生成式重绘,不是像素级修图——主体细节可能有轻微差异,出图后应引导用户核对关键细节(文字、logo、商品结构)。
## 环境自举(缺什么装什么,不要因环境缺失放弃任务)
本技能依赖 `qhkit` 命令(npm 包 `@iqinghu/qhkit`),可完全独立安装。按顺序检测,缺失就地补齐:
1. **有 qhkit 吗?** `qhkit config show` 能跑通即就绪,跳到第 4 步。
2. **没有 qhkit 但有 node/npm**(OpenClaw/Hermes 机器部署流程保证自带 Node 22+)→ 全局安装(推荐):
```bash
npm i -g @iqinghu/qhkit
```
…Read the whole file at its exact version.
How to install
mdr add autoagc/linkpix-skills/linkpix-product-swap@sha256:7c77a3312e744232The line at the top of this page pins the label git:20261016.5471403, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6aglotisxdwxvwqf)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 21, 2026 and Oct 16, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261016.5471403 latest | 2026-10-16 | 5471403 | 8,834 B | A | view · diff |
| git:20260908.e0bf7eb | 2026-09-08 | e0bf7eb | 7,188 B | A | view · diff |
| git:20260826.651b96a | 2026-08-26 | 651b96a | 10,896 B | A | view · diff |
| git:20260825.dc10445 | 2026-08-25 | dc10445 | 10,863 B | A | view · diff |
| git:20260822.4eeaeaf | 2026-08-22 | 4eeaeaf | 9,263 B | A | view · diff |
| git:20260821.b7c4a1b | 2026-08-21 | b7c4a1b | 6,783 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8834 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
autoagc/linkpix-skills · 31 stars · license MIT · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6aglotisxdwxvwqf GET https://markdownregistry.com/api/v1/resolve?ref=autoagc/linkpix-skills/linkpix-product-swap GET https://markdownregistry.com/api/v1/blob/7c77a3312e7442326a7e9471fef31a8a1e351bfc0db9952c88012315bc354c33
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.