Q. If someone forgot to say Al Hanisim in the amida of Chanuka, it says that he can say it in Elokay Netzor, before Yehi leratzon imrei pi, is that the first or second time one repeats that phrase?
A. Indeed Mishna Berura (682: 4) mentions that similarly to one forgetting Al Hanissim when reciting grace after the meal, that Rema opines he should say it by the Horachamons, if one forgets in the amida he should repeat it in Elokay Netzor, before Yehi leratzon imrei pi.
Kaf Hachaim (ibid.), Kovetz Halochos (Chanuka 17: 3) and others mention that it should be recited after saying the first time Yehi leratzon imrei pi, but before repeating it again at the end of Elokay Netzor, as it is then considered still as a part of the amida.
Horav Shlomo Miller’s Shlit’a opinion is similar.
Rabbi A. Bartfeld as revised by Horav Shlomo Miller Shlit’a