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

codex-dream-skin

GitHub

为Windows版Codex应用通过CDP注入可逆装饰皮肤,支持安装、启动、验证及安全回滚,不修改系统文件。

Trigger Scenarios

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

Install

npx skills add sdbds/Codex-QingLong-Skin --skill codex-dream-skin -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • f2d881a Current 2026-07-19 09:01

Same Skill Collection

Metadata

Files
0
Version
f2d881a
Hash
5ad6d009
Indexed
2026-07-19 09:01

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 23:52
浙ICP备14020137号-1 $Map of visitor$