Codex for SEO: Skills, AGENTS.md and Claude Code Compared
How OpenAI Codex runs SEO work with skills, AGENTS.md, codex exec and a Search Console MCP, which SEO repos install for it, and how it differs from Claude.
By Tyler Phan5 min readLast reviewed

On this page
Codex does SEO work much like Claude Code does it: you install skills (folders with a SKILL.md) and give it an AGENTS.md of house rules, then it audits or edits the files in your repo. Codex reads skills from .agents/skills, runs unattended with codex exec, and usually reaches Search Console through an MCP server you add, though some packs call the API from a script instead. The folders, the instruction file and the default permissions are what differ from Claude Code, and they're what break an install. The AgriciDaniel/codex-seo repo that search results still point to now redirects to a ChatGPT plugin, so check the repo owner and name before you install.
How Codex runs SEO skills
A Codex skill is a folder with a SKILL.md that must include a name and a description, plus optional scripts and reference files. You call one with /skills or by typing $ in the CLI or the IDE extension, or Codex picks it when your task matches the description. That last route is why a good description matters more than the body: "audit title tags and meta descriptions in Next.js pages" gets picked, "SEO helper" may not.
OpenAI's docs cap the list of skills Codex starts with at 2% of the model's context window, or 8,000 characters when the window is unknown, and a config setting raises it up to 10,000 tokens. With many skills installed, Codex shortens descriptions or leaves some out and shows a warning. An SEO pack of 30 skills on top of your other skills can hit that limit, so install the few you use.
Codex looks for repo skills in .agents/skills in every folder from where you start it up to the repository root, then in $HOME/.agents/skills for your user and /etc/codex/skills for the machine.
SEO repos that work in Codex, checked November 26
We read each README and pulled stars and the last commit from the GitHub API at 16:00 UTC on November 26, 2026. Packs built only for Claude Code are in our Claude post linked above.
| Repo | Stars | Last commit | Codex note from the README |
|---|---|---|---|
| coreyhaines31/marketingskills | 62,784 | Nov 23, 2026 | Codex plugin: codex plugin marketplace add coreyhaines31/marketingskills |
| AminForou/mcp-gsc | 2,296 | Nov 20, 2026 | Search Console MCP server; lists Codex CLI; read-only by default |
| Illyism/seo-skills | 2,164 | Nov 25, 2026 | 30 skills; Codex reads them from .agents/skills/ |
| Bhanunamikaze/Agentic-SEO-Skill | 1,090 | Oct 14, 2026 | Installs for Codex CLI into ~/.codex/skills/seo |
| AgriciDaniel/chatgpt-seo | 947 | Oct 19, 2026 | Formerly codex-seo; now a ChatGPT plugin, Codex build not included |
| everyinfra/seo-skills | 648 | Nov 26, 2026 | One seo-suite skill; "No model calls" and no API key |
The codex-seo repo is now a ChatGPT plugin
When we asked GitHub's API for AgriciDaniel/codex-seo on November 26, it answered "Moved Permanently" and pointed to a repo now named AgriciDaniel/chatgpt-seo. Its README says the repository "is being repurposed for the already-built ChatGPT package" and that the former Codex version's installers, hooks and agents "are not bundled here". It installs as a manual ZIP in ChatGPT, with directory approval still pending. If a list still sends you to AgriciDaniel/codex-seo for Codex, pick a pack from the table above whose README names Codex.
Two skill folders in use
OpenAI's skills page lists $HOME/.agents/skills for user skills. Codex's own built-in skill-installer, in the openai/codex source, installs into $CODEX_HOME/skills, which defaults to ~/.codex/skills. Agentic-SEO-Skill's README uses that same path, ~/.codex/skills/seo. Whichever folder a pack picks, run /skills after the install and check that the SEO skills are listed before the first audit.
Codex vs Claude Code for SEO work
Both agents read the open skill format. They differ in where each keeps skills and rules, and in what it may do unattended.
| Codex | Claude Code | |
|---|---|---|
| Skill folders | .agents/skills, $HOME/.agents/skills; the built-in installer uses ~/.codex/skills | .claude/skills, ~/.claude/skills |
| Call a skill | /skills or $, or picked by description | /skill-name, or picked when relevant |
| House rules | AGENTS.md, combined up to 32 KiB by default | CLAUDE.md; can read AGENTS.md instead |
| Unattended run | codex exec, read-only sandbox by default | claude -p, tools pre-approved with --allowedTools |
| Search Console | codex mcp add, config in ~/.codex/config.toml | MCP server or a plugin that bundles one |
For SEO, the unattended-run row matters most. A scheduled codex exec audit can't edit files until you give it a writable sandbox, such as --sandbox workspace-write, and the read-only default is the one we'd keep for a job that should only report. One AGENTS.md can also serve both agents in a repo with no CLAUDE.md, since Claude Code then reads it instead. Our own agents are Claude, and we haven't run Codex on Elmrank, so the table compares documentation, not output quality.
If your team already runs Claude Code, switching to Codex adds no SEO features, and most of the same SKILL.md files work once they sit in .agents/skills.
- 1Pick a packOne whose README names Codex
- 2Check /skillsConfirm Codex sees each skill before the first audit
- 3Write AGENTS.mdPages, templates and files the agent must not touch
- 4Add Search Consolecodex mcp add with a read-only server
- 5Schedule codex execRead-only sandbox for reports; review fixes by diff
What to hand Codex and what to keep
A default codex exec run can read the repo and report, so the file checks from our technical SEO audit checklist suit it. It can list missing titles, canonicals that point elsewhere, sitemap entries with no page behind them and pages with few internal links.
Fixes need a writable sandbox, and robots.txt is the file to keep out of that run. A rule for AI crawlers needs the exact user agent strings in our AI crawler user agents list, and a person should read it before it ships.
If Search Console data comes in through mcp-gsc, which is read-only by default, an audit can pull it without changing anything in your property. Check what the agent reports against the screens in our Search Console guide before you trust its traffic claims.
Start with one skill and a read-only codex exec run on a copy of your site's repo, and check its report against the live pages before you let it write. Then compare that report with our technical SEO guide, which shows how Google crawled and indexed our own sites.
Checked November 26, 2026: OpenAI's Codex docs on skills, AGENTS.md, codex exec and MCP, the Claude Code docs on skills, claude -p and memory, and six repos' READMEs with GitHub API counts at 16:00 UTC.
How we know this
Written by Tyler Phan. Every source below was read on the date shown; the page was last reviewed on Nov 27, 2026.
- OpenAI, Build skills for ChatGPT and Codex, accessed Nov 26, 2026
- OpenAI, Custom instructions with AGENTS.md, accessed Nov 26, 2026
- OpenAI, Non-interactive mode (codex exec), accessed Nov 26, 2026
- OpenAI, Model Context Protocol in Codex, accessed Nov 26, 2026
- Claude Code docs, Extend Claude with skills, accessed Nov 26, 2026
- Claude Code docs, Run Claude Code programmatically, accessed Nov 26, 2026
- Claude Code docs, How Claude remembers your project, accessed Nov 26, 2026
- GitHub, AgriciDaniel/chatgpt-seo (formerly codex-seo), README and REST API, accessed Nov 26, 2026
- GitHub, Illyism/seo-skills (README and REST API), accessed Nov 26, 2026
- GitHub, everyinfra/seo-skills (README and REST API), accessed Nov 26, 2026
- GitHub, Bhanunamikaze/Agentic-SEO-Skill (README and REST API), accessed Nov 26, 2026
- GitHub, coreyhaines31/marketingskills (README and REST API), accessed Nov 26, 2026
- GitHub, AminForou/mcp-gsc (README and REST API), accessed Nov 26, 2026
- OpenAI Codex source, built-in skill-installer SKILL.md, accessed Nov 27, 2026
- OpenAI, Codex configuration reference, accessed Nov 27, 2026
Send us your site.
We reply within 12 hours with what we'd fix first. Then we run it for you, technical SEO and content: $500 for the first month, then $300 a month for up to 30 articles. You don't need any technical knowledge, and you can cancel any time.


