Codex Document Mode skill
codex-document-mode
An add-on that restyles desktop Codex replies as formal documents and takes approval or rejection as a hand-drawn circle or cross.
- 129 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- Injects code into the Codex app window through a local DevTools debug port.
- The installer writes to the Codex configuration and creates shortcuts, and on Windows runs with `ExecutionPolicy Bypass`.
- The CDP port stays open on the loopback interface while Codex runs through the add-on.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/codex-document-modeDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Injects code into the Codex app window through a local DevTools debug port.
- The installer writes to the Codex configuration and creates shortcuts, and on Windows runs with `ExecutionPolicy Bypass`.
- The CDP port stays open on the loopback interface while Codex runs through the add-on.
This is third-party code. Review the repository files before installing.
What it does
Codex Document Mode formats replies in the Codex desktop app as Chinese official documents: a header, salutation, title, body and a signature with a date. Code blocks, commands and tables keep their usual form. On send, a formal-style requirement is added to the request temporarily and the original text is restored afterwards. A square for marking appears left of the input: a circle means agree, a cross means disagree, and the recognised answer is inserted as `【反馈:同意】` or `【反馈:不同意】`. The styling is injected locally through the DevTools protocol (CDP) without touching `.app`, `app.asar` or `WindowsApps`. Windows (built on Codex Dream Skin) and macOS versions exist.
Who it is for. Desktop Codex users who like a formal reply style and marking with a gesture instead of text.
Good fit when
- A Codex reply should look structured like a memo, with a closing line.
- Approval or rejection of an agent proposal is quicker as a gesture.
- A team prepares a demo or stream and wants an unusual Codex look.
- The original theme should come back with a single restore script.
Not a fit when
- Codex runs in a browser or terminal, while the add-on targets the desktop app only.
- Company policy bans modifying client apps or opening a debug port.
- Replies must be neutral English, while the styling is tuned for Chinese official texts.
Example request
Read the Windows README, run the environment check `doctor-dream-skin.ps1` and show the report before installing.Limitations
Not an OpenAI product. The author calls the tool entertainment and study material and disclaims liability for consequences. Windows needs the `OpenAI.Codex` Microsoft Store app, Node.js 22 or newer and PowerShell 5.1 or newer; on macOS automated fixtures pass but final acceptance on a real Mac with official Codex is still pending. Reapply after a Codex update. The README is in Chinese, with an English Windows version.
How to disable. Run the restore script: `restore-dream-skin.ps1` on Windows or `restore-dream-skin-macos.sh --restore-base-theme --restart-codex` on macOS. Then remove the installer shortcuts.
FAQ
Does installation change Codex files?
No: `.app`, `app.asar` and `WindowsApps` stay untouched, and styling is injected at launch.
What do the circle and cross insert?
The circle inserts `【反馈:同意】` and the cross `【反馈:不同意】`. With an empty draft and an active send button the message goes out on its own.
What does the environment check do?
`doctor-dream-skin.ps1` only reads: the Codex package, Node.js, configuration, port and PowerShell execution policy.
How do I get the old look back?
Run the restore script with `-RestoreBaseTheme` on Windows or `--restore-base-theme` on macOS.
Which versions does Windows need?
The `OpenAI.Codex` Microsoft Store app, Node.js 22 or newer and PowerShell 5.1 or newer. No administrator rights are required.
Discussion
No questions or reviews yet.
Related
SkillsHeiGe Codex Skin Studio: themes for Codex Desktop
HeiGe Codex Skin Studio
Reskins OpenAI Codex Desktop from an image: 13 built-in themes, custom backgrounds and a one-click return to the stock look. macOS and Windows
Several desktop Codex copies side by side: each account gets its own icon, sign-in, chats and plugins with no switching.
A Codex skill for safe local-state maintenance: a report-only default, backup and archive instead of deletion, log and worktree cleanup
A CLI and macOS menu bar app keeping separate Codex profiles for personal and work, each with its own windows, projects and quota.
A local task board with the taskctl CLI and a skill for Codex, Claude Code, and other agents: creates issues, moves statuses, and keeps comments under a fixed w
A personal AI chief of staff on a notes folder: daily plan, meeting prep, tasks and people context in Claude Code and Cursor.
README in short
The README describes three features: replies as documents, an official speech style, and circle or cross marks. It then points to Windows and macOS instructions and credits the original skin authors.