Skip to content

Instantly share code, notes, and snippets.

@th3nolo
Forked from imWildCat/codex-gpt-5-codex.sh
Created September 9, 2025 15:53
Show Gist options
  • Save th3nolo/a014d0191f5b6fb70953550ebd909b80 to your computer and use it in GitHub Desktop.
Save th3nolo/a014d0191f5b6fb70953550ebd909b80 to your computer and use it in GitHub Desktop.

Revisions

  1. @imWildCat imWildCat revised this gist Sep 8, 2025. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion codex-yolo.sh
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,6 @@ cdx() {
    else
    codex -m gpt-5 --yolo -c model_reasoning_effort="high" --search "$@"
    fi
    }
    }

    # Note: with auto confirmation. use at your own risk. thanks!
  2. @imWildCat imWildCat revised this gist Sep 8, 2025. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions codex-yolo.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # from: <https://x.com/iannuttall/status/1965090297630826931>
    cdx() {
    if [[ "$1" == "update" ]]; then
    npm install -g @openai/codex@latest
    else
    codex -m gpt-5 --yolo -c model_reasoning_effort="high" --search "$@"
    fi
    }
  3. @imWildCat imWildCat revised this gist Sep 8, 2025. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion codex.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    cdx() {
    # from: <https://x.com/iannuttall/status/1965090297630826931>
    cdx() {
    if [[ "$1" == "update" ]]; then
    npm install -g @openai/codex@latest
    else
  4. @imWildCat imWildCat created this gist Sep 8, 2025.
    7 changes: 7 additions & 0 deletions codex.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    cdx() {
    if [[ "$1" == "update" ]]; then
    npm install -g @openai/codex@latest
    else
    codex -m gpt-5 -c model_reasoning_effort="high" --search "$@"
    fi
    }