The originator of Shogunate, MINAMOTO no Yoritomo used the lucky days as divined by onmyoji in all matters from fighting at various places to seize power, to actions taken for all of the measures and policies in early days of the Shogunate and the second Shogun MINAMOTO no Yoriie followed Yoritomo's examples by inviting onmyoji from Kyoto, but Yoriie used onmyoji exclusively as accessories to add a formal touch to public functions, never letting onmyoji meddle with his private life.
幕府開祖である源頼朝が、政権奪取への転戦の過程から幕府開設初期の諸施策における行動にあたって陰陽師の占じた吉日を用い、2代将軍源頼家もこの例にならい京から陰陽師を招くなどしたが、私生活まで影響されるようなことはなく、公的行事の形式補完的な目的に限って陰陽師を活用した。