Corpse Spasm II
Level: 2 Necromancy
Casting Time: 1 half action
Duration: 1 round per Casting Level
Effect: As Corpse Spasm I, except that you may end this spell as a free action to make the corpse take 1 half action. If this action requires an attack or skill check, its bonus to this check is equal to one-half your Casting Level (rounded down).
1 rd/caster level duration is too short. I think it needs to function more like a booby trap / Necromantic adaption of the Alarm spell, especially if you have to position the corpse to make its action effective. Cancelling the spell early could then generate a bonus to the subsequent check in a manner similar to living library otherwise the programmed action executes at the end of the duration