Precognition (3.5e Feat)
From D&D Wiki
Benefit: You have a limited ability to predict the future. This ability is limited to predicting which of two possibilities is correct, and will not work if the outcome depends on many unforeseeable actions by those who receive the prediction. Thus, you can predict whether or not a party hunting a murderous troll will find it if they enter a suspicious cave, but you cannot predict if they will defeat it. Success is determined by a Spot check: a result of less than 10 indicates a random response, 10-19 indicates no response, 20 or more indicates success. Repeated attempts by the same psychic will merely give the same result as before: furthermore, multiple attempts to use this power in the same day (even for different predictions) will reduce the result by 5 per attempt. Using this power is a standard action that does not provoke an attack of opportunity.