def prune_skips(songs):
    """
    Prune all ``~#skipcount'' tags from the song library.
    Return a list of tuples (song_dict, skips) on all pruned songs.
    """
    SKIP_KEY = "~#skipcount"
    ret = list()

    for (spath, sdict) in songs.iteritems():
        try:
            ret.append((sdict, sdict.pop(SKIP_KEY)))
        except KeyError:
            continue
    return ret