"Bag of bones" is an idiomatic expression used to describe someone who is extremely thin, often to the point of appearing skeletal.
It implies that the person has little body fat or muscle, and their bones are quite prominent.
Thus, the correct meaning is "(1) A very thin person."