image-to-layered-psd
Skill by yhhgongzuo
Rebuilds a single flat image, such as a JPG, PNG or WebP, as an editable layered PSD using Photoshop. It is for designers who need layered source files from finished artwork, not for ordinary retouching.
Install image-to-layered-psd
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yhhgongzuo/Img-to-PSD /tmp/Img-to-PSD && mkdir -p ~/.claude/skills && cp -r /tmp/Img-to-PSD ~/.claude/skills/image-to-layered-psdRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yhhgongzuo/Img-to-PSD /tmp/Img-to-PSD && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Img-to-PSD ~/.gemini/antigravity-cli/skills/image-to-layered-psdAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install image-to-layered-psd in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill rebuilds one JPG, PNG or WebP image as an editable layered PSD. It triggers when a user asks to split an image into a PSD, convert an image to layered PSD, or recover a PSD source from a flat picture. It regenerates complete products and props in occlusion order, keeps the original size, positions and lighting, and places main text as native Photoshop text.
The workflow runs in checkpoints. It inventories each element, generates batches, splits assets with asset_ops.py, checks colour fringes, then builds the file in Photoshop with build_psd.ps1 and verifies it with verify_psd.py. The source says it is not for ordinary retouching or for redesigning e-commerce main images. It suits designers who need an editable PSD from a flat image.
Written from the project's SKILL.md and checked against it.
What it can do
- Layered PSD rebuildRecreates a flat image as an editable PSD with separate object, shadow, text and shape layers.
- Occlusion-based batchingGroups elements without overlap into batches and regenerates occluded items separately.
- Transparent or safe backgroundChooses a transparent or safe solid background per batch and converts it for splitting.
- Double-layer shadowsRebuilds a near, narrow contact shadow and a far, wide soft shadow for resting objects.
- Colour fringe checksChecks and corrects residual colour fringes at edges after colour and blur adjustments.
- Photoshop verificationBuilds the PSD through Photoshop and checks it by reopening, editing text and moving groups.
What you need
- Python with Pillow, numpy and opencv-python
- psd-tools for PSD verification
- Photoshop installed on the local machine, driven through COM
- An image generation tool that supports the imagegen skill
- Windows, since the build step uses a PowerShell script
Try asking
- Split this image into a layered PSD file for editing
- Convert this product photo to a layered PSD with native text
- Recover a PSD source file from this flat poster image
Good to know
- Does not promise pixel-level match for regenerated details; unclear text is recorded, not invented.
- Not for ordinary retouching or for redesigning e-commerce main images.
- Images with a long side over 4096 px are scaled down to 4096 px.
- Without image generation or Photoshop, it reports the gap and does not deliver a flat PSD as a layered result.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to image-to-layered-psd
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
image-to-layered-psd: common questions
What image formats can this skill convert to layered PSD?
The source names JPG, PNG and WebP images, and says a single image is rebuilt into an editable layered PSD.
Does it need Photoshop?
Yes. The source says it calls Photoshop to create embedded objects, text, shapes and smart filters, and to verify the result.
Can it be used to redesign product main images?
No. The source states it is not for ordinary retouching or redesigning e-commerce main images.
How do I install image-to-layered-psd?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is image-to-layered-psd free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is image-to-layered-psd safe to use?
It scores 55 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to image-to-layered-psd?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
