Who it is forA creator or agent operator who has run several AI edit rounds on one portrait and now sees color shifts, seams, or banding.
The problemEach round of editing adds drift, sharpening, compression, and seams, so the image no longer matches the original subject.
The outcomeA consolidated portrait that uses the first root base as the color and identity reference while keeping intended new changes.
What you need first
- An AI agent with image-generation or image-editing capability, since the README says the skill uses the current agent's own capability by default and needs no separate API
- The source portrait image file, which the skill treats as the root base for color and identity
- The skill instructions from https://github.com/moskoo/xxg-portrait-rebuild-light, read before running
- A clear goal, such as a lighting change, a skin texture repair, or a film look
Steps
- Keep the first source image as the root base and make it available to the agent alongside the latest edit.
- Read the Q4 and Q5 quality repair entries in the repo at https://github.com/moskoo/xxg-portrait-rebuild-light.
- Ask the agent to run Q5 to consolidate the edit against the root base, or Q2 and Q3 if you only see banding or seams.
- Check that intended changes from earlier rounds remain and that the identity and colors match the root base.
Prompt for your agent
Use the xxg-portrait-rebuild-light skill from moskoo/xxg-portrait-rebuild-light to run a Q5 consolidation on <path to latest edit>, using <path to root source image> as the root base. Return one consolidated image, and verify that identity and unchanged colors match the root while the banding and seams are gone.
Caveat. The skill repairs only artifacts you can observe, so you still need to inspect each round to name the defects before asking for a Q code.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for moskoo/xxg-portrait-rebuild-light and "Pull a multi-round AI portrait edit back to its root"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer