Github CLI Ops

Use when performing a GitHub operation programmatically — creating an issue or pull request, managing repos, releases, labels, Actions runs, Projects, secrets, or any github.com task — preferring the `gh` CLI and falling back to `gh api` (REST) or `gh api graphql` only where no command exists. Every call is authenticated per-invocation with `GH_TOKEN`; it never runs `gh auth switch` and never prints the token. Uses `gh`'s high-level commands (which also encrypt secrets client-side) for coverage and ergonomics; for the REST long tail it builds a `gh api` call from a bundled OpenAPI spec via an endpoint index + a `$ref`-resolver. github.com Cloud; consumes caller-injected credentials (host + a token resolved by variable name) — it does not provision or resolve them.

bm629 44d89f7 21 files · 12.1 MB Updated

File contents

bm629/agent-skills/tree/main/skills/github-cli-ops commit 44d89f79d8

Frequently asked questions

npx skillmds@latest add bm629/github-cli-ops