"I'm bad at sth" or "I'm bad in sth"?

Which is correct?
Please take an example.

I’m bad at something
or
I’m bad at doing something.

Hi Dodgewiper

“you are bad at something.” in the same way can say " you are good at something."
" you are bad at doing something." ~ " you are good at doing something."

You are good at playing basketball.
You are bad at playing basketball.
You are good at math.
You are bad at math.

Thanks.

Can I say “I’m poor at something” / “I’m poor at doing something” in the same sense?

Yes.

Thank you, B.

Here’s an apple pie for you. Oh, I already had a slice of it.

What’s the name of the food which you are eating, Tofu?