made a ae script today using 80% chatgpt, 20% my own code. It's not too complex but it detects when each clip ends, assigns a marker at that point to the comp and randomly numbers it 1-4, creates 2 adjustment layers then depending on the number applies a transition. AI is crazy.