Environment:AI Builder Club Skills GitHub CLI
| Knowledge Sources | |
|---|---|
| Domains | CI_CD, Verification |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
GitHub CLI (gh) environment for uploading verification evidence to GitHub prereleases and creating PRs with embedded proof.
Description
This environment provides the gh CLI tool for interacting with GitHub from the command line. The verifier-setup skill uses gh release upload to upload screenshot and video evidence to a stable GitHub prerelease URL, and gh pr create to open pull requests with embedded proof. This ensures evidence is hosted at a reviewable, permanent URL rather than lost in local files.
Usage
Use this environment for Verify-Before-Ship — uploading verification evidence (screenshots, videos) to a GitHub prerelease and creating PRs with embedded proof. Required by the verifier_setup_skill implementation.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | macOS, Linux, Windows | Cross-platform |
| Hardware | Any | Minimal resources |
| Disk | 50MB | gh CLI binary |
Dependencies
System Packages
gh(GitHub CLI >= 2.0)- Git (for branch and PR operations)
Python Packages
- None
Credentials
The following must be configured:
gh auth loginmust be completed (GitHub authentication token stored)- Repository write access (for creating prereleases and PRs)
Quick Install
# macOS
brew install gh
# Ubuntu/Debian
sudo apt install gh
# Authenticate
gh auth login
# Verify
gh --version
Code Evidence
Evidence upload reference from verify.template.md:41:
- **Proof upload target** — `{{EVIDENCE_UPLOAD}}` <!-- e.g. gh release `pr-evidence` -->
PR body with embedded proof from verify.template.md:93-108:
## Task verified ✅ (verifier drove the app)
- <acceptance criteria> — observed working.

📹 Video: <video-url>
## Regression guardrails
- [x] {{REGRESSION_CMDS}}
External tools used from verifier-setup/SKILL.md:72-73:
# gh release upload <release> <files> # evidence hosting
# gh pr create # PR creation
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
gh: command not found |
GitHub CLI not installed | Install via brew (macOS) or apt (Linux) |
Could not authenticate |
gh auth login not completed |
Run gh auth login and follow the prompts
|
Prerelease tag doesn't exist | Create the prerelease first: gh release create pr-evidence --prerelease
|
Compatibility Notes
- Evidence hosting: The default pattern uses a GitHub prerelease tagged
pr-evidenceas a stable URL bucket. Alternative: any bucket/CI artifact host works. - Authentication:
gh auth loginmust be run once per machine; the token is stored securely. - Private repos: Ensure the GitHub token has
reposcope for private repository access.