Stats
Actions
Tags
From sidekick
Canonical Codex stop workflow. Use /sidekick:codex-stop to deactivate delegation and return to direct host behavior.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sidekick:codex-stopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stop Codex mode and restore normal direct-host behavior.
Stop Codex mode and restore normal direct-host behavior.
SIDEKICK_SESSION="${SIDEKICK_SESSION_ID:-${SIDEKICK_HOST_SESSION_ID:-${CODEX_THREAD_ID:-${CLAUDE_SESSION_ID:-${SESSION_ID:-}}}}}"
test -n "${SIDEKICK_SESSION}" || { echo "No host session id found for Codex mode"; exit 1; }
CODEX_STATE_ROOT="${HOME}/.codex"
test -f "${CODEX_STATE_ROOT}/sessions/${SIDEKICK_SESSION}/.codex-delegation-active"
rm -f "${CODEX_STATE_ROOT}/sessions/${SIDEKICK_SESSION}/.codex-delegation-active"
ACTIVE_FILE="${HOME}/.sidekick/sessions/${SIDEKICK_SESSION}/active-sidekick"
if [ -f "${ACTIVE_FILE}" ] && [ "$(cat "${ACTIVE_FILE}")" = "codex" ]; then
rm -f "${ACTIVE_FILE}"
fi
Then confirm: "Codex sidekick mode deactivated for this session. Direct-host mode restored.".codex/conversations.idx is preserved across deactivation as the Sidekick-owned Codex audit ledger.npx claudepluginhub alo-exp/sidekick --plugin sidekickCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.