In the sentence "Thinking critically is a skill," the bolded phrase "Thinking critically" functions as a noun. More specifically, it is a gerund phrase because it consists of the gerund "thinking" (which is derived from the verb "think" and acts as a noun in this context) along with the adverb "critically." Therefore, the correct answer is:
gerund noun.