AICODINGBASESETUP-26. Target: equivalent development workflows with native integration for each CLI. This does not promise identical model decisions, UI, permission prompts, or third-party plugin inventories.
| Capability | Claude Code | Codex |
|---|---|---|
| Estate skills | ~/.claude/skills |
Same files via ~/.agents/skills |
| Independent PR review | Defaults to Codex | Defaults to Claude |
| Review/fix handback | Shared throwaway-worktree driver, no commits/pushes | Same driver |
| Housekeeping | /housekeep from the shared skill |
$housekeep |
| End-of-session check | /wrapup from the shared skill, implicit use disabled by disable-model-invocation |
$wrapup, implicit use disabled by agents/openai.yaml |
| New project layout | templates/project/ |
Same reference templates |
| Memory retrieval | memory-router MCP + prompt hints | Same MCP + prompt hints |
| Secret-deny hook | PreToolUse | Same script, managed PreToolUse |
| Transcript redaction | Stop/SessionEnd + startup notice | Same scripts, managed hooks |
| Archive reminder | SessionStart | Same script, managed SessionStart |
| Phone notification | PermissionRequest hook | Turn-complete notify; tmux fallback for waiting |
| Branch isolation | Shared worktree-session skill and aicoding-worktree |
Same helper and location |
| Dev process | dev-process-lite and assess-run skills; repo docs/DEV_PROCESS.md wins |
Same skills via ~/.agents/skills; same precedence |
| Independent session messages | Native Claude peers | No equivalent cross-harness transport; AICODINGBASESETUP-29 |
| Subagents | Native Claude tools | Native Codex multi-agent feature |
Superpowers is retired (owner decision 2026-11-22). install.sh and
aicoding-sync remove it from both CLIs: the Claude plugin is in
RETIRED_PLUGINS and disabled in enabledPlugins, and on Codex
install_codex_plugins runs codex plugin remove superpowers@openai-curated-remote and deletes the
~/.codex/skills/superpowers link that earlier syncs created. A user-owned
directory or unrelated symlink at that path is left alone.
Start a fresh session after installing plugins to pick up their skills.
The existing skill bridge preserves a real user-owned ~/.agents/skills
directory; users who adopted that layout must link the desired estate skills
into it themselves. Standard blueprint installs get the shared directory link.
The managed hooks live under /etc/codex so they take effect without a
per-user /hooks trust step. The memory wrapper tags retrieval as
hook:claude-code or hook:codex. All reminder paths fail open.
All five clients use the board's hosted MCP at
https://kanban.dataprospectors.at/mcp with a bearer header rendered from
KANBAN_TOKEN. Its initialize result carries the canonical workflow; Codex,
Cursor, OpenCode and Antigravity receive the same text from GET /api/mcp/instructions
at session start: the OpenCode plugin through kanban-work --json instructions,
the others inside their start hook. Setup guidance only points clients to that
source.
| Client | Native integration | Lifecycle behavior | Enforcement gate |
|---|---|---|---|
| Claude Code | SessionStart, PreToolUse, PostToolUse, PostToolUseFailure, Stop, SubagentStop, SessionEnd hooks | Native session and agent identity, tool activity, child-aware stop, final reconciliation | None: every supported client is trusted |
| Codex | Managed SessionStart, PreToolUse, PostToolUse, Stop, SessionEnd hooks | Native thread and turn generation, successful tool activity, bounded failed-call reconciliation gate, final reconciliation | None: every supported client is trusted |
| Cursor Agent | SessionStart, preToolUse, postToolUse, postToolUseFailure, stop, subagentStop, sessionEnd hooks | Native conversation and generation identity, tool activity, child-stop correlation, final reconciliation | None: every supported client is trusted |
| OpenCode | One local plugin for both majors: v1 event and tool hooks; v2 event stream, tool hooks and session context hook | Native session and plugin-instance generation, tool activity, parent/child tracking, turn-end and deletion reconciliation | None: every supported client is trusted |
| Antigravity | SessionStart, PreInvocation, PreToolUse, PostToolUse, Stop hooks | Native conversation identity, tool activity, Stop only when agy reports fullyIdle |
None: every supported client is trusted |
Antigravity 1.5.20 has no session-end, prompt or subagent event (measured 2026-11-30):
- A resumed conversation fires no SessionStart, so the first PreInvocation of an unknown conversation also mints and injects the handle.
- A subagent is a separate conversation whose hooks name no parent. It gets its own top-level handle.
- A Stop with
fullyIdle: falseis deferred. A parent whose last Stop comes while a subagent is still finishing gets no later one, so its claim then expires on the board instead of being released at once. - A denied call fires no PostToolUse. Hook groups run in name order and stop at the first deny, so a call the managed guard denies never reaches the bridge. A call that a later hook or the user denies does leave an open local tool operation, so an idle Stop ignores those.
- A cancelled turn fires neither Stop nor PostToolUse (cancelled over ACP). The claim then stays until the next turn stops or the board expires it. Cancelled during a tool call, the local supervisor keeps renewing it for up to two hours.
/compactfires PreInvocation and an idle Stop (TERMINAL_CUSTOM_HOOK). The handle survives only because agy's summary quotes it (3 of 3 runs). Automatic compaction during a turn was not measured.- An MCP tool arrives as
call_mcp_tool, or asmcp_<server>_<tool>when agy loaded it up front, as it did for a server an ACP client supplied. - The bridge fails open on PreToolUse. Any failure there would deny the tool.
Every supported client can bind, claim and complete, whatever its version. The clients ship several releases a day, so a per-version allowlist could never keep up; a release that breaks the hooks shows up in use.
The local SQLite registry maps a handle to one native identity and run
generation, queues session registration, activity, Stop release and session
end, and records whether each Stop is settled. The pre-tool hook inspects only
claim_ticket, and only to settle the previous turn's Stop first. It is
operational coordination among processes running as one user, not an isolation
boundary against that user. kanban-work is the credential-safe transport for
the hooks.
Native API references: Claude Code hooks, Codex hooks, Cursor Agent hooks, and OpenCode plugins.
Both agents create implementation worktrees under
<repo-root>/.claude/worktrees/<branch> and keep shared checkouts unchanged.
aicoding-worktree <branch> [base-ref] handles creation and the local ignore
rule. Existing paths/branches are never reset. Already-linked worktrees are
reused for their current branch. The shared skill adds overlap checks and
handoff guidance.
Claude ListAgents/SendMessage is independent-session messaging. Codex's subagent tools are coordination inside a task tree. Neither is a native Claude↔Codex message bridge. AICODINGBASESETUP-29 tracks that separate feature; this change does not use private session sockets or wake unrelated sessions.
~/.claude/skills/review-by-harness/run.sh 123 /path/to/repo --harness claude --model opus --effort high --review-only
~/.claude/skills/review-by-harness/run.sh 123 /path/to/repo --harness codex --model gpt-6.2-sol --effort high --review-only
~/.claude/skills/review-by-harness/run.sh 123 /path/to/repo --harness antigravity --model gemini-4-neon --effort high --review-onlyExplicit --harness claude|codex|cursor|antigravity overrides caller-based selection.
Without --caller, the driver recognizes CLAUDECODE / CODEX_THREAD_ID;
unknown callers retain the historical Codex default. Skill-driven runs explicitly pass --harness, --model, and --effort
(Claude/Codex/Antigravity), regardless of caller. Unless explicitly overridden by the user,
use the Opus family (opus alias) or the Sol family (gpt-6.2-sol today); resolve with bash ~/.claude/skills/dev-process-lite/routes.sh <entry> reviewer --review-args. Fable and Astra
require explicit user overrides, except Astra as a council seat; complexity alone does not select them.
CLI flags override machine REVIEW_MODEL and
REVIEW_EFFORT; both passes receive the same choice, recorded in
.review-round/run.json and the header. Cursor effort belongs in its model
selector; --effort is rejected for Cursor. For older callers, environment
settings override adapter defaults; a model override must be valid for
the selected harness. Claude defaults to opus, Codex to gpt-6.2-sol, Cursor to grok-4.7-high-fast, Antigravity to gemini-4-neon at high.
Antigravity honours REVIEW_MODEL but takes its effort only from --effort.
It reviews in agy --mode plan, started outside the checkout with session rules that allow reading the checkout and deny shell, MCP, writes and web access, and is review-only: --review-only is required.
Claude review exposes only Read/Glob/Grep, with MCP tools excluded and
dontAsk permission mode. Codex review runs in a read-only sandbox, and both
Codex passes ignore the user configuration and mark the worktree untrusted.
Cursor review runs in a temporary workspace with a copy of the tracked files,
and its fix pass is refused when the checkout has Cursor or Claude hook
configuration. The driver turns git hooks off for the whole run. The
driver verifies that review left the worktree unchanged, ignored files
included, also before a fix pass. PR metadata is read from the repository
behind origin. PR-controlled .review-round paths are refused before any report
write. Instruction paths must resolve to regular files inside the worktree.
Replacement is atomic and retains existing file modes. Cleanup restores
valid instruction files on handled termination; unsafe harness changes are
reported without preventing cleanup of the other files. Fix uses native
sandboxing when user namespaces work. When they do not, Claude honors the existing explicit full-access opt-in
REVIEW_SANDBOX='-s danger-full-access'; Cursor's --force is not enough.
The adapters retain existing user/managed hooks. As with the original
adapters, the worktree is a working location, not an OS security boundary.
Always verify findings and inspect actual changes and test output.
Every session follows the five rules of the global Dev process section. A
session that delegates to workers or runs unattended also follows the
shared dev-process-lite skill. A repo with
docs/DEV_PROCESS.md follows that instead. The review tier comes from
review-by-harness/tier.sh; its council uses the council-1 and council-2
routes. Routes name a model family per role; routes.sh resolves the newest
installed model and blocks rather than substitute. Runs start from Claude,
Codex or Cursor; OpenCode is not an entry harness. A route may name harness
antigravity with family neon, but not as an entry. Tiers as resolved on
2026-11-22:
| tier | Claude | Codex | Cursor |
|---|---|---|---|
| frontier (override only) | fable (claude-fable-5-2) |
astra (gpt-6.2-astra) |
claude-fable-5-2-*; no Grok or GPT frontier |
| workhorse | opus (claude-opus-5-5) |
sol (gpt-6.2-sol) |
grok (grok-4.7-xhigh) |
| balanced (implementer) | sonnet (claude-sonnet-5-5) |
luna (gpt-6-luna, unproven) |
grok at medium (grok-4.7-medium) |
| reviewer of this entry | Codex sol |
Claude opus |
Codex astra (alt: Claude fable) |
- Claude's background wiki distiller and memory-lanes transcript tee consume Claude JSONL. Codex retrieval is shared, but automated transcript ingestion needs a format adapter in the memory-lanes pipeline before wiring its Stop hook. Do not feed Codex JSONL to a Claude-format ingester unchanged.
- Claude's Opus/Fable-specific guidance, statusline and plugin agents remain
Claude-specific. Codex uses its own model guidance and UI. Claude's
pyright-lspplugin does not imply a Codex LSP integration; CLI type checks remain available to both. - Claude's additional plugins (frontend-design, code-simplifier, code-review, claude-code-setup) are not wholesale copied. Estate design guidance and review workflows are shared; setup advice must target the actual CLI.
- Antigravity shares skills (through
~/.agents/skills), MCP servers, global instructions (~/.gemini/AGENTS.md) and the deny rules. It has no memory hints or phone notification; it reviews but cannot fix. Its hook contract (measured on 1.5.20): empty output is neutral,{}denies, a non-zero exit or timeout denies, and one malformed entry inhooks.jsonsilently disables the whole file. - Permission events and interactive questions differ by harness. Shared skills describe the task rather than requiring a Claude-only tool name.
- Client-specific features beyond the managed lifecycle adapters remain outside this parity scope.
Automated coverage exercises native plugin install/activation/failure paths, reviewer routing, the Claude adapter tool and sandbox modes, instruction-file restoration, unexpected review writes, and managed hook deployment. Run:
bash tests/bats/run.sh codex-plugins claude-review-adapter review-by-harness codex-managed-hooks memory-hint-hook
bash tests/bats/run.shLive validation should check codex plugin list --json, skill discovery in a
fresh session, housekeeping on disposable docs (including an archive name
collision), and review/fix on a disposable repository. Stubbed tests alone
cannot prove model behavior or account access.
References: Codex skills,
Codex hooks. CLI installation syntax
verified with codex-cli 0.153.4; Claude adapter flags with Claude Code 2.1.263.