About codex-dream-skin
A cross-platform skill for reversible full-window theming of the official Codex desktop app on macOS and Windows. It uses loopback Chromium DevTools Protocol and preserves the app package, signatures, and user state.
Key features
- 01Separate macOS and Windows engines
- 02Apply and switch themes
- 03Import and save themes
- 04Verify and restore appearance
- 05Preserve official app files and user state
Use cases
- 01Customizing Codex desktop appearance
- 02Switching between saved themes
- 03Restoring the default appearance
- 04Applying a wallpaper-based theme
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ xnydl/ codex-dream-skin --skill codex-dream-skinAfter installing, type/codex-dream-skinin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
.gitignoreLICENSEREADME.mdNOTICE.mdagents/openai.yamldocs/background-generation-prompts.mdreference-background-prompt-guide.mdplatforms.mdmacos/.gitignoreCHANGELOG.mdCLIENT_DEPLOY_PROMPT.mdInstall Codex Dream Skin.commandRestore Codex Dream Skin.commandLICENSEInstall Menu Bar.commandNOTICE.mdCustomize Codex Dream Skin.commandREADME.mdStart Codex Dream Skin.commandVERSIONVerify Codex Dream Skin.commandpackage.jsonmacos/agents/openai.yamlmacos/assets/dream-skin.csstheme.jsonrenderer-inject.jsmacos/menubar/codex_dream_skin.10s.shmacos/presets/generate-presets.mjsREADME.mdmacos/presets/preset-midnight-aurora/theme.jsonDetails
From the project READMECodex Dream Skin (cross-platform router)
Reversible full-window theming for the official Codex desktop app through loopback Chromium DevTools Protocol. Never modify the official .app, WindowsApps, app.asar, or code signatures.
This repository ships two self-contained platform engines. Detect the operating system first, then follow the platform skill:
- macOS →
macos/SKILL.md(Codex Dream Skin Studio: install, customize-from-image, menu bar, hot theme switch, verify, restore) - Windows →
windows/SKILL.md(Store-app discovery, tray, theme repository, verify, restore)
Workflow
- Detect the OS before choosing scripts. Never mix platform directories.
- macOS: run
macos/Install Codex Dream Skin.command(ormacos/scripts/install-dream-skin-macos.sh), then use the Desktop launchers orswitch-theme-macos.sh --id preset-ssyai-dream. - Windows: run
windows/scripts/install-dream-skin.ps1, thenwindows/scripts/start-dream-skin.ps1. The tray controls apply/pause, background import, saved themes, and full restore. - Verify after launch with the platform verify script and inspect against the platform
references/qa-inventory.md. - Restore the official appearance with the platform restore entry point.
Guardrails (both platforms)
- Preserve the official executable, package signature, user threads, pets, plugins, and authentication state.
- Theme images must be UI-free wallpapers; never import an effect screenshot as a background.
- Keep decorative layers
pointer-events: none; native controls stay interactive above them. - Bind CDP to
127.0.0.1only and treat the port as locally sensitive; prefer Restore when done. - Require explicit user authorization before restarting an already-running Codex instance.
Bundled default
The featured preset preset-ssyai-dream(世事宜梦境)is procedurally generated abstract art (2560 × 1440, no photos, no third-party IP). macOS seeds it into the theme library; Windows seeds it as the active theme and a saved theme.
Provided free by 世事宜AI: https://ssyai.xytpark.cn/purchase