Tax Preparation
Claude Code vs Codex for a Tax Firm's Scripts
Jump to a section
Key takeaways
- Anthropic and OpenAI each describe their product as a coding agent, and this piece uses both only for the Firm's internal scripts.
- Claude Code reads a CLAUDE.md or an existing AGENTS.md; Codex's /init creates an AGENTS.md, so one file can serve a Firm that uses both.
- Both vendors describe a way to have the agent ask before acting: Manual mode for Claude Code, /permissions for Codex.
- Review and undo lines differ by vendor, so read each page's own words rather than treating them as the same feature.
- Gaps in the pages read, such as data terms and price, get checked on the vendor's own pages before the Firm relies on them.
- One Firm standard applies to either agent: one scripts folder, one instruction file, a person reading every diff, and a change-log row before approval.
A Firm that keeps a handful of small office scripts may end up weighing Claude Code against Codex. Both vendors describe their product as a coding agent. This piece sets each vendor's own lines side by side on the controls a Firm sets for staff working on internal scripts, and it names no winner.
Scripts list and check. The return is prepared by the Firm's people in its tax software, and the Firm's Reviewer signs off.
Two coding agents, in the vendors' words
Anthropic's Claude Code overview page says: "Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools." OpenAI's help article on using Codex with a ChatGPT plan says: "This article covers Codex, OpenAI's coding agent that helps you write, review, and ship code."
Both work on files on the staff member's own machine. The Claude Code page describes its CLI this way: "Edit files, run commands, and manage your entire project from the command line." The Codex CLI page says: "Let Codex inspect files, make edits, and run the tools already installed on your machine."
Every vendor line here was read on October 17, 2026 (UTC), from public pages, logged out, and any of them can change. Neither page read mentions tax work, and this piece uses both agents only for the Firm's own scripts, built and tested on Doe files, with a person reviewing every change.
The controls side by side
Each row asks both pages the same question. Cells paraphrase; the exact lines follow the table. A diff is the before-and-after view of a change.
Control | Claude Code (Anthropic's pages) | Codex (OpenAI's Codex CLI page) |
|---|---|---|
Instruction file | A CLAUDE.md file read at the start of every session; can read an AGENTS.md instead | |
Asking before acting | Permission modes; Manual mode stops and asks before most edits and commands | |
Reviewing a change | Inline diffs in VS Code; visual diff review in the desktop app | |
Undoing work | Works with git: stages changes, writes commit messages, creates branches | Git checkpoints (saved snapshots) before and after a task, to revert |
Steps around each change | Hooks run shell commands before or after actions | "Hooks" appears only as a menu link, with no description |
Scripted runs | Accepts piped logs, runs in CI, or chains with other tools | |
The instruction-file lines. Claude Code: "CLAUDE.md is a markdown file you add to your project root that Claude Code reads at the start of every session. Use it to set coding standards, architecture decisions, preferred libraries, and review checklists." Codex lists /init to "create an AGENTS.md file with instructions for Codex".
The ask-first lines. Anthropic's permission modes page opens: "Control whether Claude asks before acting." It goes on: "In Manual mode, Claude Code stops and asks you before most actions that edit files, run shell commands, or reach the network." The Codex CLI page says /permissions lets you "Choose when Codex can edit files or run commands without asking, and inspect the active sandbox and writable roots before you continue."
The review lines. Claude Code: "The VS Code extension provides inline diffs, @-mentions, plan review, and conversation history directly in your editor." The desktop app lets you "Review diffs visually". Codex: "Codex reports prioritized findings without modifying your working tree, so you can address risks before you commit or open a pull request."
The undo lines. Claude Code: "Claude Code works directly with git. It stages changes, writes commit messages, creates branches, and opens pull requests." Codex: "Create Git checkpoints before and after a task so you can revert changes." These describe different things.
The last two rows. Claude Code: "Hooks let you run shell commands before or after Claude Code actions, like auto-formatting after every file edit or running lint before a commit." It also says: "Pipe logs into it, run it in CI, or chain it with other tools". Codex: "Use Codex interactively or call codex exec from repeatable workflows and pipelines." The Firm chooses attended runs for either agent.
A cell with no description marks a gap in what was read, not a missing feature. Check the vendor's docs before the Firm relies on it.
What the quoted pages don't say
- Data terms. Neither page covers how each vendor handles data for the account staff sign in under. Read the current terms for the account the Firm approves. For the chat products' account terms side by side, see Claude vs ChatGPT for tax prep.
- Price. This piece quotes no price for either agent. Check each vendor's current pricing page.
- The starting mode. Anthropic's permission modes page says the mode a session starts in depends on the surface and settings, and it describes an auto mode in which "a second model, the classifier, reviews actions instead of you". The Firm's rule is Manual mode for script work, so staff are asked before most edits and commands. On the Codex side, the Firm chooses when edits or commands require approval through
/permissions, and staff inspect the active sandbox and writable roots before each run. - Tax documents. Neither page claims anything about tax documents, and nothing here asks either agent to open one.
Choose by where staff already work
On the quoted lines, the choice comes down to where staff already edit scripts.
Claude Code's overview page says it is "Available in your terminal, IDE, desktop app, and browser." The Codex CLI page lists an "IDE extension" with the description "Work with Codex beside the code in your editor."
Three Firm choices follow from that.
- Pick the agent that runs where the scripts' editor already lives.
- Pick the one whose account the Firm has already approved after reading its terms.
- Choose one Firm standard for both agents.
The instruction file is where the two can meet. The Claude Code page says: "If your repository already has an AGENTS.md for other coding agents, Claude Code can read that in place of a CLAUDE.md." So a Firm that uses both can keep one AGENTS.md in its scripts folder. That page line is the whole claim; test it on the Firm's own setup before relying on it.
For the Firm's chosen method, see the Codex piece.
A Doe example
At Doe & Co. CPA, Riley Doe already edits the office scripts in a code editor (IDE). Jordan Doe works from the terminal.
Morgan Doe, a partner, allows either agent under one Firm standard: each change-log row names who asked, who read the diff and who approved, and carries a one-line reason for the change. A person reads every diff before a script is approved.
This fictional example uses synthetic Doe files only. Under the Firm's rule, neither agent opens a client folder.
Where TracePrep fits
TracePrep's one shipped workflow today is the Reasonable Compensation Study for an S-corporation shareholder-employee. It's a different job from this workflow, and it keeps the same kinds of records:
In this workflow | In the Study |
|---|---|
Cells paraphrase; the exact lines follow the table. | Every figure traces to its source, occupation, geography, and period, at field level |
Each change-log row carries a one-line reason for the change | Each Preparer adjustment carries a documented rationale |
Each change-log row names who asked, who read the diff and who approved | The audit log records who prepared, who changed what, and who approved |
A person reads every diff before a script is approved | A qualified Reviewer controls the conclusion and signs off |
This is general information, not tax or legal advice. Your licensed professional and your Firm's Reviewer are responsible for every return and every conclusion. Keep client data inside the systems your Firm has approved. As general guidance only, not advice: if you use an AI tool with client data, firms generally look for a business or commercial plan whose terms cover how that data is handled; read the vendor's current terms before you do.
Frequently asked questions
Can a Firm let some staff use Claude Code and others use Codex?
Does either agent's review feature replace a person reading the diff?
Do the quoted pages say anything about client data?
Which one costs less?
Can either agent run a script on a client folder for us?
Bobby Huang · founder of TracePrep Inc.
Bobby Huang is the founder of TracePrep Inc. TracePrep is a tax-prep platform for CPA, EA, and accounting firms, and it also produces the Reasonable Compensation Study.
Related reading
- Tax Preparation
A Status Board for AI-Drafted Files: Where Each File Stands
How a manager keeps a status board for AI-drafted files: six fixed stages, one owner and one date per file, and a weekly read for files stuck in a stage.
Bobby Huang7 min read - Tax Preparation
When a Source Page Can't Be Read: Poor Scans and the AI Pass
How a Firm can have a Preparer screen poor scans before an AI drafting pass, hold back pages a person can't read with confidence, and get a clean copy or key by hand.
Bobby Huang8 min read - Tax Preparation
Marking Hand Edits on an AI-Drafted Entry List
How a Firm can have a Preparer mark each AI-drafted row as drafted, edited or keyed by hand, and have the Reviewer read changed rows, then the rest, before sign-off.
Bobby Huang7 min read