Stop using abbreviations
Resolved 💬 5 comments Opened Aug 31, 2025 by lukaszciastko Closed Sep 3, 2025
💡 Likely answer: A maintainer (guidedways, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
The GPT-5 model is consistently using abbreviations in code, which makes the code unreadable. Please instruct it in the default prompt not to do this - it's a very bad (and annoying) coding practice.
Are you interested in implementing this feature?
_No response_
Additional information
_No response_
5 Comments
Same - it uses variables such as
porvetc. The solution seems to be to add explicit instructions inAGENTS.mdand your desired coding standards (with examples, otherwise it still won't follow instructions). Annoying to hav to do this though as Claude Code never does this.It seems
AGENTS.mdis frequently ignored - seems to be a widespread CLI issue across Claude / Codex / Gemini.Any way, it's back to ignoring code-style related instructions and is spitting out unreadably dense, short and abbreviated code with 1900s C style variable naming, one-line loops and if / else and the lot.
Closing as this is a model behavior. As mentioned above, try adding to AGENTS.md (with several strong words :)
@dedrisian-oai I've tried everything you can imagine in
AGENTS.mdit just doesn't help. How can we have the model deal with this better? Example of horrendous looking swift code:Who formats variables in one line? Codex does this to loops, if / else, functions, variables, just about everything.
@dedrisian-oai separately: https://github.com/openai/codex/issues/2927
Also, after around 40% context usage it seems to begin ignoring whatever it consumed in
AGENTS.md