linkpix-background-swap SKILL.md skillA
linkpix-background-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-background-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-background-swap/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261016.5471403, committed Oct 16, 2026
- First version recorded
- Aug 21, 2026
- Size
- 9,092 bytes
- Repository stars
- 31
- License
- MIT
智能识别商品主体,一键替换图片背景,生成不同风格的营销场景图,无需 PS。当用户要求给商品图换背景、替换场景、白底图换成场景图、把商品放到某个场景里时必须触发。关键词:LinkPix、qhkit、换背景、更换背景、背景替换、场景替换、白底换场景、商品换背景、营销场景图、免PS。.
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
用「参考图 + 编辑指令」在保持商品主体不变的前提下替换背景:底层是 `qhkit image` 自定义生图。
## 何时触发
- 「把这张图的背景换成……」「白底图换成实景」
- 「商品放到大理石台面/户外/圣诞场景」
- 一张商品图要多个场景版本时(循环生成)。
## 使用配方
```bash
qhkit image generate '{"modelLabel":"智慧模型","uploadedImages":["./商品图.jpg"],"prompt":"给图片中的产品换个背景:【大理石台面,暖色氛围灯,浅景深】,背景与主体光影统一"}'
```
官方提示词模板(与 LinkPix 工作台「更换背景」功能同款):`给图片中的产品换个背景`——在其后用【】补上目标场景描述,效果更可控。
- 目标场景写得越具体(材质、光源方向、氛围)效果越稳;用户没说清时先追问或给 2–3 个场景方案。
- 要多个场景版本:逐场景各提交一次,或 `imageCount` 一次出多张同场景变体。
**模型选择**:默认 `智慧模型`(效果好、有免费额度,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-background-swap@sha256:06bf308bfec5c8e9The 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_glxrmlwe52jobblk)
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 | 9,092 B | A | view · diff |
| git:20260908.e0bf7eb | 2026-09-08 | e0bf7eb | 7,446 B | A | view · diff |
| git:20260826.651b96a | 2026-08-26 | 651b96a | 10,285 B | A | view · diff |
| git:20260825.dc10445 | 2026-08-25 | dc10445 | 10,252 B | A | view · diff |
| git:20260822.4eeaeaf | 2026-08-22 | 4eeaeaf | 8,639 B | A | view · diff |
| git:20260821.b7c4a1b | 2026-08-21 | b7c4a1b | 7,067 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 (9092 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_glxrmlwe52jobblk GET https://markdownregistry.com/api/v1/resolve?ref=autoagc/linkpix-skills/linkpix-background-swap GET https://markdownregistry.com/api/v1/blob/06bf308bfec5c8e93ffab0f343c5c875c229e01cc48f789c56435559b31d7ac5
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.