Who invited the slug?

Found this little guy in the pot that hold the first 4 onions and some lettuce that I have given up on. I picked him out just cause. Not sure which “pests” are good and which are bad. I am sure I will learn.