Hierarchical Skills and Skill-based Representation