Chatgpt Image Ad
krusemediallc/arcads-claude-code
Generate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Arcads external API.
Edit an existing JPG, JPEG, PNG, or WebP portrait to rebuild physically coherent light, exposure, color, capture style, clean optical skin, and frame quality without changing the person.
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-light --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .claude/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-light --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .agents/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-light --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .cursor/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-light --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .gemini/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-lightInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .github/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install moskoo/xxg-portrait-rebuild-light xxg-portrait-rebuild-light --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xxg-portrait-rebuild-light" agent skill from https://github.com/moskoo/xxg-portrait-rebuild-light/tree/main into .opencode/skills/xxg-portrait-rebuild-light/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xxg-portrait-rebuild-light", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xxg-portrait-rebuild-lightEdit an existing JPG, JPEG, PNG, or WebP portrait to rebuild physically coherent light, exposure, color, capture style, clean optical skin, and frame quality without changing the person.
Xxg Portrait Rebuild Light is an agent skill from moskoo/xxg-portrait-rebuild-light. Edit an existing JPG, JPEG, PNG, or WebP portrait to rebuild physically coherent light, exposure, color, capture style, clean optical skin, and frame quality without changing the person. Use for plastic-skin or AI-look removal, dirty synthetic texture, banding, edit seams, color drift, multi-round quality loss, tone or white-balance correction, camera/film/device emulation, backlight, prism, blind shadows, candlelight, neon, golden hour, rim light, rain-wet low key, studio light, or silhouettes.
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 38 other files, including scripts, reference files and assets (for example `CHANGELOG.md`, `CONTRIBUTING.md` and `README.ja.md`).
It sits in Media & Creative. It works with OpenAI. The repository describes itself as: xxg-portrait-rebuild-light is an image-edit skill for existing portrait photos. It reconstructs the key light, fill, shadows, and background atmosphere with a director-led… The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 39b1ffd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xxg Portrait Rebuild Light loads about 4.1k tokens when it runs, and up to ~29k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 1,993 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from moskoo/xxg-portrait-rebuild-light at commit 39b1ffd, republished under its MIT licence (© moskoo). 1,993 words, ~4,113 tokens.
.claude/skills/xxg-portrait-rebuild-light/SKILL.md (or your agent's skills folder). This skill also uses 36 other files; get the full folder from GitHub.Treat the input as the same photograph, never as a reference for a replacement portrait. Improve illumination, exposure, color rendering, capture character, skin response, and generation quality while retaining identity, facial geometry and natural asymmetry, expression, pose, camera view, framing, and subject scale. Preserve source optics unless the user explicitly requests an optical restyle.
Build realism from three separable signals:
Do not manufacture realism with dirt, darkness, coarse pores, uniform grain, random color patches, or exaggerated facial lines. The result must first read as a clean photograph at normal size.
texture-only: when the user asks only to remove plastic/AI skin or recover detail, force L0 + E0 + T0 + G0 + D0 + A0 + Q0. Preserve the source lighting, highlight placement, exposure, white balance, focal plane, depth of field, and background.tone-and-exposure: when the user asks for brightness, highlight/shadow recovery, white balance, palette, or grading without new lighting, preserve the source light direction and edit only E/T/G.relight-and-skin: when the user requests a lighting change or selects L/T/A, authorize the requested light response while preserving source focal plane and depth of field unless explicitly changed.capture-style: when the user requests a camera, film, phone, CCD, or era look, edit G/D and only the exposure behavior logically required by that capture; preserve viewpoint, crop, focal plane, and depth of field.optical-restyle: only when the user explicitly requests a different focal-length perspective, camera angle, aperture behavior, or depth of field. State that axis once and permit only the minimum framing/background reconstruction it requires.quality-repair: when the user asks to remove dirty synthetic patterns, banding, posterization, seams, halos, or other generation residue, edit only Q and preserve light, color, structure, optics, and natural texture.base-color-repair: when an edited result has an unintended cast, use the original root base to restore only unchanged or unauthorized color relationships; preserve deliberate recolors and requested E/T/G/A changes.multi-round-repair: when repeated edits accumulate tint, noise, sharpening, compression, banding, or seams, use the latest accepted edit as the target and the first root base as the stable identity/geometry/color reference.Never let texture repair become relighting, tone correction become a new light source, device emulation become a new pose/viewpoint, or quality cleanup become global smoothing or an unauthorized regrade.
ALL_TOOLS and prefer the exact discovered name image_gen__imagegen.const result = await tools.image_gen__imagegen({
referenced_image_paths: ["/absolute/path/source.png"],
prompt: "compact English image-edit prompt"
});
generatedImage(result);Never guess tools.image_gen or input_image. Correct wrong members, arguments, or TypeError from the registered signature and retry. In Claude, OpenClaw, or another host, use the equivalent native image-edit action explicitly exposed by that host.
For base-anchored or multi-round repair, pass exactly [CURRENT_EDIT, ROOT_BASE] and state: Image 1 is the edit target; Image 2 is the original root reference for declared locked axes only. Do not attach every intermediate round.
| Observed state | Required action |
|---|---|
| Compatible image tool discovered | Invoke it. A small face, dense text, complex props, or edge contact lowers detail ambition but never blocks generation. |
| Correct image tool returns a real error | Report the actual error, enter prompt-only, and return a complete compact prompt. |
| Discovery completes with no compatible callable | Enter invocation-handoff and return a complete compact prompt. |
| Result is nearly unchanged, changes identity, creates artificial skin, or misses the light | State that the result did not achieve the requested improvement, enter prompt-handoff, and recompile from the source. |
Reading a skill, inspecting an image, creating a task, or announcing generation is not an image-tool invocation.
Do not use Pillow, NumPy, OpenCV, ImageMagick, FFmpeg, sips, or custom raster scripts to relight, grade, retouch, sharpen, add texture, resize, crop, extend, composite, repair, or produce the delivered image. Use them only for read-only aspect-ratio, mask, and result audits. See requirements.txt.
Read the V2.3 prompt compiler, the lighting and skin recipes, the tone/exposure/style/device recipes, and the quality/iteration recipes. Decide internally as:
Scope → Key L → Exposure E → Fill/Shadow → Skin scale S → Skin finish P → Light color T → Look G → Capture D → Background/Atmosphere A → Quality QSelect exactly:
one L + one E + one S + one P + one T + one G + one D + zero or one A + one QUse one key-light system. Atmosphere and skin reflections must inherit its direction, size, falloff, and color. E controls exposure, G controls palette/curve, and D controls capture response; none may invent another light. A6 is the sole override: force E6 silhouette exposure, remove all subject fill/catchlights/internal illumination, use L/T only for the rear source and background, and suppress S/P. Q may clean the background but must never restore detail inside the silhouette.
Send four core lines, adding RENDER for a requested grade/device response and QUALITY for an observed repair target:
EDIT: scope, identity/structure lock, and source-optics lock.
LIGHT: one L, one E, physical shadow/background response, T, and optional A.
RENDER: one G plus one D, only when either differs from source.
SKIN: one scale-aware S behavior plus one source-consistent P finish.
QUALITY: one Q repair, only when Q differs from source.
AVOID: only the two or three failures most likely for this source.G0 + D0 + Q0; add RENDER only for a requested grade/device and QUALITY only for an observed repair target. Target 55–110 English words, with an absolute ceiling of 135 for combined edits.cinematic, editorial, HDR, film, DSLR, medium format, or smartphone into visible exposure, palette, tonal, microcontrast, sharpening, and dynamic-range behavior.E0 + G0 + D0 + Q0. Never mix multiple device profiles, color looks, or quality recipes. Never claim exact manufacturer color science or pixel identity from prompt wording.deep, near-black, or hard contrast only when the user explicitly selects backlight, hard light, low-key, neon, or silhouette behavior.Every handoff must use this structure with no placeholders.
Keep six source-defined groups stable: face outline/proportions; feature spacing, shape, and size; hairline, parting, and hair mass; source-identifying skin anchors; makeup/accessories; and apparent age/expression. Do not describe these groups in detail to the image model unless a real failure requires a shorter identity retry. Detailed identity checks belong in validation, not the generation prompt.
Under A6, internal features are intentionally hidden. Judge identity from hair/head/body outline, head-to-body ratio, pose, position, and framing.
fair, whiter, or beauty-grade language unless the user explicitly requests a complexion change.optical-restyle is explicit. If optics change, state the visible consequence rather than lens numbers alone.Retain orientation, aspect ratio, composition, focal plane, depth of field, and subject-to-frame scale. A backend may downscale uniformly; exact pixel dimensions are not required. If a local result exists, run the read-only check:
python3 "$XXG_SKILL_DIR/scripts/check_aspect_ratio.py" SOURCE_IMAGE EDITED_IMAGEAccept relative aspect-ratio drift of ≤5%. Never resize, crop, pad, or extend locally to force a pass.
After generation, read the V2.3 identity and detail audit. At normal size first, verify:
If a result is nearly unchanged, strengthen one observable target. If skin becomes artificial, replace SKIN with clean continuous source skin tone; bounded source-shaped highlights; faint region-specific microdetail only where focus and light resolve it. Never present a failed image as final.
references/prompt-recipes.md and references/lighting-skin-color-temperature-recipes.mdreferences/tone-exposure-style-device-recipes.mdreferences/quality-repair-and-iteration.mdreferences/backend-and-clean-realism.mdreferences/identity-and-detail-audit.mdreferences/edit-plan-and-protection.md© moskoo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 36 other files (scripts, references, assets) in the repository root of moskoo/xxg-portrait-rebuild-light.
Open the folder on GitHubat commit 39b1ffd
Xxg Portrait Rebuild Light next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xxg Portrait Rebuild Light this skillmoskoo/xxg-portrait-rebuild-light | 216 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Chatgpt Image Adkrusemediallc/arcads-claude-code | 1.6k | — | ~2.7k | Automated safety check: Notes | MIT | |
| TranscribeJetBrains/skills | 366 | 4 repos | ~776 | Automated safety check: Pass | Apache-2.0 | |
| SpeechJetBrains/skills | 366 | 3 repos | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Podcastteam-attention/plugins-for-claude-natives | 827 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Voxclawmalpern/VoxClaw | 208 | — | ~1.9k | Automated safety check: Pass | None |
krusemediallc/arcads-claude-code
Generate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Arcads external API.
JetBrains/skills
Transcribe audio files to text with optional diarization and known-speaker hints.
JetBrains/skills
A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI…
team-attention/plugins-for-claude-natives
Generate Korean podcast episodes from any source (URLs, tweets, articles, PDFs) — analyzes content, writes a script, generates audio via OpenAI TTS, converts to MP4, and auto-uploads to YouTube.
malpern/VoxClaw
Give your agent a voice. An agent skill from malpern/VoxClaw.
gug007/lpm
Make a narrated lesson video about lpm from the real desktop app, recorded on a pristine data directory.
Works with
Categories
Edit an existing JPG, JPEG, PNG, or WebP portrait to rebuild physically coherent light, exposure, color, capture style, clean optical skin, and frame quality without changing the person. Xxg Portrait Rebuild Light is an agent skill from moskoo/xxg-portrait-rebuild-light. Edit an existing JPG, JPEG, PNG, or WebP portrait to rebuild physically coherent light, exposure, color, capture style, clean optical skin, and frame quality without changing the person.
Xxg Portrait Rebuild Light fits situations like: AI-look removal; dirty synthetic texture; multi-round quality loss; white-balance correction.
Run `npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a claude-code`. Or copy the skill folder (the moskoo/xxg-portrait-rebuild-light repository) into .claude/skills/xxg-portrait-rebuild-light in your project. Claude Code loads it when a task matches its description.
Run `npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a codex`. Or copy the skill folder (the moskoo/xxg-portrait-rebuild-light repository) into .agents/skills/xxg-portrait-rebuild-light in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moskoo/xxg-portrait-rebuild-light --skill xxg-portrait-rebuild-light -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xxg-portrait-rebuild-light, .gemini/skills/xxg-portrait-rebuild-light, .github/skills/xxg-portrait-rebuild-light and .opencode/skills/xxg-portrait-rebuild-light in your project.
Going by SKILL.md and its folder, Xxg Portrait Rebuild Light needs the command-line tools its instructions call (python3).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Xxg Portrait Rebuild Light is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 25k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Xxg Portrait Rebuild Light: Chatgpt Image Ad (krusemediallc/arcads-claude-code, 1.6k stars), Transcribe (JetBrains/skills, 366 stars), Speech (JetBrains/skills, 366 stars) and Podcast (team-attention/plugins-for-claude-natives, 827 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
moskoo (a GitHub user) maintains it in moskoo/xxg-portrait-rebuild-light, which has 216 GitHub stars. The repository was last updated on October 9, 2026.
Source: moskoo/xxg-portrait-rebuild-light on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.