OpenAI Codex UI Design with Oil UI: Web, Consoles & Apps
OpenAI Codex and GPT models excel at stateful logic, synchronized controls and data-dense interfaces. Paired with Oil UI Skill, Codex channels that engineering strength into disciplined typography, clear hierarchy and tactile interactions—from a live type tester with instant license pricing to an incident topology console and a 390×844 surf forecast app.
Key takeaways
Takeaway 1
Install Oil UI with npx skills add oil-oil/oil-ui so Codex establishes visual hierarchy and color restraint before writing component code.
Play to Codex’s strength in working state
specify how controls update one another (such as dragging a timeline to align logs, traces and deployment markers).
Takeaway 3
Use the same product brief to explore distinct visual directions, just like the nine Orvo landing pages or the Atelier Volders and Fonderie Mercier series in the gallery.
Takeaway 4
Verify every state at 1440×900 or 390×844 using browser screenshots and blind subagent critiques to eliminate border clutter and truncated labels.
Contributor Settlement
| Contributor & Piece | Net Fee (¥) | Status |
|---|---|---|
| Lin YaoA Walk by the Water · Essay | 3,200.00 | Ready |
| Chen ZhouThe Other Side of Objects · Photo | 2,880.00 | Ready |
| Xu NanCourtyard Studies · Illustration | 2,560.00 | Bank info needed |
Where Codex Shines in UI—and Where It Needs Guardrails
More than eighty works in the Oil UI gallery were built with GPT and Codex models (GPT 6.1 Sol, GPT 6 Luna and GPT 6 Astra). Inspecting those live pages shows what Codex handles especially well: interfaces where the design depends on working calculations and linked state. In Fieldwork Type, typing into the specimen tester updates weight, width and cart licensing on the fly; in Nightwatch, dragging the time window aligns service topology, deployment markers and error logs; in Vesper, filtering invoices opens webhook payloads and retry actions.
Left to its own defaults, however, Codex can turn complex tools into noisy engineer debug panels—wrapping every field in a box, stacking status pills in a row and giving every table column equal visual weight. Oil UI gives Codex the hierarchy and subtraction rules to keep dense screens calm.
| Work & model | Form | Focal interaction | Viewport & states |
|---|---|---|---|
| Fieldwork Type (GPT 6.1 Sol) | Independent type foundry web | Live type tester linked to desktop/web/app license pricing | 1440×900 down to 390px; hero, expanded tester and license picker |
| Nightwatch (GPT 6.1 Sol) | Incident response console | Dragging the time range aligns topology paths, deployments and logs | 1440×900; healthy, active incident, peak investigation and release view |
| Vesper (GPT 6.1 Sol) | API usage billing console | Filtering customers by threshold and inspecting failed invoice timelines | 1440×900; overview workspace, exception detail drawer and command palette |
| Tide (GPT 6.1 Sol) | Surf & tide forecast app | Scrubbing the timeline updates swell height, wind and tide curve together | 390×844 mobile; interactive index.html plus 3-screen screens.html |
Running the Direction → State → Screenshot Loop in Codex
Instead of asking Codex to generate an entire multi-screen application in one unverified pass, break the work into clear checkpoints.
Install Oil UI and pass a task-first brief
Install the skill with npx skills add oil-oil/oil-ui, then describe the user, core objects, required states and viewport dimensions.
npx skills add oil-oil/oil-uiCompare directions on a single board before committing
Have Codex build a comparison board with 3 to 4 distinct directions using real product copy. Pick one direction and do not splice leftover widgets from rejected options into the winner.
Expose key states via URL parameters or a multi-screen board
Follow the gallery pattern (?state=incident or screens.html) so every critical state can be opened directly in a headless browser and captured deterministically.
Subtract visual noise after inspecting 100% and 200% captures
Review the rendered screenshots to strip redundant borders, fix awkward line wraps and verify that the primary action stands out at a glance.
A High-Signal Codex Prompt Template
Codex produces much stronger interfaces when you specify how user actions affect the screen. You can adapt this structure directly for your own product:
Use Oil UI to design and implement [product name & category, e.g., an API usage billing and customer invoice console for developer tool teams] at a 1440×900 desktop viewport.
- Core task: Manage subscription plans and live usage, review amounts due and invoice exceptions for the current cycle, filter customers by status and usage threshold, and inspect line items, payment timelines and webhook payloads.
- Linked interactions: Updating filters refreshes the customer list and usage trend together; opening an exception invoice exposes payment retry, quota adjustment and export actions.
- States to deliver: 1) Everyday workspace with live filtering, 2) Exception invoice detail view with recovery actions, and 3) Quick command palette. Verify all three states with real browser screenshots.Adapted from the brief used to produce Vesper in the Oil UI gallery.
Working gallery examples & prompts
Browse collection →Using Oil UI Pro with OpenAI Codex for Production Apps
Step up to Oil UI Pro ($9.99 one-time) when you want Codex to build on 10 object-driven workspace layouts instead of 4-card KPI headers, renovate an existing production repo without breaking logic, or run up to 3 blind review rounds targeting 9/10 quality.
Explore Oil UI Pro →npx github:oil-oil/oil-cli install oil-ui-proCommon questions
Why does the gallery include multiple Codex works for the same product, such as nine Orvo pages?
Those series show how the exact same brief can yield genuinely different design directions. All nine Orvo pages share the same product facts and $0 / $24.99 / $34.99 pricing, yet Launch Garden, Tandem, Coastal Workshop and Open Creative Studio each take a distinct editorial and spatial approach.
How do I keep Codex from turning a mobile app into a squished desktop webpage?
Specify a 390×844 viewport and ask for both an interactive index.html and a side-by-side screens.html showing three to five key screens. Oil UI guides Codex to design around thumb reach, focused single-screen tasks and native mobile transitions.
How does Oil UI handle dark mode in Codex without making everything neon?
Oil UI matches surface brightness to the physical context—using dark surfaces for night driving (Yantu) or 24/7 on-call rooms (Nightwatch) while reserving high-chroma accents strictly for active routes, warnings and focal controls.
If I install Oil UI Pro, should I remove the open-source skill?
Yes. Oil UI Pro includes the entire open-source method plus advanced workflows. Keeping only Pro installed prevents duplicate skill triggers.



