Here, the authors show that YTHDF2 recognizes m6A-modified U6 snRNA to prevent aberrant TLR3 activation to inhibit inflammation and skin cancer development. Here, YTHDF2 is linked to skin cancer.