"Furthermore, what does society gain from my code being made open source if anybody else could just themselves go to Claude Code and ask for the same thing?"
Claude Code is not free (in any sense of the word). Not anyone can just go ask for the same code.