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
fix(ce-work-beta): correct Codex delegation command and document pitfalls
Replace incorrect `codex --approval-mode` example with the tested
working invocation: `cat file | codex exec --skip-git-repo-check - `.
Add a pitfalls table documenting all five failure modes discovered
during testing: shell redirects, bare codex vs exec, wrong flags,
missing git repo check skip, and missing trailing dash for stdin.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plugins/compound-engineering/skills/ce-work-beta/SKILL.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -472,16 +472,21 @@ When external delegation is active, follow this workflow for each tagged task. D
472
472
473
473
3. **Write prompt to file** — Save the assembled prompt to a unique temporary file to avoid shell quoting issues and cross-task races. Use a unique filename per task.
474
474
475
-
4. **Delegate** — Run the delegate CLI, piping the prompt file via stdin. Omit the model flag to use the delegate's default model, which stays current without manual updates.
476
-
477
-
**Use `cat ... | codex`, not shell redirects.** Codex CLI rejects `< file` with "stdin is not a terminal". Always pipe:
475
+
4. **Delegate** — Run `codex exec` with the prompt piped via stdin. Use `exec` (not bare `codex`) for non-interactive delegation. Omit the model flag to use the delegate's default model, which stays current without manual updates.
0 commit comments