at the beginning of your upkeep or whenever you cast a blue spell, put a charge counter on shrine of piercing vision.
t, sacrifice shrine of piercing vision: look at the top x cards of your library, where x is the number of charge counters on shrine of piercing vision. put one of those cards into your hand and the rest on the bottom of your library in any order.