SHOP 2 is a hierarchical task network (HTN) planner developed in LISP that was awarded for its performance in the 2002 international planning competition. It improves upon SHOP by allowing partially ordered tasks and subtasks, and supports many PDDL features. SHOP 2 decomposes complex tasks into subtasks through methods until reaching primitive tasks. It has been applied to domains like video games, evacuation planning, evaluating terrorist threats, and automated composition of web services.