Skip to content
Projects

HeiGeAi/heige-codex-skin-studio

View on GitHub

About

One-click theme and skin switcher for OpenAI Codex Desktop (macOS/Windows). Injects themes via CDP without modifying the application, with 13 built-in presets (Miku / Genshin Impact / Wuthering Waves / Naruto / Love and Deepspace / Dragon Ball / God of Wealth) plus custom image color extraction.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

HeiGe Codex Skin Studio

中文 · English

Your coding window should look the way you like.

One image becomes one theme. After install, switching skins is a single click in the top menu, and one click restores the official UI.

License: MIT Platform Codex Desktop Featured on Agent Skins

🆕 5.5.15 update: a native dual-product launcher for macOS

Every macOS install now includes the standalone HeiGe 皮肤启动器. It can open or close the current Codex and WorkBuddy skins independently, repair both products in one click, and open isolated diagnostics. After a reboot, client update, or lost skin session, clicking the launcher restores the most recently used skin without rerunning terminal commands.

This release also hardens WorkBuddy surfaces. Permission prompts, task archive dialogs, expert summons, and related confirmations now keep a solid theme background, with the remaining file-management dropdowns covered as well.

Live screenshot: HeiGe Skin Launcher 5.5.15

Live 5.5.15 screenshot: independent Codex and WorkBuddy controls, open and close actions, one-click repair, diagnostics, and a readable dark appearance.

🆕 Major update: WorkBuddy (Tencent CodeBuddy Desktop) is now supported

The same engine now skins WorkBuddy, a popular AI coding tool made in China. Session-only skins, instant switching, one-click restore to the native UI. See the WorkBuddy section.

Live screenshot: WorkBuddy wearing the Miku 488137 theme

Live screenshot: WorkBuddy 5.3.11 wearing the Miku 488137 theme. The same top-center menu opens the theme center.

Live screenshot: Miku theme with the top theme menu

Live screenshot: the Miku 488137 preset. The top-center menu opens the theme center.

Live screenshot: theme center

Live screenshot: the theme center. Current theme, custom image slot, native UI, built-in previews, readability enhancement, and persistence controls, all in one panel.

What it is

A local skin switcher for OpenAI Codex Desktop. It injects themes at runtime through loopback Chrome DevTools Protocol (127.0.0.1:9341) and never modifies app.asar, application binaries, or signature resources. Sidebar, suggestion cards, and the composer stay fully native and interactive.

  • One-click switching: a 🎨 menu appears at the top of Codex; every installed theme and the native UI switch instantly, with light/dark appearance synced automatically.
  • One image, one theme: any PNG, JPG, JPEG, or WebP becomes a full skin (palette + backdrop).
  • AI-generated themes: hand output/heige-codex-skin-studio.skill to Codex and say "generate a cyberpunk hero image, then turn it into a skin". No extra API key needed.
  • 13 built-in presets: the high-detail Miku 488137, two lightweight themes each for Genshin Impact, Wuthering Waves, Naruto, and Love and Deepspace, two Dragon Ball themes, a public-safe Caishen Readable light theme, plus one easter-egg preset.
  • Optional pet: the package ships an independent Miku Future animated desktop pet. Installing it is your call.
  • Native macOS launcher: every macOS install creates or upgrades $HOME/Applications/HeiGe 皮肤启动器.app. Click its Miku icon after a reboot, a Codex update, or a native launch to start or safely relaunch official Codex Desktop with loopback CDP and restore the most recent non-native theme.
  • User-controlled persistence: the top-menu switch is the only supported way to enable next-launch persistence. Turning it off keeps the current session skinned and restores the native UI on the next launch.
  • Readability by default: at the default slider value of 50, final and in-progress assistant responses use one consistent 90% theme-aware surface with balanced inset spacing. The Theme Center switch can turn it off, and the implementation avoids live blur, shadows, observers, scroll listeners, and background requests.
  • UI transparency: the Theme Center slider ranges from 0 to 100, with 50 preserving the original appearance; higher values reveal more background while mask opacity stays at or above 60%. Disabling readability still leaves responses fully transparent. Preferences persist locally and sync across windows. It applies to every Codex theme; the WorkBuddy skin does not show the slider.

Quick start

macOS (requires an installed Codex Desktop):

open "<repo-path>/scripts/install.command"

The installer also registers the local launcher with macOS LaunchServices. To restore the skin for the current session later:

open "$HOME/Applications/HeiGe 皮肤启动器.app"

The launcher uses the stable installation tree, does not download code, request administrator rights, create a new login item, or change persistenceEnabled to true. Failures produce a native macOS alert and a size-limited local launcher.log. Its local ad hoc signature detects bundle tampering, but it is not an Apple Developer ID signature or notarization.

Windows: run scripts\windows\install.bat, then use scripts/windows/apply.ps1, the session-only compatibility entry scripts/windows/enable-skin.bat, scripts/windows/pause.ps1, scripts/windows/resume.ps1, scripts/windows/restore.ps1, and scripts/windows/enable-loopback.bat if a Store/MSIX session reports AppContainer loopback isolation. Microsoft Store/MSIX activation and loopback exemption are implemented but still pending live-machine validation. Windows feature status, known issues, and self-service troubleshooting (Chinese) are in docs/windows-compat.md.

Applying a skin quits Codex normally and relaunches it with a local debug port, so save your work first. A system Node runtime must be Node.js 22 or newer.

Make your own theme

  1. Upload any image through the 🎨 menu ("+ 自定义图片"): new menu uploads are saved as durable user themes, with colors and appearance picked automatically. The legacy custom-upload path is a local compatibility slot; new uploads no longer use that slot as authoritative storage.
  2. Run customize.command to turn an image into a full saved theme.
  3. Give the .skill package to Codex and let it generate the artwork and build the theme end to end.

Ready-to-copy image prompts live in the theme prompt gallery (Chinese). Share your results in the showcase discussions.

WorkBuddy (Tencent CodeBuddy Desktop)

The same engine reskins WorkBuddy through loopback CDP on 127.0.0.1:9342 (separate from Codex's 9341). Run scripts/workbuddy-apply.command (add --restart to relaunch into debug mode), switch themes in the injected 🎨 theme center, and run scripts/workbuddy-restore.command to return to the native UI. WorkBuddy support is session-only by design: its file:// renderer would send Origin: null to the local control server, so persistence stays disabled instead of weakening the CSRF origin check. Requires system Node.js 22+. Verified live on macOS (WorkBuddy 5.3.11); the Windows path is implemented but pending live-machine validation.

Honest notes

  • Loopback CDP is unauthenticated; local same-user processes remain inside the threat boundary. See SECURITY.md.
  • The macOS launcher attempts one narrowly gated recovery only for a static LOCK_CHAIN_CORRUPT state root. It refuses recovery while related services, processes, or a foreign CDP listener are active, preserves a timestamped whole-root backup, restores only strictly validated state and user themes, and never loops indefinitely.
  • macOS has dated live-machine evidence. Windows is covered by cross-PowerShell automation, while Microsoft Store/MSIX remains pending live validation.
  • Future Codex Desktop changes to startup arguments, renderer structure, or selectors may require adaptation.
  • Background missing or colors broken after an update? Run the DOM compatibility canary and attach its output to your issue.
  • Full manual (CLI, theme JSON schema, persistence semantics, FAQ): docs/manual.md (Chinese).

License and assets

Code is under the MIT License. The license covers software code only and grants no rights to characters, trademarks, or third-party artwork. Per-file provenance lives in ASSET_PROVENANCE.md; release boundaries in NOTICE.md.

Built by HeiGeAi. More open-source projects on the org page.


If you like it, star it. When your skin looks good, post a screenshot in the showcase.

Explore related projects

Loading…