Like Steve said, it does depend on what the skills gap might be. But you’re usually going to be better off with internals moves there imo.
Someone who is already familiar with your systems and ways of working will have an easier time stepping up to that plate and piecing things together.
Though I definitely don’t discount the power of bringing in outside knowledge and ideas, even just the impact of a fresh set of eyes on things can help a lot