I guarantee it's a convenience feature. Having a Github token available make using Github significantly easier for Claude. I only use the web interface, and Claude frequently cannot access Github repos or issues, or gets rate limited. If Claude has a token, it can authenticate and not run into this annoying problem.
I don't personally use gh myself, the only reason I installed it in the first place is because I noticed claude code attempts to find it any time it's interacting with GitHub.
To be clear I don't assume ill intent here, I'm just baffled as is to why
I guarantee it's a convenience feature. Having a Github token available make using Github significantly easier for Claude. I only use the web interface, and Claude frequently cannot access Github repos or issues, or gets rate limited. If Claude has a token, it can authenticate and not run into this annoying problem.
Interesting. Easier than the gh cli?
I don't personally use gh myself, the only reason I installed it in the first place is because I noticed claude code attempts to find it any time it's interacting with GitHub.
To be clear I don't assume ill intent here, I'm just baffled as is to why