Individual skill
vcs-github
GitHub repos, pull requests, Actions workflows, commits, and issues via gh CLI. Safe read-before-write workflow. Use when investigating PR/CI failures, deployment regressions, or repository state on GitHub.
sre-agent/.claude/skills/vcs-github/SKILL.md
Source commit 2323af0551856ff4669b73dc36329d16aa19ed24
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 179
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-sre Repository topic
- site-reliability-engineering Repository topic
- ai-agent Repository topic
- devops Repository topic
- episodic-memory Repository topic
- incident-investigation Repository topic
- incident-response Repository topic
- knowledge-graph Repository topic
- sre-agent Repository topic
- self-hosted Repository topic
- operations Derived category
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.env.exampleasset · 485 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesSKILL.mdcore · 7,207 bytesreferences/commands.mddoc · 2,940 bytes
Read excerpt
## Authentication
**IMPORTANT**: In proxy/production mode, credentials may be injected automatically.
Do not assume `GITHUB_TOKEN` is visible in the shell — run the smoke test below before mutating commands.
In **direct/local mode**, OpenSRE uses **environment-variable auth** (no `gh auth login` required). Set in repo root `.env` (passed to the sre-agent container via docker-compose):
| Variable | Required | Description |
|---|---|---|
| `GITHUB_TOKEN` | Yes (or `GH_TOKEN`) | GitHub personal access token (classic or fine-grained). `gh` accepts either name; `GITHUB_TOKEN` is the OpenSRE convention. |
| `GITHUB_REPOSITORY` | No | Default `owner/repo` when commands omit `-R` / `--repo` (alias: `GH_REPO`) |
| `GH_HOST` | Enterprise only | GitHub Enterprise hostname (e.g. `github.example.com`). Use with `GITHUB_ENTERPRISE_TOKEN` or `GH_ENTERPRISE_TOKEN`. |
The default repository comes from `GITHUB_REPOSITORY` in the repo root `.env`, which is passed into the sre-agent container via docker-compose `env_file`. Omit `-R owner/repo` on commands when that default is set. Do not hardcode org or repo names in command examples.