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.
npx skills add xnydl/codex-dream-skin --skill windowsgit clone --depth 1 https://github.com/xnydl/codex-dream-skinWrote 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.
[](https://agentmods.dev/skills/xnydl/codex-dream-skin/windows)<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="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01309 |
| Opus 5 | $0.00042 | $0.00655 |
| Sonnet 5 | $0.00017 | $0.00262 |
| Haiku 4.5 | $0.00008 | $0.00131 |
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 8d ago.
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.
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
- Install Node.js 22 or newer, close Codex, then run
scripts/install-dream-skin.ps1once to preserve the user's native appearance settings, seed the bundled 世事宜梦境 (ssyai-dream) theme, and create launch/restore/tray shortcuts. - Run
scripts/start-dream-skin.ps1. The shortcut asks before restarting an already-open Codex app; CLI callers must explicitly add-RestartExisting. - 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. - Inspect the screenshot against
references/qa-inventory.md. Verify both the home screen and a normal task before signing off. - Run
scripts/restore-dream-skin.ps1to remove the live skin, close the saved CDP session, and reopen Codex normally. Add-RestoreBaseThemeto restore only saved appearance keys,-RecoverConfigBackupfor explicit byte-for-byte recovery of a damaged config, or-Uninstallto 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: autofollows the native computedcolor-schemefirst and the system appearance only as a fallback. Image brightness may tune color and composition, but must not flip the user's shell mode; explicitlightanddarkremain 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: noneand 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
9335is 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.tomlas 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.
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 238 B
- assets/dream-reference.jpg 179 KB
- assets/dream-skin.css 24 KB
- assets/renderer-inject.js 17 KB runs code
- assets/theme.json 514 B
- CHANGELOG.md 10 KB
- references/qa-inventory.md 5.1 KB
- references/runtime-notes.md 3.7 KB
- scripts/common-windows.ps1 19 KB runs code
- scripts/config-utf8.ps1 21 KB runs code
- scripts/image-metadata.mjs 5.7 KB runs code
- scripts/injector.mjs 39 KB runs code
- scripts/install-dream-skin.ps1 4.3 KB runs code
- scripts/restore-dream-skin.ps1 8.9 KB runs code
- scripts/start-dream-skin.ps1 12 KB runs code
- scripts/theme-windows.ps1 18 KB runs code
- scripts/tray-dream-skin.ps1 7.3 KB runs code
- scripts/verify-dream-skin.ps1 1.9 KB runs code
- tests/image-metadata.test.mjs 2.1 KB runs code
- tests/injector-bootstrap.test.mjs 3.5 KB runs code
- tests/injector-one-shot.test.mjs 2.3 KB runs code
- tests/renderer-inject.test.mjs 14 KB runs code
- tests/run-tests.ps1 32 KB runs code
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.
- 8d ago First seen · 59 lines · 83 tokens per session scan A ac668cfe7ef8
codex-dream-skin is a skill published in the GitHub repository xnydl/codex-dream-skin (54 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 1,309 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
logo-company
A lookup tool for official brand and company logos in SVG format. SVG is an image format that stays sharp when resized and can often change color through code.
design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
stitch-design-taste
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
imagegen-frontend-mobile
Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured…
image-to-code
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…
imagegen-frontend-web
Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not…