What problem does it solve? Cloud Claude Code sessions ship without a working gh CLI — the binary is missing, unauthenticated, or authenticated as an account that cannot act on the PR — so every gh step in PR-loop skills (pr-converge, autoconverge, bugteam, clean-room audit, pr-fix-protocol, copilot-review) fails. This Skill provides the setup and routing contract that substitutes GitHub MCP tools for every gh operation so those skills can run in cloud sessions. ## Core Features & Use Cases - Transport decision checks: Runs three ordered checks (command -v gh, gh auth status, and a push-permission probe via gh api repos/<owner>/<repo>) to decide between the local path and the cloud transport. - Six-step cloud setup workflow: Loads deferred MCP tool schemas, fixes missing origin/HEAD refs that break pre-push hooks, reads the live MCP identity via mcp__github__get_me, and keys review rules to it. - Operation substitution matrix: Maps every gh operation (PR reads, review threads, inline replies, Copilot review requests, draft toggles, CI logs) to its exact MCP tool path, with pagination rules and a scoped REST fallback. - Use Case: A cloud session running pr-converge cannot execute gh pr view or post reviews; this Skill routes those calls through mcp__github__pull_request_read and mcp__github__pull_request_review_write and self-checks posts that the gh-text hooks no longer gate. ## Quick Start Run the PR-loop cloud transport checks at the start of my session and route all GitHub operations through MCP tools if the gh CLI cannot act on the PR.