You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The plugin lets Claude Code launch one Codex agent or several Codex agents in pa
11
11
- Codex binary: prefers `/Applications/Codex.app/Contents/Resources/codex` when the Codex desktop app is installed, then falls back to configured overrides and `codex` on `PATH`.
cwd: external_exports.string().trim().min(1).optional().describe("Compatibility alias for project_dir."),
@@ -21902,7 +21905,7 @@ server.registerTool(
21902
21905
"run_agent",
21903
21906
{
21904
21907
title: "Run one Codex agent",
21905
-
description: "Launch one OpenAI Codex agent via codex exec. Use automatically when the user asks Claude to use Codex, ask Codex, get a Codex second opinion, run a Codex subagent, use Codex Spark, or delegate one read-only analysis task. Defaults to the Codex desktop app binary when installed, read-only sandbox, fast service tier, and non-interactive approvals.",
21908
+
description: "Launch one OpenAI Codex agent via codex exec. Use automatically when the user asks Claude to use Codex, ask Codex, get a Codex second opinion, run a Codex subagent, use Codex Spark, or delegate one read-only analysis task. Defaults to the Codex desktop app binary when installed, read-only sandbox, Codex's normal service tier, and non-interactive approvals.",
"Concrete instructions for the Codex agent. Include scope, read-only expectation, desired output shape, and file/line reference requirements when reviewing code."
Copy file name to clipboardExpand all lines: skills/codex-subagents/SKILL.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,9 @@ When Claude wants Codex to work in the same repository or folder as the active C
24
24
25
25
Prefer `reasoning_effort: "medium"` for exploration and `high` or `xhigh` only when the task is complex enough to justify the extra latency and token usage.
26
26
27
-
Use `model_preset: "spark"` for fast, focused work such as UI iteration, narrow exploration, small reviews, and quick sidecar checks.
27
+
Use `model_preset: "spark"` for responsive, focused work such as UI iteration, narrow exploration, small reviews, and quick sidecar checks.
28
+
29
+
Do not set `service_tier` by default. Let Codex use its normal account/default service tier unless the user explicitly asks for a service tier.
28
30
29
31
Use `codex_status` only when diagnosing installation or binary resolution, or after a failed Codex tool call. Normal delegation should start with `run_agent` or `run_agents`.
Copy file name to clipboardExpand all lines: src/index.ts
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,9 @@ const usageGuide = [
31
31
"Default operating rules:",
32
32
"- Keep sandbox read-only unless the user explicitly asks for a different sandbox.",
33
33
"- Approvals are non-interactive; do not expect Codex to ask permission.",
34
-
"- Prefer model_preset \"spark\" for fast focused checks, small reviews, UI iteration, and responsive sidecar analysis.",
34
+
"- Prefer model_preset \"spark\" for responsive focused checks, small reviews, UI iteration, and sidecar analysis.",
35
35
"- Use reasoning_effort \"medium\" by default, \"low\" for simple checks, and \"high\" or \"xhigh\" only for difficult analysis.",
36
+
"- Do not set service_tier by default. Let Codex use its normal account/default service tier unless the user explicitly asks for a service tier.",
36
37
"- Pass project_dir whenever Claude knows the active project directory so Codex works in the same tree as Claude Code.",
37
38
"- Ask Codex for concise results with file paths, line references, and actionable findings when reviewing code.",
38
39
"",
@@ -134,7 +135,7 @@ const commonInputSchema = {
134
135
model_preset: modelPresetSchema
135
136
.optional()
136
137
.describe(
137
-
"Convenience model preset. Use `spark` for fast Codex Spark work; it maps to gpt-5.3-codex-spark.",
138
+
"Convenience model preset. Use `spark` for responsive Codex Spark work; it maps to gpt-5.3-codex-spark.",
138
139
),
139
140
reasoning_effort: reasoningEffortSchema
140
141
.optional()
@@ -145,8 +146,10 @@ const commonInputSchema = {
145
146
.default("read-only")
146
147
.describe("Codex sandbox mode. Keep read-only unless the user explicitly asks otherwise."),
147
148
service_tier: serviceTierSchema
148
-
.default("fast")
149
-
.describe("Codex service tier. Defaults to fast for responsiveness."),
149
+
.optional()
150
+
.describe(
151
+
"Optional Codex service tier. Omit by default; only set this when the user explicitly asks for a service tier.",
152
+
),
150
153
model_verbosity: modelVerbositySchema
151
154
.optional()
152
155
.describe("Optional GPT-5 model verbosity override."),
@@ -376,7 +379,7 @@ server.registerTool(
376
379
{
377
380
title: "Run one Codex agent",
378
381
description:
379
-
"Launch one OpenAI Codex agent via codex exec. Use automatically when the user asks Claude to use Codex, ask Codex, get a Codex second opinion, run a Codex subagent, use Codex Spark, or delegate one read-only analysis task. Defaults to the Codex desktop app binary when installed, read-only sandbox, fast service tier, and non-interactive approvals.",
382
+
"Launch one OpenAI Codex agent via codex exec. Use automatically when the user asks Claude to use Codex, ask Codex, get a Codex second opinion, run a Codex subagent, use Codex Spark, or delegate one read-only analysis task. Defaults to the Codex desktop app binary when installed, read-only sandbox, Codex's normal service tier, and non-interactive approvals.",
Copy file name to clipboardExpand all lines: test/claude-autodiscovery.mjs
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ try {
78
78
79
79
Work in this exact project directory: ${projectDir}
80
80
81
-
Codex should stay read-only and include the token AUTODISCOVERY_OK in its reply. Use a fast focused Codex configuration.
81
+
Codex should stay read-only and include the token AUTODISCOVERY_OK in its reply. Use Codex Spark, but do not set an explicit service_tier.
82
82
83
83
After the Codex result comes back, return exactly one compact JSON object and no markdown. Shape: {"ok": boolean, "tokenSeen": boolean, "model": string, "cwd": string}. Set ok true when the Codex tool call completed successfully.`;
84
84
@@ -156,6 +156,11 @@ After the Codex result comes back, return exactly one compact JSON object and no
156
156
"Fake Codex should be launched with the Spark preset",
0 commit comments