🇺🇸 English | 🇯🇵 日本語
Setup tool for using Entire CLI on Claude Code Web (ccweb).
Run once on a repository and it will automatically install Entire CLI, enable it, and set up direct GitHub push access on every ccweb session start.
Unofficial community tool. Not part of the Entire CLI project.
When you open a repository configured with entire enable on ccweb, you'll run into these issues:
entirebinary is missing — Entire CLI is not pre-installed in the ccweb environment- Can't push shadow branches — The ccweb proxy restricts push to the current working branch only, so
entire/prefixed checkpoint branches can't be pushed
# 1. Add ccweb setup
npx entire-setup-ccweb
# 2. Commit & push
git add .claude/
git commit -m "Add ccweb setup for Entire CLI"
git pushIf entire enable has already been run locally, it works immediately on ccweb. If not, entire enable --agent claude-code will be automatically run on the first ccweb session.
- Network access: "Trusted" or higher is required (needed for downloading binaries and GitHub push)
To record checkpoints, GITHUB_TOKEN must be configured in your ccweb custom environment. Without it, Entire CLI will be installed but shadow branches can't be pushed, so no checkpoints will be recorded.
- Go to GitHub > Settings > Developer settings > Personal access tokens
- Fine-grained tokens → "Generate new token"
- Repository access: Select the target repository
- Permissions → Repository permissions → Contents: Read and write
- Copy the token
For classic tokens, grant the repo scope.
Edit your environment from Settings > Claude Code and add the environment variable:
GITHUB_TOKEN=ghp_xxxxx
Automatically detects the git repository root, so it works from any subdirectory. Adds the following to the target repository:
- Registers a SessionStart hook in
.claude/settings.json - Creates
.claude/scripts/setup-env.sh
Only runs when CLAUDE_CODE_REMOTE=true:
- Install Entire CLI — Downloads a pre-built binary from GitHub Releases with SHA256 checksum verification
- Enable Entire CLI — On first install, automatically runs
entire enable --agent claude-codein non-interactive mode - Configure direct GitHub push — If
GITHUB_TOKENis set, usespushInsteadOfto bypass the proxy (push only; fetch stays proxied) - Install pre-push filter — Only allows pushing branches matching allowed prefixes
By default, only branches with the entire/ prefix are allowed to push directly.
To change this, edit the top of .claude/scripts/setup-env.sh:
# Space-separated, multiple prefixes supported
ALLOWED_PUSH_PREFIXES="entire/ claude/"MIT