Plasmids are key drivers of bacterial adaptation, yet the mechanisms that generate their diversity remain poorly understood. Here, we show that mobile genetic elements (MGEs) orchestrate a ...