💡
AI EngineeringPython

XXG Portrait Rebuild Light

by moskoo

XXG Portrait Rebuild Light is an AI Engineering skill for Claude Code, published by moskoo in xxg-portrait-rebuild-light.

16 stars2 forkson moskoo/xxg-portrait-rebuild-lightAdded 2026/08/12Repository updated 2026/08/11
agent-skillsai-agentscodeximage-editingopenaiportrait-editingprompt-engineeringrelighting
Install in seconds
Install XXG Portrait Rebuild Light
Copy XXG Portrait Rebuild Light into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/moskoo/xxg-portrait-rebuild-light ~/.claude/skills/xxg-portrait-rebuild-light

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/moskoo/xxg-portrait-rebuild-light.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
SKILL.md in moskoo/xxg-portrait-rebuild-light
Installs to
~/.claude/skills/xxg-portrait-rebuild-light
Collection
The only skill cataloged from this repository
Category
AI Engineering2451 skills

What XXG Portrait Rebuild Light does

XXG Portrait Rebuild Light edits existing portrait photos to rebuild lighting, shadows, and background atmosphere while preserving identity and composition. Use it for relighting, backlight repair, and restoring clean natural skin texture without redrawing the person.

XXG Portrait Rebuild Light is cataloged under AI Engineering on DirSkills. XXG Portrait Rebuild Light comes from a repository tagged agent-skills, ai-agents, codex, image-editing and openai.

Documentation

README

XXG 人像真实光影重建

目标

把输入照片视为同一张摄影原片,对其做一次明确、克制的 image edit:

  • 保持同一人物、原有面部结构、自然不对称、表情、姿势、镜头与构图;
  • 重新组织主光、补光、阴影和背景氛围,使光线具有真实方向与空间响应;
  • 把塑料般平滑的皮肤恢复为干净、健康、低对比的相机微纹理;
  • 让变化在正常观看下可辨,但不靠改脸、颗粒、色差或粗糙处理制造效果。

光源物理效果优先于“所有内容都清楚”。根据光位与曝光意图,允许受光面明亮、背光面深暗、局部高光自然溢出、暗部接近黑色或主体形成合理剪影;不得用统一补光把逆光、低调或硬光重新抹平成平均曝光。

先调用宿主原生图片能力

取得源图后,先读取当前智能体原生图片生成 Skill 的规则,再从当前工具注册表发现真实 callable。默认使用宿主自己的 image edit 能力,不直接拼装 API、CLI、SDK 或模型端点。

Codex 精确调用

functions.exec 中先检查 ALL_TOOLS

This is the opening of the README. Read the full README on GitHub.

Frequently asked about XXG Portrait Rebuild Light

  • How does XXG Portrait Rebuild Light compare to other AI Engineering skills?

    XXG Portrait Rebuild Light ranks #2394 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of XXG Portrait Rebuild Light against them. Open each page to compare what they document and how they install.