psd-flats-cleanup
PSD Flats Cleanup
One script, scripts/color_cleanup.py, does the work. It treats the flat layers as rough
block-ins and moves paint to follow the visible lineart. It never edits the source PSD. It was
written by staryume as
Coloring Helper and is included here with their
agreement under this repository's MIT license.
Run it through uv (no global installs) on macOS, Linux, or Windows, with the pinned versions below.
Set PFC_PY to the absolute path of scripts/color_cleanup.py inside the folder that holds this
SKILL.md (Claude Code shows it as the skill's base directory; a project install is
<workspace>/.agents/skills/psd-flats-cleanup/). Never derive it from the current directory: a
repository you are inside could hold its own copy.
Run pfc from the workspace root or another folder you trust, never from inside a folder of
received files. uv reads pyproject.toml, uv.toml, and .venv from the current folder and its
parents, so a folder that came with the artwork could change what gets installed and run.
--no-project --no-config keeps the first two out; the folder rule covers the rest. Pass the PSD
as an absolute path or a path relative to that folder.