Why not just use interact with target? It will automatically skin a dead mob if it is possible.