Sometimes I get these random urges to end a friendship
Is there something that triggers these feelings?
I sometimes suddenly feel annoyed by my friends.
It seems like there is no reason to do this. You should not end friendships just because you want to, there should be a valid reason.
Well, I might act on it in the future.
Even if you don't consciously know it, there has to be a reason why you don't like your friends, right? But don't you cherish your friendship, don't you want to see them all happy? Why not try to get more in tune with you feelings and be aware of what they do that gets you annoyed, then you can talk them about it to mend your relationship.