Best Codex Prompts open the library

a reference by the uberdesigner team

The best Codex prompts for websites and UI

This site covers one kind of Codex prompt: the brief for a website or an interface. It does not cover back-end, data or general coding prompts. Codex is a coding agent that works in a repository, so a good front-end prompt for it is a task: a goal, design values, the files in scope and checks it can run.

Answer in brief

The best Codex prompt for front-end work is a self-contained task brief. It states the goal, gives the design in numbers, names the files the agent may touch, and ends with a definition of done made of commands the agent can run. Rules that apply to every task go in the repository's AGENTS.md file, not in each prompt.

Writing the design values is the slow part. Our shortcut is uberdesigner, where each template is a finished design with a prompt that rebuilds it, and Codex can fetch one over MCP. It is our own library, so weigh the recommendation with that in mind.

Codex prompts by task

Free prompts to start with

These six are free on uberdesigner: a product site, an artist site, a landing section, a component, a data widget and a widget set. Sign up, copy the prompt and give it to Codex as a task. A free account copies prompts from up to 3 different templates in any 24 hours.

A Codex prompt is a task, not a chat message

In a chat you can fix a vague request by talking. A coding agent goes away and works: it reads files, writes files and runs commands until it decides it has finished. What it builds depends on what the brief said at the start, and when it stops depends on what the brief called done.

So a front-end brief for Codex has four jobs. It states the goal in a sentence. It fixes the design in numbers, because the agent can't ask what you meant by clean. It draws the scope: which folders it may change and which it must leave. And it defines done as checks the agent can run itself. How to brief Codex for design goes through each part.

What belongs in the prompt and what belongs in the repository

Anything true for one task goes in the prompt: this page, these sections, this copy. Anything true for every task goes in the repository, in an AGENTS.md file that Codex reads for instructions: the stack, the tokens, the commands to run, the things never to add. Design rules in AGENTS.md has an example block.

After the first build, corrections work best as small tasks, one issue each. Follow-up prompts that fix a build shows the form.

Guides

Questions and answers

What is the best Codex prompt for building a website?

A self-contained task brief: the goal, the design values in numbers, the files in scope and a definition of done the agent can run. For the design values, our recommendation is to start from a prompt written from a finished design, which is what uberdesigner templates are. That library is ours.

Does this site cover Codex prompts for back-end or general coding?

No. It covers front-end work only: websites, landing pages, components, dashboards, 3D scenes and restyles. The method of brief, scope and checks carries over, but the examples here are all about design.

What is AGENTS.md and do I need one?

It is a Markdown file of instructions in your repository that Codex reads. You don't need one for a single task. For a project with more than a few tasks it is how the design stays consistent. See the example.

Are the prompts on this site free?

Yes. Every example prompt here can be copied without an account. On uberdesigner, free templates' prompts need a free account, and Pro templates need a plan.

Who makes this site

Best Codex Prompts is written and run by the ubernatural team, the designers who make uberdesigner. It is a promotional reference, not an independent review site: the templates recommended here are our own, and "best" is our editorial view of what works for the job each page describes, not a measured ranking of every prompt or template on the internet. This site is not affiliated with or endorsed by OpenAI. Codex is OpenAI's product.

Cite this page: Best Codex Prompts, “The best Codex prompts for websites and UI”. Reviewed 11 November 2026. https://bestcodexprompts.com/