Moment of Prescience(Player's Handbook v.3.5, p. 255)
Level: Sorcerer 8, Wizard 8, Beguiler 8, Sha'ir 8, Luck 8, Destiny (RD) 8, Competition (SpC) 8, Arcane Insight 8, Insight (DCS) 8, Competition (CD) 8, Elysium (SpC) 9,
Components: V, S,
Casting Time: 1 standard action
Duration: 1 hour/level or until discharged
This spell grants you a powerful sixth sense in relation to yourself. Once during the spell's duration, you may choose to use its effect. This spell grants you an insight bonus equal to your caster level (maximum +25) on any single attack roll, opposed ability or skill check, or saving throw. Alternatively, you can apply the insight bonus to your AC against a single attack (even if flat-footed). Activating the effect doesn't take an action; you can even activate it on another character's turn if needed. You must choose to use the moment of prescience before you make the roll it is to modify. Once used, the spell ends.
You can't have more than one moment of prescience active on you at the same time.