pf2e.fyi
From Pathfinder Lost Omens Rival Academies, which isn't enabled.

Lessons of Flux

FEAT 10
Activity reaction

Frequency once per hour
Trigger You fail a skill check to Grapple, Reposition, Shove, Trip, or Tumble Through.

You apply the persistence and permutation taught by faydhaans to your failures. You reroll the check and take the second result. If it still fails or critically fails, you can ask a question about the creature you were attempting to Grapple, Reposition, Shove, Trip, or Tumble Through as if you had succeeded at a check to Recall Knowledge.

Pathfinder Lost Omens Rival AcademiesORC