photocraft
Skill by BlackBeltTechnology
Edits raster images with PhotoCraft, a headless Photoshop-style editor, through pi-craft. It covers selection, crop, resize, colour grading, masking, content-aware fill and batch conversion.
Install photocraft
Built from the published package, never by AI.
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard /tmp/pi-agent-dashboard && mkdir -p ~/.claude/skills && cp -r /tmp/pi-agent-dashboard/packages/craft-apps/.pi/skills/photocraft ~/.claude/skills/photocraftRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard /tmp/pi-agent-dashboard && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pi-agent-dashboard/packages/craft-apps/.pi/skills/photocraft ~/.gemini/antigravity-cli/skills/photocraftAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
PhotoCraft is a raster image editor with about 900 Photoshop-style commands. The pi-craft tool sets up the headless photocraft-cli on first use, so no desktop app is needed. The assistant can run edits in one pass with photocraft-cli, read image info, convert formats and run batches over a folder. It reads and writes png, jpg, webp, tif and psd, and PSD keeps layers.
For edits that need generated pixels, the skill pairs PhotoCraft with pi-nano-banana. The replace-region command crops the region, has Gemini edit only that crop, and places the result back with a feathered mask. The skill is for users who want to edit, retouch or crop photos, remove objects, or replace one part of an image from an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Crop and resizeCrops an image to a box and sets its size, for example 600x400 from a 1200x800 source.
- Colour gradingApplies brightness, contrast and other adjustments to an image.
- Content-aware fillRemoves the content inside a selection and fills it from the surroundings.
- Selections and masksSelects a rectangle or detected object, expands it, and uses it for later edits.
- Format conversionConverts between psd, png, jpg, webp and tif, and runs batch conversion with quality settings.
- Generative part replacementUses replace-region to change one part of an image with Gemini, editing only a crop.
- Layered outputSaves to PSD so layers, and the original plus masked patch, can be kept for manual fixes.
- Command discoveryLists command ids and parameter schemas by keyword so the assistant does not guess them.
- MCP routeOptional server registered with pi-craft mcp --register, confined to the project directory.
What you need
- pi-craft to provision photocraft-cli on first use
- Linux needs glibc 2.35 or newer
- GEMINI_API_KEY or --backend pi for replace-region
- pi-nano-banana for generated pixels
Try asking
- Crop this photo to 800x600 and export it as a WebP at quality 85.
- Remove the object inside this rectangle using content-aware fill.
- Replace just the sky in this photo with a clear blue sky, keeping the lighting.
Good to know
- A selection only lives inside one run, so chain select and the command that uses it.
- select.object can return no selection on flat or low-contrast images.
- replace-region needs a Gemini key or the pi backend.
- MCP document paths must lie under the project root.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/craft-apps/.pi/skills/photocraft/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to photocraft
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
photocraft: common questions
Does PhotoCraft need the desktop app?
No. The source says pi-craft provisions the headless photocraft-cli on first use, with no desktop app.
Can it keep layers in the output?
Yes. PSD keeps layers, and saving as .psd lets you open and continue editing later with layers intact.
What happens outside the crop box in replace-region?
The source says pixels outside the crop box are identical to the input, so only the cropped region changes.
How do I install photocraft?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is photocraft free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is photocraft safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. 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 photocraft?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
