You will never risk your account by using /console commands.
The only commands that can be entered in /console are the ones Blizzard writes in for people to use, so by definition anthing you can use is within Terms of Service.
Having said that, setting your SpellQueue to zero has to be a mistake. It would mean you can never pre-hit a key for your next spell, even if you had a zero world ping, which in turn means you WILL lose time between your spell casts.
I have tried various AIs on WoW questions. Never Grok tho, I should try it. On some types of questions, like searching for why quests don’t work, and how to get around those problems, they can be very good, if they can integrate information from various comments. OTOH, they don’t know when a comment is out of date, so you have to have a real understanding of what they might be getting wrong.
But I never tried them on gameplay optimzation. I have no idea what Grok was “thinking” if it suggested zero,
I find this comment from Reddit expresses my understanding well:
https://www.reddit.com/r/wow/comments/81jn7q/need_help_to_understand_spell_queue_window/
Spell queue, if you’d set it as same as your ping, you’re essentially telling the game you have no delay (therefor no need for queue), theoretically it will cast whatever you press the moment you press the button, it will ignore any previous commands since you have virtually no lag. It is useful if you play a fast paced class where you react to procs, thus you don’t want to queue a spell when a much higher priority proc happens.
If you set it slightly higher, it will queue spells in that time frame, useful if you have above average ping(slight lag)and a relatively predictable spec but want no gap in your casting due to lag.
Now, if you set it to 400, that rather high leeway, you’re telling the game(assuming you have 0 ping to demonstrate the point), anytime I press a button, queue that spell for the next 400 milliseconds, which in turn will try to cast that spell for the next 400ms after your cast finishes. What is happening is, you cast fireball > fireball starts casting, you press fireball again, the game queues next fireball to cast —> you get a proc>>fireball finishes, you try to use your proc, but game won’t let you because it’s trying to cast the second fireball that you queued earlier, you have to press your proc few times to cancel that queue before it uses the proc. It feels really awkward playing with high spell queue. I suggest you set it a little higher than your world ping. (Set it to 100, if you have 60 ping).
It’s notable that he mentions Fire Mage, since that’s the spec I have most trouble with in this area. It’s that accursed fraction of a second before I get the proc that always messes me up.
Not nearly as relevant for melee classes.