Agent best practices - grind mode and various hooks