Codex ignores Claude Code's disable-model-invocation flag — use allow_implicit_invocation instead

SeanOliver · x · 2026-09-25

SeanOliver shares a cross-tool gotcha: when sharing skills between Claude Code and Codex, disable-model-invocation: true only works in Claude Code — Codex ignores it and still offers the skill in every session. The Codex equivalent is allowimplicitinvocation: false under policy: in agents/openai.yaml, placed next to SKILL.md. If you want request-only skills across both tools, you need to maintain separate config for each.

Related event: Developer Documents Pitfalls of Sharing Skills Between Claude Code and Codex(4 posts)→

Original post →

More from coding & agent

coding & agent channel →