claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Claude Code defaults to `gh` CLI instead of using provided GitHub PAT with curl

Open smartwatermelon opened this issue 3 months ago • 2 comments

Bug Description

  1. Claude Code on the Web tries to use the gh command to interact with GitHub and is blocked and denied. It then has to be reminded that it can use curl with the provided GitHub PAT. This happens literally every time.

  2. CCWeb SHOULD have the gh command available!

smartwatermelon avatar Nov 24 '25 00:11 smartwatermelon

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 24 '25 10:12 github-actions[bot]

This is still an issue. I still have to remind CCWeb multiple times per session that it needs to use the provided PAT with curl, it cannot use the GH command, and it needs to look up the correct syntax for the curl command. Every time.

smartwatermelon avatar Dec 24 '25 17:12 smartwatermelon

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 25 '26 10:01 github-actions[bot]

This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.

marcindulak avatar Jan 25 '26 10:01 marcindulak

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Feb 02 '26 14:02 github-actions[bot]