Whenever a spell or ability causes its controller to shuffle his or her library, that player puts a card from his or her hand on top of his or her library.
Flavor:
"How thin is the veneer of civilization! A modest measure of panic will wash it off completely."