Agent Skillssdbds/Codex-QingLong-Skin › codex-dream-skin

codex-dream-skin

GitHub

为Windows版Codex应用通过CDP协议安全部署可逆的“青龙宫阙”装饰皮肤,支持启动、验证与无损还原,不修改系统文件。

触发场景

请求应用Codex自定义主题或青龙宫阙界面 需要重新应用或恢复Codex皮肤 Codex更新后需修复皮肤显示

安装

npx skills add sdbds/Codex-QingLong-Skin --skill codex-dream-skin -g -y
更多选项

非标准路径

npx skills add https://github.com/sdbds/Codex-QingLong-Skin/tree/main/windows -g -y

不安装直接使用

npx skills use sdbds/Codex-QingLong-Skin@codex-dream-skin

指定 Agent (Claude Code)

npx skills add sdbds/Codex-QingLong-Skin --skill codex-dream-skin -a claude-code -g -y

安装 repo 全部 skill

npx skills add sdbds/Codex-QingLong-Skin --all -g -y

预览 repo 内 skill

npx skills add sdbds/Codex-QingLong-Skin --list

SKILL.md

Frontmatter
{
    "name": "codex-dream-skin",
    "description": "Apply, launch, verify, repair, update, or restore a full decorative skin for the Windows Codex desktop app. Use when the user asks for a Codex theme that goes beyond official color settings, wants the deep-jade \"青龙宫阙\"\/QingLong interface, needs the skin reapplied after a Codex update, or needs a safe rollback without modifying WindowsApps or app.asar."
}

Codex Dream Skin

Apply a reversible renderer skin through Chromium DevTools Protocol while launching the official Store-installed Codex executable. The launcher supports both the stable OpenAI.Codex package and OpenAI.CodexBeta by reading the executable path from AppxManifest.xml. Never replace or take ownership of files under WindowsApps.

Workflow

  1. Run scripts/install-dream-skin.ps1 once to set the matching official base colors and create launch/restore shortcuts.
  2. Run scripts/start-dream-skin.ps1. Add -RestartExisting only when the user authorized restarting an already-open Codex app.
  3. Run scripts/verify-dream-skin.ps1 -ScreenshotPath <absolute-path> after launch. Treat a missing hero, native composer, sidebar skin, or injection marker as failure. The native suggestion count is responsive and may be two to four.
  4. Inspect the screenshot against references/qa-inventory.md. Verify both the home screen and a normal task before signing off.
  5. Run scripts/restore-dream-skin.ps1 for live removal. Add -Uninstall to delete shortcuts; add -RestoreBaseTheme when the user also wants the pre-install config backup restored.

Guardrails

  • Preserve the official executable, package signature, user threads, pets, plugins, and authentication state.
  • Do not use the full reference screenshot as a fake whole-window overlay. It is only a cropped hero/polaroid asset; all controls remain live Codex controls.
  • Keep the reference image confined to the single top banner and decorative crop. Keep the cards below it as native Codex suggestion buttons with native labels/icons.
  • Attach the "选择项目" treatment to Codex's real project-selector toolbar and keep the current project button clickable; never draw a disconnected replacement.
  • Keep decorative layers pointer-events: none and keep real buttons, navigation, and composer above them.
  • On app updates, rerun install and launch; the scripts discover stable or Beta Appx packages and their current executable dynamically.
  • If port 9335 is occupied, choose another port consistently for start, verify, and restore.
  • Keep the injection daemon running for navigation/reload resilience. Its state and logs live under %LOCALAPPDATA%\CodexDreamSkin.

Resources

  • scripts/codex-app.ps1: stable/Beta Appx discovery and manifest-based executable resolution.
  • scripts/injector.mjs: CDP connection, renderer injection, verification, screenshot, and removal.
  • assets/dream-skin.css: full visual layer.
  • assets/renderer-inject.js: idempotent DOM integration and cleanup.
  • assets/dream-reference.png: user-provided visual reference used only in cropped decorative regions.
  • references/qa-inventory.md: required functional and visual signoff coverage.
  • references/runtime-notes.md: troubleshooting and update behavior.

版本历史

  • f2d881a 当前 2026-07-19 09:01

元信息

文件数
0
版本
f2d881a
Hash
5ad6d009
收录时间
2026-07-19 09:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-22 12:27
浙ICP备14020137号-1 $访客地图$