Which is why I suggested that you don't really need the first I.
Well the sentence does not make sense without that first "I". You cannot credibly write or say "thinks, therefore I am" ... because that instantly raises the question of who or what is claimed to be doing the said "thinking" ... what is it that is supposed to be doing anything called "thinking"?
If the statement was something more like "I seem to exist, because I seem to experience thoughts about my own existence", then that might be OK ... but that's only an implication saying we do seem to exist (it's not a statement claiming literal proof). Or perhaps he could have said "I think, therefore that seems to prove I exist" ... it may "seem to", but it's not specifically showing an actual proof, is it! (I'll leave that without a question mark).
But philosophical statements from Descartes or any philosopher are irrelevant in any of this. Philosophy is no longer the way we determine what is likely to be the true explanation for anything we detect or experience as apparent “reality” in this universe. It's been superseded by science (for overwhelming reasons that are now really far beyond any credible argument from philosophers). But you will not find any serious scientists claiming that we can literally prove anything in science (or in anything else), at least not for what we detect as apparent “reality” (as opposed to (say) a proof in maths … but where even in pure maths, there is afaik almost always an implied assumption somewhere in the calculations/reasoning).