Cancel an active Codex handoff gate.
Deletes the Codex handoff gate state file to prevent Codex invocation on exit.
/plugin marketplace add 0xBigBoss/claude-code/plugin install codex-handoff@0xbigboss-pluginsCancel an active Codex handoff gate.
Find the state file at .claude/codex-handoff.local.md in the git root (or cwd if not in a repo)
Delete the state file to deactivate the handoff gate
Confirm cancellation to the user
# Find base directory (git root or cwd fallback)
BASE_DIR="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
# Delete state file
rm -f "${BASE_DIR}/.claude/codex-handoff.local.md"
After deleting the state file, confirm:
Codex handoff gate cancelled. You can now exit normally without triggering Codex.
/codex-handoff:handoff again