Impact of the skin effect on the near-surface temperature profile