Opsy has a dedicated GitHub CLI tool with repository context awareness.
- Install GitHub CLI
- Authenticate:
gh auth login
In opsy, type /github to select your GitHub repository. Opsy will auto-inject --repo for all commands.
Run opsy to start interactive mode, then ask:
> list open PRs
> show issues labeled as bugs
> create a PR for this branch
> check the status of CI workflows
Opsy classifies commands by type:
- read -
list,view,status(auto-approve) - create -
create,fork,clone - update -
edit,merge,review - delete -
delete,close
> show me open pull requests
> create a PR from this branch to main
> what's the status of the CI for the latest commit
> show me the diff for PR #123
{ "permission": { "gh": { "*": "ask" } } }