Agent-native CLI for .
brew install kdubb1337/tap/ghub
# or
go install github.com/kdubb1337/ghub/cmd/ghub@latest
ghub auth add <id>
ghub doctor
ghub <resource> list --json
- stdout = data, stderr = humans
- Auto-JSON when piped;
--humanforces tables in a pipe --compactfor high-gravity fields only;--selectfor explicit projection- Exit codes:
0ok,2usage,3not-found,4auth,5api,6conflict,7rate-limit,8network,9validation,124timeout
See ghub agent-context for the full schema.
A bundled SKILL.md ships with the binary. Find it with:
ghub skill-path
Or read it directly at skills/ghub/SKILL.md in this repo.
make tools # install pinned dev tools
make # build
make ci # fmt + lint + test + build
See AGENTS.md for the full contributor guide.