you CAN keep wild caught mudskippers in your tank, but you may want to buy one from the store. you may get into trouble with the state.
plus, you can make sure mudskippers at a store will eat the food that you give them. if you go catch one yourself, it may not adjust.