Agent skill

Codex Dream Skin

by 4thfever in 4thfever/codex-document-mode

Apply, launch, verify, repair, update, or restore a full decorative skin for the Windows Codex desktop app.

MITAuto-check passedDevOps & Cloud

Install Codex Dream Skin

skills CLI
$ npx skills add 4thfever/codex-document-mode --skill codex-dream-skin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 4thfever/codex-document-mode codex-dream-skin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/4thfever/codex-document-mode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/windows .claude/skills/codex-dream-skin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex-dream-skin
GitHub stars
127
Token cost
~1.7k tokens
SKILL.md length
798 words
Files
31 (incl. scripts, references, assets)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Apply, launch, verify, repair, update, or restore a full decorative skin for the Windows Codex desktop app.

  • Works in 5 steps: Run scripts/doctor-dream-skin.ps1, close… → Use the Codex Dream Skin shortcut, or… → Run scripts/verify-dream-skin.ps1… → …
  • The user asks for a Codex theme that goes beyond official color settings
  • SKILL.md covers Workflow, Guardrails, Checks and Resources
  • Runs JavaScript and PowerShell scripts from its folder; calls node and codex

What it does

Codex Dream Skin is an agent skill from 4thfever/codex-document-mode. 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 pink-purple Dream/Fiona-style interface, needs the skin reapplied after a Codex update, or needs a safe rollback without modifying WindowsApps or app.asar.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 36 other files, including scripts, reference files and assets (for example `CHANGELOG.md`, `README.en.md` and `README.md`).

It sits in DevOps & Cloud. The licence is MIT.

When your agent uses it

  • The user asks for a Codex theme that goes beyond official color settings
  • Wants the pink-purple Dream/Fiona-style interface
  • Needs the skin reapplied after a Codex update
  • Needs a safe rollback without modifying WindowsApps

Example prompts

  • “/codex-dream-skin”

Requirements

  • Node.js
  • PowerShell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run scripts/doctor-dream-skin.ps1, close Codex when the install preflight requires it, then run scripts/install-dream-skin.ps1 once. The…
  2. Use the Codex Dream Skin shortcut, or run %LOCALAPPDATA%\CodexDreamSkin\engine\scripts\start-dream-skin.ps1. The shortcut asks before…
  3. Run scripts/verify-dream-skin.ps1 -ScreenshotPath after launch. Treat a missing continuous wallpaper, home shell, native composer, sidebar…
  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…

What it can do on your machine

Read from SKILL.md and the folder at commit b92427d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript and PowerShell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codex Dream Skin loads about 1.7k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 798 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from 4thfever/codex-document-mode at commit b92427d, republished under its MIT licence (© 4thfever). 798 words, ~1,708 tokens.

Download SKILL.mdSave it as .claude/skills/codex-dream-skin/SKILL.md (or your agent's skills folder). This skill also uses 30 other files; get the full folder from GitHub.
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 pink-purple Dream/Fiona-style 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. Never replace or take ownership of files under WindowsApps.

Workflow

  1. Run scripts/doctor-dream-skin.ps1, close Codex when the install preflight requires it, then run scripts/install-dream-skin.ps1 once. The installer preserves the user's native appearance settings, seeds the CODEX Document theme, copies the runtime to %LOCALAPPDATA%\CodexDreamSkin\engine, and creates launch/restore/tray shortcuts that do not depend on the source checkout.
  2. Use the Codex Dream Skin shortcut, or run %LOCALAPPDATA%\CodexDreamSkin\engine\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.
  • Treat %LOCALAPPDATA%\CodexDreamSkin\engine as an installer-managed runtime. Exit the Dream Skin tray before reinstalling so the installer can replace that runtime atomically and update every shortcut to the same copy.
  • Keep installed shortcuts and tray child processes on RemoteSigned, never Bypass. Clear Internet-zone markers only from staged managed .ps1 copies after their byte-content hashes match the selected source; never change the user's persistent execution policy or override Group Policy.
Show full SKILL.md (126 more words)Show less

Checks

powershell
powershell -NoProfile -File tests\run-tests.ps1
node --check scripts\injector.mjs
node --check assets\renderer-inject.js

Resources

  • scripts/injector.mjs: CDP connection, renderer injection, verification, screenshot, and removal.
  • scripts/common-windows.ps1: Store-package discovery, Node validation, managed runtime installation, port ownership, state, and process identity safety.
  • scripts/config-utf8.ps1: atomic UTF-8 configuration backup, selective restore, and explicit recovery.
  • assets/dream-skin.css: full visual layer.
  • assets/renderer-inject.js: idempotent DOM integration and cleanup.
  • assets/dream-reference.jpg: validated placeholder image for the CODEX Document preset; document mode does not paint full-window artwork.
  • assets/theme.json: document-mode theme contract for the seeded preset.
  • scripts/theme-windows.ps1: persistent active/saved theme store, safe image import, pause state, and preset seeding.
  • scripts/tray-dream-skin.ps1: Windows Forms tray for apply, pause, import, save, switch, and complete restore.
  • references/qa-inventory.md: required functional and visual signoff coverage.
  • references/runtime-notes.md: troubleshooting and update behavior.
  • tests/run-tests.ps1: managed runtime, configuration, state, recovery, payload, and CDP validation regression checks. Use -EngineOnly for the source-independence contract.

© 4thfever, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 30 other files (scripts, references, assets) in windows of 4thfever/codex-document-mode.

  • SKILL.md
  • CHANGELOG.md
  • README.en.md
  • README.md
  • agents/openai.yaml
  • assets/dream-reference.jpg
  • assets/dream-skin.css
  • assets/prose-style-guide.md
  • assets/renderer-inject.js
  • assets/theme.json
  • presets/preset-codex-document/background.jpg
  • presets/preset-codex-document/theme.json
  • references/qa-inventory.md
  • references/runtime-notes.md
  • scripts/common-windows.ps1
  • … and 16 more

Open the folder on GitHubat commit b92427d

Compare with similar skills

Codex Dream Skin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codex Dream Skin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex Dream Skin this skill4thfever/codex-document-mode127—~1.7kAutomated safety check: PassMIT
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k8 repos~4.3kAutomated safety check: PassNone
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 8 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Docs Learn PR Preview

    netdata/netdata

    Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.

    81k GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from 4thfever/codex-document-mode

  • Codex Document Mode macOS

    4thfever/codex-document-mode

    Install, launch, verify, repair, update, or restore CODEX Document Mode on macOS.

    127 GitHub stars~661 tokensUpdated 2 mo ago
    Auto-check passed
  • Codex Official Prose Style

    4thfever/codex-document-mode

    Apply the project's formal Chinese prose rules, functional official-style phrases, and context-aware endings when drafting or revising user-requested formal responses.

    127 GitHub stars~737 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Codex Dream Skin

What does Codex Dream Skin do?

Apply, launch, verify, repair, update, or restore a full decorative skin for the Windows Codex desktop app. Codex Dream Skin is an agent skill from 4thfever/codex-document-mode. Apply, launch, verify, repair, update, or restore a full decorative skin for the Windows Codex desktop app.

When should I use Codex Dream Skin?

Codex Dream Skin fits situations like: the user asks for a Codex theme that goes beyond official color settings; wants the pink-purple Dream/Fiona-style interface; needs the skin reapplied after a Codex update; needs a safe rollback without modifying WindowsApps.

How do I install Codex Dream Skin in Claude Code?

Run `npx skills add 4thfever/codex-document-mode --skill codex-dream-skin -a claude-code`. Or copy the skill folder (windows in 4thfever/codex-document-mode) into .claude/skills/codex-dream-skin in your project. Claude Code loads it when a task matches its description.

How do I install Codex Dream Skin in Codex?

Run `npx skills add 4thfever/codex-document-mode --skill codex-dream-skin -a codex`. Or copy the skill folder (windows in 4thfever/codex-document-mode) into .agents/skills/codex-dream-skin in your project. Codex loads it when a task matches its description.

Can I use Codex Dream Skin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 4thfever/codex-document-mode --skill codex-dream-skin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-dream-skin, .gemini/skills/codex-dream-skin, .github/skills/codex-dream-skin and .opencode/skills/codex-dream-skin in your project.

What does Codex Dream Skin need to run?

Going by SKILL.md and its folder, Codex Dream Skin needs JavaScript and PowerShell for the scripts in its folder and the command-line tools its instructions call (node and codex). Our summary lists: Node.js; PowerShell.

Does Codex Dream Skin access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codex Dream Skin safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Codex Dream Skin use?

Codex Dream Skin is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codex Dream Skin use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Codex Dream Skin?

Skills that share tags, products or a category with Codex Dream Skin: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex Dream Skin?

4thfever (a GitHub user) maintains it in 4thfever/codex-document-mode, which has 127 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on July 30, 2026.

Source: 4thfever/codex-document-mode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.