Agent Skills
› Fei-Away/Codex-Dream-Skin
› codex-dream-skin-studio
codex-dream-skin-studio
GitHub提供Codex Dream Skin Studio在macOS上的安装、自定义、验证、修复及还原功能,支持壁纸主题切换与安全CDP调试。
Trigger Scenarios
需要为Codex应用设置个性化连续壁纸
需要恢复或修复Codex界面样式异常
Install
npx skills add Fei-Away/Codex-Dream-Skin --skill codex-dream-skin-studio -g -y
SKILL.md
Frontmatter
{
"name": "codex-dream-skin-studio",
"description": "Install, customize, launch, verify, repair, update, or restore Codex Dream Skin Studio on macOS. Use when a user wants to turn a personal image into one continuous full-window Codex wallpaper with adaptive readability layers while preserving the native interface, or needs safe CDP theme troubleshooting and rollback.",
"compatibility": "macOS, official Codex Desktop app, signed bundled Node.js 20 or newer"
}
Codex Dream Skin Studio
This file is an optional Codex capability entry. The delivery is a complete standalone project; users do not need to install it as a Skill.
Workflow
- Run
Install Codex Dream Skin.commandfrom the complete project folder. - Run
Customize Codex Dream Skin.command, choose an image in Finder, and enter a theme name. - To add a complete downloaded pack, use the native menu's “导入主题 ZIP…”. Accept ordinary
.ziponly. Every new official Studio pack containsmanifest.json, non-emptytheme.json, non-empty locally validatedtheme.css, exactly one registered background, and optional license/signature files; the trusted local simplified format contains exactlytheme.json,theme.css, and its referenced image. Import into saved themes without changing the active theme. A manually extracted complete three-file directory may instead be moved into the saved themes folder. Previously saved legacy themes without CSS remain switchable but inject no extra CSS. - Verify the live result with
Verify Codex Dream Skin.command. A pass requires a visible native sidebar and composer, no horizontal overflow, non-interactive decoration, and—on the home route—a continuous wallpaper with live native heading, project controls, and any suggestion cards exposed by the current Codex version. - Restore the official appearance with
Restore Codex Dream Skin.command.
Guardrails
- Never modify the official
.app,app.asar, or its code signature. - Use the official Codex app's signed Node.js runtime only after validating its signature, Team ID, architecture, and minimum version.
- Bind CDP to loopback, verify that the listener belongs to Codex, and reject non-Codex renderer targets.
- Preserve all native cards, navigation, project selectors, task content, composer controls, and keyboard focus.
- Theme images must be UI-free wallpapers. Paint one 16:9 image continuously across the window; keep home expressive and task routes quieter.
appearance: autofollows Codex/native or system appearance rather than image brightness. - Theme-pack import does not support
.dreamskin; reject traversal, links, nested archives, ambiguous roots, size/count abuse, and packs that fail the existing theme/image payload checks. - Keep decoration at
pointer-events: none. - Require explicit authorization before restarting an already-running Codex instance.
- Stop an injector only when its recorded PID, executable, command line, and start time all match.
Key resources
README.md: user installation and customization guide.scripts/injector.mjs: CDP connection, injection, removal, verification, and screenshots.assets/dream-skin.css: live native interface styling.assets/renderer-inject.js: idempotent DOM integration and cleanup.scripts/doctor-macos.sh: signed-runtime, payload, and optional live-session self-check.references/qa-inventory.md: release and visual acceptance criteria.
Version History
-
cd71dfd
Current 2026-07-30 20:46
新增桌面ZIP主题安全导入功能,强制实施ZIP导入的CSS安全限制,并更新相关测试用例以适配多平台及Windows环境。
- 3af1d6d 2026-07-19 09:00


