In a "3 wishes" scenario, use the first wish to wish for additional wishes, then for each concrete wish in a 2 part process wish for a written quote that includes a no-harm rollback clause and a penalty clause granting more wishes describing how the genie will execute the wish, then wish for the genie to execute the steps described in the quote.
Any genie must be treated as a hostile counter-party.