Board Thread:Pokémon Help/@comment-33572411-20171204102441/@comment-27248965-20171204102856

It is not a TM. The best way is to revive a Skull Fossil, which the resulting Cranidos will always have. Some other Pokémon can also learn this move, please refer to the Bulbapedia page I linked.