Learning and Retrieval from Prior Data for Skill-based Imitation Learning | Synapse