bggg-creator-image2psd

bggg-creator-image2psd is a skill for Codex from binggandata/bggg-skills. It costs 157 tokens per session (2,304 once invoked), scanned A, original, MIT.

A skill that turns one or more images into layered PSD files that can be edited in Photoshop or Photopea. It can organize backgrounds, text, subjects, decorations, and other raster elements into named layers.

In plain words
What is it for?
It is for converting posters, design images, and AI-generated visuals into layered PSD files, including separating elements, removing backgrounds, and combining multiple images.
Why use it?
It removes the need to recreate a flat image from scratch when an editable layered file is needed. It can preserve the original positioning and transparency when exact placement matters.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

Good fit It is for converting posters, design images, and AI-generated visuals into layered PSD files, including separating elements, removing backgrounds, and combining multiple images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/binggandata/bggg-skills/bggg-creator-image2psd
Install

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.

Any agent
npx skills add binggandata/bggg-skills --skill bggg-creator-image2psd
Clone the repo
git clone --depth 1 https://github.com/binggandata/bggg-skills

Made for: 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 bggg-creator-image2psd

README.md
[![agentmods](https://agentmods.dev/badge/skills/binggandata/bggg-skills/bggg-creator-image2psd/github.svg)](https://agentmods.dev/skills/binggandata/bggg-skills/bggg-creator-image2psd)
Your own site
<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.

agentmods 80×15 button for bggg-creator-image2psd

Your own site · 80×15
<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>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,304 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00157 $0.02304
Opus 5 $0.00078 $0.01152
Sonnet 5 $0.00031 $0.00461
Haiku 4.5 $0.00016 $0.00230

Measured 13d ago against content hash dbcac3129942, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/image2psd.py, scripts/init_project.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

bggg-creator-image2psd/SKILL.md · 195 lines

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 的视觉理解能力判断图层结构、主体/背景/文字/装饰的边界、以及哪些区域需要重建背景。
  • 如果用户要求从描述生成、补齐缺失元素、移除对象后补背景、或拆出更干净的独立商品/主体图,优先使用 imagegen skill 的内置生图/编辑能力生成项目内资产,再交给本 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、验证结果和已知限制。

工作流

  1. 判断任务类型:

    • 多张元素图已经存在:复制到项目目录,用 assemble,按图层顺序写 manifest。
    • 只有一张平面图且要保留相对位置:做语义/区域拆层,每层保持原图同尺寸;背景层用 inpaint 或 imagegen 辅助清理被拆出的区域。
    • 只有一张平面图且只要粗拆:用 split-colors 按颜色聚类拆层,并说明它不是语义对象拆层。
    • 用户要从描述生成 PSD:先用 Codex imagegen 分别生成背景、主体、文字/装饰等项目资产,再用 assemble 合成 PSD。
  2. 创建 projects/YYYYMMDD_slug/,把源图和所有输出放进去。默认用脚本初始化:

    python3 bggg-creator-image2psd/scripts/init_project.py lifestyle_product \
      --source 用户附件.png \
      --date 20260503
    

    如果使用了 imagegen,先把 $CODEX_HOME 下的生成结果复制到该项目的 imagegen_assets/,再进入拆层或合成流程。

  3. 确定画布尺寸。优先沿用源图尺寸;海报类任务需要明确宽高。

  4. 处理透明:

    • 背景层用 remove_background: none
    • Logo、文字、装饰图常用 remove_background: white
    • 白帆、白色产品、浅色主体这类容易被白底吞掉的元素用 remove_background: white-preserve
    • 非白色纯底用 cornercolor
  5. 运行脚本输出 PSD、预览 PNG、可选的单层 PNG 目录/zip。

  6. 验证输出:检查脚本 JSON 摘要里的 layer_count、预览 PNG、PSD 文件大小;用 Pillow 或 Photoshop/Photopea 检查 PSD 可读性。

  7. process_notes.md,记录图层、路径、验证和限制。

Read the full file on GitHub · 195 lines

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. 13d ago First seen · 195 lines · 157 tokens per session scan A dbcac3129942

Subscribe to this mod's changes

bggg-creator-image2psd is a skill published in the GitHub repository binggandata/bggg-skills (594 stars, last pushed 1mo ago), licensed MIT. It adds 157 tokens to every session and 2,304 once invoked, about $0.0008 per session on Opus 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.

Related

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.

nexu-io/open-design · 41 tokens

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.

nexu-io/open-design · 53 tokens

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).

nexu-io/open-design · 78 tokens

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.

Yeachan-Heo/oh-my-codex · 52 tokens

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.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens