Curated task stack

Best CLIs for Git & GitHub.

Review PRs, triage issues, inspect workflows, and keep repo work agent-safe. This is a ready-to-share stack with install commands, verification checks, agent packs, and guardrails.

Primary CLI
GitHub CLI

gh is a strong fit for git & github. Official and script-friendly.

Agent pack
gh fits git & github well, especially for pull requests, issue triage, and github actions from the terminal.
It is the official CLI from GitHub.
Good for scripts and agents.
Stack

Install, verify, then work.

1. Inspect PRs and issues
GitHub CLI

377.2K homebrew installs (30d)

Pack
Install
brew install gh
Verify
gh auth status
2. Review local git state
lazygit

25.7K homebrew installs (30d)

Pack
Install
brew install lazygit
Verify
lazygit --version
Agent loop

GitHub review loop

  1. 1Inspect the repository and current branch context.
  2. 2List open PRs or issues, then summarize the highest-signal items.
  3. 3Check CI status, changed files, and discussion context before proposing action.
  4. 4Ask for confirmation before merges, closes, or pushes.
Safety

Guardrails

  • Sign in before real work.
  • Needs network access.
  • • Ask before destructive, paid, deploy, send, merge, publish, or secret-exposing actions.