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 binggandata/bggg-skills --skill bggg-creator-image2psdgit clone --depth 1 https://github.com/binggandata/bggg-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/binggandata/bggg-skills/bggg-creator-image2psd)<a href="https://agentmods.dev/skills/binggandata/bggg-skills/bggg-creator-image2psd"><img src="https://agentmods.dev/badge/skills/binggandata/bggg-skills/bggg-creator-image2psd/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/binggandata/bggg-skills/bggg-creator-image2psd"><img src="https://agentmods.dev/badge/skills/binggandata/bggg-skills/bggg-creator-image2psd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00157 | $0.02304 |
| Opus 5.5 | $0.00063 | $0.00922 |
| Sonnet 5.5 | $0.00031 | $0.00461 |
| Haiku 4.5 | $0.00016 | $0.00230 |
Grade A, and why
bggg-creator-image2psd 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BGGG Creator Image2PSD
用这个 skill 把图片资产组织成可编辑的 PSD 栅格图层。核心脚本是 scripts/image2psd.py,它不依赖 Photoshop 或 ImageMagick,能独立写出带图层名、透明通道和合成预览的 PSD。
Codex 适配默认策略
在 Codex 里处理图片转 PSD 时,默认配合 imagegen skill 的能力:
- 先用 Codex 的视觉理解能力判断图层结构、主体/背景/文字/装饰的边界、以及哪些区域需要重建背景。
- 如果用户要求从描述生成、补齐缺失元素、移除对象后补背景、或拆出更干净的独立商品/主体图,优先使用
imagegenskill 的内置生图/编辑能力生成项目内资产,再交给本 skill 组装 PSD。 - 如果用户明确要求“不改变相对位置”“直接在 Photoshop 拼接”,优先保留原图像素:每个图层输出为同尺寸全画布透明 PNG,只改变 alpha,不重绘内容。只有背景擦除/补洞可使用 inpaint 或 imagegen 辅助。
- 不要把 imagegen 的默认输出留在
$CODEX_HOME。项目要用的图片必须复制到本 skill 的项目目录。
项目目录约定
每次处理图片都创建独立项目目录,放在本 skill 文件夹下:
bggg-creator-image2psd/
└── projects/
└── YYYYMMDD_slug/
├── original_reference.png
├── manifest.json
├── layer_sources/
├── psd_full_canvas_layers/
├── output.psd
├── output.preview.png
├── psd_full_canvas_layers.zip
└── process_notes.md
命名规则:
YYYYMMDD_slug使用当前日期和简短英文/拼音任务名,例如20260503_lifestyle_product.original_reference.png是本次处理的源图副本。layer_sources/保存用于组装的透明图层源。psd_full_canvas_layers/保存 Photoshop 可直接按原位叠放的全画布 PNG 图层。process_notes.md记录图层划分、是否使用 imagegen、验证结果和已知限制。
工作流
-
判断任务类型:
- 多张元素图已经存在:复制到项目目录,用
assemble,按图层顺序写 manifest。 - 只有一张平面图且要保留相对位置:做语义/区域拆层,每层保持原图同尺寸;背景层用 inpaint 或 imagegen 辅助清理被拆出的区域。
- 只有一张平面图且只要粗拆:用
split-colors按颜色聚类拆层,并说明它不是语义对象拆层。 - 用户要从描述生成 PSD:先用 Codex imagegen 分别生成背景、主体、文字/装饰等项目资产,再用
assemble合成 PSD。
- 多张元素图已经存在:复制到项目目录,用
-
创建
projects/YYYYMMDD_slug/,把源图和所有输出放进去。默认用脚本初始化:python3 bggg-creator-image2psd/scripts/init_project.py lifestyle_product \ --source 用户附件.png \ --date 20260503如果使用了 imagegen,先把
$CODEX_HOME下的生成结果复制到该项目的imagegen_assets/,再进入拆层或合成流程。 -
确定画布尺寸。优先沿用源图尺寸;海报类任务需要明确宽高。
-
处理透明:
- 背景层用
remove_background: none。 - Logo、文字、装饰图常用
remove_background: white。 - 白帆、白色产品、浅色主体这类容易被白底吞掉的元素用
remove_background: white-preserve。 - 非白色纯底用
corner或color。
- 背景层用
-
运行脚本输出 PSD、预览 PNG、可选的单层 PNG 目录/zip。
-
验证输出:检查脚本 JSON 摘要里的
layer_count、预览 PNG、PSD 文件大小;用 Pillow 或 Photoshop/Photopea 检查 PSD 可读性。 -
写
process_notes.md,记录图层、路径、验证和限制。
What ships with it
12 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.
- .gitignore 266 B
- assets/sample-manifest.json 644 B
- evals/evals.json 1.7 KB
- LICENSE 1.0 KB
- projects/.gitkeep 0 B
- README_EN.md 5.0 KB
- README.md 4.8 KB
- references/implementation-notes.md 4.2 KB
- references/source-projects.md 1.0 KB
- scripts/image2psd.py 35 KB runs code
- scripts/init_project.py 2.9 KB runs code
- scripts/requirements.txt 196 B
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.
- 2mo ago First seen · 195 lines · 157 tokens per session scan A dbcac3129942
bggg-creator-image2psd is a skill published in the GitHub repository binggandata/bggg-skills (612 stars, last pushed 2mo ago), licensed MIT. It adds 157 tokens to every session and 2,304 once invoked, about $0.0006 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-08-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.