I wrote a little tool for my dev usage but it might be interesting for you too:
Its purpose is to repack an update zip as delivered by ASUS to a ClockworkMod recovery standard update.zip
Recovery is not replaced so you keep your custom one installed.
- automatic rooting [DONE]
- a few checks here and there