HeadlinesBriefing favicon HeadlinesBriefing.com

GitHub CLI in Claude Code Web Setup

DEV Community •
×

A recent update to Claude Code on the Web has removed the GitHub CLI (`gh`) from the `disallowed_tools` list, unlocking direct repository management capabilities in the browser-based environment. Previously, developers faced a complete block on `gh` commands, preventing PR creation and issue management. Oikon, the author, has introduced a `gh-setup-hooks` package to streamline the configuration process, requiring only a single line addition to `.claude/settings.json`. To enable full functionality, developers must configure a custom environment with a GitHub Personal Access Token and ensure network access is set to Full or Custom.

This change significantly enhances remote development workflows, allowing developers to execute GitHub tasks directly within the sandbox. It is important to note that the `gh` command is not installed by default; the setup script handles the download and PATH persistence automatically. This development signals a major shift in cloud-based IDE capabilities, offering greater flexibility for distributed engineering teams.