Text this: Intramolecular cycloadditions of photogenerated azaxylylenes with oxadiazoles provide direct access to versatile polyheterocyclic ketopiperazines containing a spiro-oxirane moiety.