How do I make ChatGPT and Codex follow my brand?
Give ChatGPT and OpenAI Codex your brand guidelines: projects, plugins and MCP in ChatGPT; AGENTS.md, design tokens and config.toml in Codex.
Daryl Budiman
Updated · 10 min read
TLDR
Put the brand where each tool reads it every time. In ChatGPT that is a project or a connected MCP server. In Codex it is AGENTS.md, design tokens in the repo and an MCP server in config.toml.
A brand for an agent is fonts with files, colors with roles, voice, logo and assets, real examples, components and the claims you can back.
A ChatGPT project holds its own instructions and files, and its instructions take precedence over your custom instructions inside it. Custom GPTs are being retired on December 11, 2026.
Codex reads AGENTS.md from your home folder and from the repo root down to your folder, up to 32 KiB by default. Keep the design rules short and point at the tokens file.
Klayson puts your brand in both from one MCP address: ChatGPT adds it under Plugins, Codex adds it with codex mcp add or two lines in config.toml.
Give ChatGPT and Codex your brand, so what they build looks like you.
You ask ChatGPT for a homepage section, or Codex for a pricing page in your app. It comes back tidy, in Inter, with a blue button your brand has never used and a headline that could sell anything. Neither tool did anything wrong. Neither one knew your brand. To make ChatGPT and Codex follow your brand, put the brand where each one reads it every time: in ChatGPT, a project with instructions and files, or a connected MCP server; in Codex, an AGENTS.md file, design tokens in the repo, and an MCP server in config.toml.
By the end you'll have both set up, using the settings OpenAI documents as of November 21, 2026. I make Klayson, a brand guide both tools can read over MCP. It comes up in the MCP steps, and each of those has a way to do it without Klayson.
What should a brand guide for ChatGPT and Codex include?
The same things a designer would ask for on day one, written so a model can act on them:
- Fonts: typeface names, weights, where each is used, and the font files or web font link.
- Colors with roles: background, text, muted text, main action, accent, lines, and colors never to use.
- Voice: how you sound in three sentences, words you use and avoid, two lines of real copy.
- Logo and assets: the files, and a rule never to redraw or recolor them.
- Examples: three to five of your own pages, screens or ads.
- Layout and components: the spacing scale, corner radius, and how buttons, cards and forms look.
- Claims: the numbers and reviews you can back, and a rule never to invent one.
Hex codes alone are not a brand. A model needs to know what each color is for, or it will use your accent as a background. If you don't have this written down yet, start from a brand guidelines template.
Where does ChatGPT read brand instructions from?
ChatGPT has five places that hold instructions, and they differ in scope. Checked on OpenAI's help center, November 21, 2026:
| Place | Where you set it | What it holds | Applies to |
|---|---|---|---|
| Custom instructions | Settings, Personalization | Text: 1,500 characters on Free and Go, 5,000 on Plus, Pro, Business, Enterprise and Edu | Every new chat |
| Project | The project's settings and sources | Instructions plus files: 5 on Free, 25 on Go and Plus, 40 on Pro, Business, Enterprise and Edu | Chats in that project |
| Plugin with a skill | Plugins, or Plugin Creator | Instructions as a skill, with optional connected apps | Wherever it is installed |
| Custom GPT | The GPT editor | Instructions and knowledge files | Being retired |
| Custom MCP server | Plugins, Add custom MCP server | Live tools ChatGPT can call | Chats where you pick it |
Sources: custom instructions, projects, plugins, custom GPT retirement, custom MCP servers.
Custom instructions are too small and too global for a brand. A project is the right home for most teams.
How do I set up a ChatGPT project for my brand?
A project keeps its own instructions and files. OpenAI's help center says project instructions apply only inside the project and take precedence over your custom instructions there (OpenAI).
- Create a project and name it after the brand.
- Open the project's ••• menu, choose Project settings, and paste a short brief into the instructions: who you are, the fonts, the colors with roles, the voice and the rules.
- Add your sources: the brand guide PDF, the logo, screenshots of three to five pages you like, and a file of real copy.
- End the instructions with one rule: "Before you design anything, read the brand guide in this project. Use only these fonts and colors. Never invent a number, review or logo."
- Test it. In a new chat in the project, ask "Which fonts and colors do we use, and what is each color for?" If the answer is wrong, the instructions are too vague.
The weak spot is drift. The PDF is a copy of your brand on the day you uploaded it, and nobody updates it when a color changes.
Should I still make a custom GPT for brand guidelines?
No. OpenAI plans to retire custom GPTs, with a standard retirement date of December 11, 2026, and is moving creators to plugins (OpenAI). The migration moves a GPT's instructions into a skill and its knowledge files into reference files.
For a brand, a project works today, and a plugin is the way to share the same instructions across a workspace. You build one by installing Plugin Creator and describing what you want in a chat with @plugin-creator (OpenAI).
How do I connect a brand MCP server to ChatGPT?
An MCP server gives ChatGPT tools it calls for the live brand, instead of a file that goes stale. OpenAI's steps, on ChatGPT on the web (OpenAI):
- Go to Plugins (chatgpt.com/plugins), select the plus button, then Add custom MCP server.
- Enter a name and the server's public HTTPS address.
- Set the authentication the server uses, such as OAuth.
- Read the risk warning, check I understand and want to continue, and select Create as a plugin.
- Install the plugin, start a new chat, type @ and pick it.
Who can do this depends on the plan and the workspace. The help page lists full MCP for Business, Enterprise and Edu, where admins decide who can add servers, and says Pro users can connect servers with read and fetch permissions. OpenAI's developer docs say ChatGPT asks for confirmation before a tool that writes runs (OpenAI).
For Klayson the address is https://api.klayson.com/mcp. The steps with each screen are at Connect ChatGPT.
How do I make Codex build UI in my brand?
Codex is OpenAI's coding agent. It reads instructions from AGENTS.md files before it starts work (OpenAI):
- Global:
~/.codex/AGENTS.md(orAGENTS.override.md) applies to every project. - Project: Codex walks from the repo root down to the folder you're in and reads at most one file per folder. Files closer to your folder come later, so they win.
- Size: it stops adding files once the total reaches
project_doc_max_bytes, 32 KiB by default.
Put a short design section in the AGENTS.md at the root of your frontend. For example:
Design rules
Read src/styles/tokens.css before any UI work. Use only its variables. No raw hex values and no new colors.
Headings use the brand display font and body text uses the brand text font. Both load from public/fonts. Never fall back to Inter or a system font.
The logo is public/brand/logo.svg. Use the file. Never redraw it or set the name in text.
Buttons, cards and fields come from src/components/ui. Reuse them instead of styling new ones.
Copy is plain words. Never invent a number, review or customer logo.
After a UI change, check the page at 1440 and 390 pixels wide.
Keep it short. A 32 KiB cap and a model's attention both reward a page of rules over a manual.
Why do design tokens matter for Codex frontend design?
Codex reads code better than it reads prose. Tokens turn your brand into names it can use: --color-action, --color-text-muted, --font-display, --radius-card. The rule in AGENTS.md says to use them. The tokens file says what they are.
Say Codex builds a new pricing card. Without tokens it picks a common indigo for the button, a 12 pixel radius and Inter. With a tokens file and the rule above, it writes background: var(--color-action), uses the radius your other cards use, and the font loads from your own files. Same model, same prompt, different inputs.
Put the font files in the repo with @font-face rules, and point Codex at the components it should reuse. Every value the agent can find in the code is one it doesn't have to guess. If your team uses Claude Code too, the same approach is in make Claude Code build on-brand UI.
Can Codex use skills for design?
Yes. A skill is a folder with a SKILL.md file that has a name and a description, plus optional scripts, references and assets (OpenAI). Codex finds skills in .agents/skills in your repo and in $HOME/.agents/skills. You call one by name with $ or /skills, or Codex picks it when your task matches its description.
A brand skill fits rules you don't want in every prompt: how to lay out a marketing page, the ad sizes, the slide template. Keep AGENTS.md for the rules that apply to every change. OpenAI's docs also say plugins carry skills and connectors through one directory shared by ChatGPT and Codex, so one brand plugin can serve both.
How do I add an MCP server to Codex?
Codex keeps MCP servers in ~/.codex/config.toml, or in .codex/config.toml inside a trusted project. OpenAI's docs say the ChatGPT desktop app, the Codex CLI and the IDE extension share this configuration (OpenAI).
- Run
codex mcp add klayson --url https://api.klayson.com/mcp, or add two lines to config.toml:[mcp_servers.klayson]andurl = "https://api.klayson.com/mcp". - If the server signs in with OAuth, run
codex mcp login klayson. It opens a browser. - Run
codex mcp listto confirm it is there.
In the IDE extension it is the gear menu, then MCP servers, then Add server. For a server that takes a token instead of OAuth, the docs use bearer_token_env_var to name an environment variable that holds it, so the token stays out of the file. The Klayson steps are at Connect Codex.
How do I check what ChatGPT or Codex made?
Ask for the check in the same prompt, then do the parts only you can judge:
- The fonts on screen are the brand's. Look at the computed font in the browser's dev tools.
- Every color maps to a role, and nothing new appeared.
- The logo is the file.
- The page holds at 390 pixels wide, with no clipped text.
- Body text passes a contrast check.
- Every number, review and logo is one you can source.
If a page fails the same check twice, the rule is missing from the brand guide or from AGENTS.md. Add it there, not to the next prompt.
Doing it with Klayson
Every step above works with a PDF and an AGENTS.md. The gap is that both are copies. The PDF is stale the day someone changes a color, and neither one can tell you whether the page Codex just built uses your font.
Klayson is the brand and design source of truth for AI agents. You turn your website, a brand guide file or your codebase into a brand guide: overview, logo, colors with roles, typography with the real font files, voice, imagery, products, layout, components, sections, and pages for web, app, ads, social, slides, email and print with your own examples. ChatGPT and Codex read it over the same address, https://api.klayson.com/mcp, with tools like get_brand and get_page. Codex can send your repo's design values to the guide with capture_codebase, and import_brand_guide reads a PDF or deck you already have.
When the work is done, check_design renders the HTML or URL and lists what is off, each with its fix: the brand's fonts not on screen, overflow at 390 pixels, clipped text, low contrast, generic AI tells, a redrawn logo.
Klayson doesn't design anything. ChatGPT or Codex makes the page. Klayson holds the brand and checks the work. Free is $0 with no card and 100 agent calls a week, Pro is $20 a seat a month, and Enterprise is custom. The setup steps are at Connect ChatGPT and Connect Codex.
Final thoughts
Both tools follow a brand well once they can find it. ChatGPT finds it in a project or a connected server. Codex finds it in AGENTS.md, the tokens and config.toml. Write the brand down once, put it where each one looks, and check what comes back.
If something here didn't work for you, email daryl@klayson.com.
Daryl