Peace be upon you. If the skin has lost its life and detached easily, it is considered pure; otherwise, it is impure. This is according to Ayatollah Sistani. Ayatollah Khamenei states that if it detached by itself or was due for detachment and the person removed it by hand, it is pure; otherwise, it is deemed impure as a precaution. May you be successful in all good.