# Codex vs Claude Code Project Rules for a Website

> Compare Codex and Claude Code project instructions for a website. Test shared repo guidance, skills and CI checks with a simple bilingual editing task.

URL: https://www.matthewswong.com/en/blog/codex-vs-claude-code-project-instructions-web/

- Author: Matthews Wong (https://www.matthewswong.com/en/about/)
- Published: 2026-12-03
- Updated: 2026-12-03
- Category: Web Development

> **Key takeaway:** Codex and Claude Code can both work from versioned repository instructions, with controls specific to each client. For a bilingual website, keep durable rules about routes and translation parity visible in the repo. Test instruction discovery and reserve enforceable checks for the scripts and CI jobs that already govern the code.

What belongs in shared project guidance?

Name the locale files, routing helpers and canonical commands for the site. Point to a working example so the agent can inspect the current design. Put task-specific choices such as the subject of a hero image in the task brief.

How do the clients discover guidance?

Codex documents AGENTS.md for repository instructions. Claude Code documents CLAUDE.md and support for existing AGENTS.md through its project memory guidance. Follow each tool’s instructions for how to share the file and confirm what was loaded from the working directory.

Where do skills help?

Keep a repeatable website workflow in a skill when it needs a checklist, image brief template or review examples. Check whether that skill was detected in the surface you are using. The table maps the working roles of guidance, skills and test scripts.

What should remain in CI?

Run message parity and relevant tests as explicit workflow steps. A repo instruction can ask the agent to run the right command, while CI gives maintainers an independent result. Include the expected route tests if a locale helper changes.

How can the same fixture test both tools?

Ask each tool to change one existing label and verify the paired locale update. Open both routes using the ordinary navigation path. Record any per-client override and the result that demonstrates the expected behaviour.

When should repository guidance change?

Change it when the shared rules or command paths really change, and validate it in fresh sessions. If the next task uses a different browser or image tool, record that in the run brief. Keep the shared guidance stable between ordinary content changes.

## Sources and further reading

- Codex project instructions
- Claude Code project memory
- Claude Code skills
- Codex skills guide

| Role | Codex | Claude Code |
| --- | --- | --- |
| Versioned repo guidance | AGENTS.md along the relevant directory path. | CLAUDE.md with the project’s chosen import setup. |
| Repeatable website task | A Codex skill provides the workflow and references. | A Claude Code skill provides the workflow and examples. |
| Independent acceptance check | Run the repository’s validation command. | Run the same command against the same fixture. |

## Source links

- https://learn.chatgpt.com/docs/agent-configuration/agents-md
- https://code.claude.com/docs/en/memory
- https://code.claude.com/docs/en/skills
- https://learn.chatgpt.com/docs/build-skills

## FAQ

### What belongs in shared project guidance?

Name the locale files, routing helpers and canonical commands for the site. Point to a working example so the agent can inspect the current design. Put task-specific choices such as the subject of a hero image in the task brief.

### How do the clients discover guidance?

Codex documents AGENTS.md for repository instructions. Claude Code documents CLAUDE.md and support for existing AGENTS.md through its project memory guidance. Follow each tool’s instructions for how to share the file and confirm what was loaded from the working directory.

### Where do skills help?

Keep a repeatable website workflow in a skill when it needs a checklist, image brief template or review examples. Check whether that skill was detected in the surface you are using. The table maps the working roles of guidance, skills and test scripts.

### What should remain in CI?

Run message parity and relevant tests as explicit workflow steps. A repo instruction can ask the agent to run the right command, while CI gives maintainers an independent result. Include the expected route tests if a locale helper changes.

### How can the same fixture test both tools?

Ask each tool to change one existing label and verify the paired locale update. Open both routes using the ordinary navigation path. Record any per-client override and the result that demonstrates the expected behaviour.

---

- HTML version: https://www.matthewswong.com/en/blog/codex-vs-claude-code-project-instructions-web/
- Bahasa Indonesia: https://www.matthewswong.com/id/blog/codex-vs-claude-code-project-instructions-web/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
