codex-dream-skin

codex-dream-skin is a skill for Codex from xnydl/codex-dream-skin. It costs 83 tokens per session (1,309 once invoked), scanned A, original, MIT.

A workflow for applying a reversible decorative theme to the Windows Codex desktop app through its running interface. It includes a pink-and-purple Dream-style skin and restore steps.

In plain words
What is it for?
Use it to install, launch, verify, update, repair, or restore the skin, including screenshot checks for the home screen and a normal task.
Why use it?
It lets users change the app's appearance without replacing protected application files, while checking that the skin was applied correctly.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to install, launch, verify, update, repair, or restore the skin, including screenshot checks for the home screen and a normal task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xnydl/codex-dream-skin/windows
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xnydl/codex-dream-skin --skill windows
Clone the repo
git clone --depth 1 https://github.com/xnydl/codex-dream-skin

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-dream-skin

README.md
[![agentmods](https://agentmods.dev/badge/skills/xnydl/codex-dream-skin/windows/github.svg)](https://agentmods.dev/skills/xnydl/codex-dream-skin/windows)
Your own site
<a href="https://agentmods.dev/skills/xnydl/codex-dream-skin/windows"><img src="https://agentmods.dev/badge/skills/xnydl/codex-dream-skin/windows/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-dream-skin

Your own site · 80×15
<a href="https://agentmods.dev/skills/xnydl/codex-dream-skin/windows"><img src="https://agentmods.dev/badge/skills/xnydl/codex-dream-skin/windows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01309
Opus 5.5 $0.00033 $0.00524
Sonnet 5.5 $0.00017 $0.00262
Haiku 4.5 $0.00008 $0.00131

Measured 2mo ago against content hash ac668cfe7ef8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-dream-skin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 16 executable files (assets/renderer-inject.js, scripts/common-windows.ps1, scripts/config-utf8.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

windows/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Dream Skin

Apply a reversible renderer skin through Chromium DevTools Protocol while launching the official Store-installed Codex executable. Never replace or take ownership of files under WindowsApps.

Workflow

  1. Install Node.js 22 or newer, close Codex, then run scripts/install-dream-skin.ps1 once to preserve the user's native appearance settings, seed the bundled 世事宜梦境 (ssyai-dream) theme, and create launch/restore/tray shortcuts.
  2. Run scripts/start-dream-skin.ps1. The shortcut asks before restarting an already-open Codex app; CLI callers must explicitly add -RestartExisting.
  3. Run scripts/verify-dream-skin.ps1 -ScreenshotPath <absolute-path> after launch. Treat a missing continuous wallpaper, home shell, native composer, sidebar layer, 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 to remove the live skin, close the saved CDP session, and reopen Codex normally. Add -RestoreBaseTheme to restore only saved appearance keys, -RecoverConfigBackup for explicit byte-for-byte recovery of a damaged config, or -Uninstall to delete shortcuts. A completed config restore archives that install's backup so a later install captures a fresh baseline.

Guardrails

  • Preserve the official executable, package signature, user threads, pets, plugins, and authentication state.
  • Theme images must be UI-free wallpapers. Never import a README screenshot, fake window, sidebar, card, composer, logo, or text baked into the bitmap.
  • Paint one continuous 16:9 wallpaper across the full Codex window. Let the sidebar, main area, header, and composer act as coordinated readability layers; keep the home route expressive and task routes quieter.
  • appearance: auto follows the native computed color-scheme first and the system appearance only as a fallback. Image brightness may tune color and composition, but must not flip the user's shell mode; explicit light and dark remain authoritative.
  • 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 the current Appx package dynamically. Saved paths are never trusted for process control unless they still match a registered package identity.
  • The default launcher scans for a free port when 9335 is occupied. An explicitly requested occupied port fails closed.
  • Keep the injection daemon running for navigation/reload resilience. Its state and logs live under %LOCALAPPDATA%\CodexDreamSkin.
  • The watcher registers a generation-checked early payload for connected renderers so reload/navigation can paint the skin before the normal load-event fallback; unsupported CDP targets fall back safely.
  • The active theme, saved themes, imported images, pause marker, and tray controls live under %LOCALAPPDATA%\CodexDreamSkin. Reject empty or over-16 MB images before copying or encoding them.
  • Every managed-store write rejects junctions and other reparse points in every existing path component. Imports also use the bundled Node metadata parser before copying to reject dimensions above 16384px or 50MP.
  • CDP targets must use a same-port loopback WebSocket, belong to the current Store package, retain the launch-time Browser ID, and expose expected Codex renderer markers.
  • Loopback prevents LAN exposure, but Chromium CDP has no same-user authentication. Run only trusted local software while the skin is active, and use restore to close the debug session when it is no longer needed.
  • Preserve config.toml as strict UTF-8. Never use encoding-dependent whole-file PowerShell reads/writes, silently transcode UTF-16, or overwrite a file that changed after it was read. Ambiguous TOML shapes must fail before writing rather than receive a best-effort rewrite.
  • Keep install/start/restore/verify serialized with the per-user operation lock in common-windows.ps1.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 59 lines · 83 tokens per session scan A ac668cfe7ef8

Subscribe to this mod's changes

codex-dream-skin is a skill published in the GitHub repository xnydl/codex-dream-skin (54 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 1,309 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

codex-dream-skin compared with skills from other repositories

codex-dream-skin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-dream-skinxnydl/codex-dream-skinSkill543mo agoMITA83Codex
logo-companyqwwiwi/codex-gpt-image-2-subscriptionSkill9yesterdayMITA301Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11kyesterdayMITA52Claude Code, Codex
openclaw-carapaceopenclaw/clawhubSkill9.5kyesterdayMITA50Claude Code, Codex
openclaw-design-systemopenclaw/clawhubSkill9.5kyesterdayMITA37Claude Code, Codex
openclaw-design-auditopenclaw/clawhubSkill9.5kyesterdayMITA56Claude Code, Codex
openclaw-designopenclaw/clawhubSkill9.5kyesterdayMITA58Claude Code, Codex