Skip to content

Instantly share code, notes, and snippets.

@mbijon
Created April 30, 2026 21:19
Show Gist options
  • Select an option

  • Save mbijon/b18a3d64b33046f8a362187162068670 to your computer and use it in GitHub Desktop.

Select an option

Save mbijon/b18a3d64b33046f8a362187162068670 to your computer and use it in GitHub Desktop.
ChatGPT: Add gremlins ...and how to extract the system instructions
instructions=$(mktemp /tmp/gpt-5.5-instructions.XXXXXX) && \
jq -r '.models[] | select(.slug=="gpt-5.5") | .base_instructions' \
~/.codex/models_cache.json | \
grep -vi 'goblins' > "$instructions" && \
codex -m gpt-5.5 -c "model_instructions_file=\"$instructions\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment