env-reach

Diagnose GitHub API, artifact, and session connectivity failures in Claude Code environments.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pdw96/ai-production-risk-early-warning --skill env-reach-pdw96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-reach
Source: https://github.com/pdw96/ai-production-risk-early-warning/tree/main/.claude/skills/env-reach
Command: npx skills add https://github.com/pdw96/ai-production-risk-early-warning --skill env-reach-pdw96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a call fails in a Claude Code cloud session, it is hard to tell whether the classifier blocked it, a proxy or permission denied it, or the network simply failed. This Skill provides dated, measured knowledge of what is reachable and what is blocked in this environment, so you stop guessing and stop retrying the wrong thing. ## Core Features & Use Cases - Failure triage by message: Classify blocked calls into classifier denials, proxy/permission 403s, and transport failures using exact error wording, then apply the correct response for each. - Dated reachability measurements: Consult a table of measured results (with dates) for GitHub API endpoints, GraphQL, git push, artifacts, and session-to-session channels, and re-measure when values go stale. - Safe retry rules: Distinguish pre-send failures (safe to retry) from unknown-delivery failures like 502/504 (verify remote state first) to avoid duplicate issues, comments, and PRs. - Use Case: A POST to create a PR comment returns 403. Instead of assuming permissions are broken, check the response body against the classification table to determine whether it is a permission issue, a rate limit, or a proxy block, then act accordingly. ## Quick Start Ask the AI to check the env-reach skill to diagnose why a GitHub API call just failed in this session.

Frequently Asked Questions about env-reach

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tell why a GitHub API call was blocked in Claude Code?

Classify the failure by its message: the exact classifier denial phrase means the request never left, an HTTP code like 403 means GitHub or a proxy rejected it, and no code at all means a transport failure. Each cause requires a different response.

What should I do when the auto mode classifier denies an action?

Stop and report instead of retrying, since classifier denials vary by tool and session and cannot be bypassed with permissions.allow. Do not build workarounds or route the blocked action through another tool or a local session.

Is it safe to retry a GitHub request after a 502 or 504 error?

Not blindly. A 502 or 504 can mean the proxy forwarded your POST but lost the response, so GitHub may have already processed it. Read the remote state first or make the call idempotent before retrying to avoid duplicate issues or comments.

Does a 403 from GitHub always mean missing permissions?

No. Check the response body: 'Resource not accessible by integration' indicates a permission problem, while secondary rate limit messages with Retry-After headers mean you should wait. Other wording may come from org policies or the proxy itself.

Why does git push work when the GitHub API returns 403?

Git push uses the git protocol with separately injected credentials, not the REST API permission set. A blocked git/refs API endpoint does not imply push is blocked, so branches can still be uploaded even when API writes fail.

Can I use GraphQL for GitHub in a Claude Code cloud session?

GraphQL is blocked by the proxy with a 403 before authentication, so changing tokens does not help. Use the documented REST CCR endpoints for review threads instead, and note that local sessions are unaffected.