A variable stiffness device includes a shape-memory unit formed of at least two hollow shape-memory members connected together. Each of the shape-memory members is transitionable in phase between a first phase in which the shape-memory member is in a low stiffness state and a second phase in which the shape-memory member is in a high stiffness state. The shape-memory member in the high stiffness state has a higher level of stiffness than in the low stiffness state. Hollow portions of the shape-memory members are connected together so that the shape-memory unit has a lumen-like inner space configured to allow fluid for cooling the shape-memory members to flow. The variable stiffness device also includes a heating member configured to heat the shape-memory members.