GitLab
| Category | Version Control |
| CLI | glab |
| Auth | OAuth (glab auth login) |
| Config | GITLAB_HOST (optional, for self-hosted) |
What it does
Section titled “What it does”Wraps the GitLab CLI (glab) to give CodeBuddy access to your GitLab projects. The agent can manage merge requests, issues, CI/CD pipelines, and more.
Prerequisites
Section titled “Prerequisites”Install and authenticate:
# macOSbrew install glab
# Linuxbrew install glab # or download from https://gitlab.com/gitlab-org/cli/-/releases
# Windowswinget install GLab.GLabglab auth loginFor self-hosted GitLab:
export GITLAB_HOST="https://gitlab.yourcompany.com"glab auth login --hostname gitlab.yourcompany.comCapabilities
Section titled “Capabilities”- Merge requests — create, list, review, approve, merge
- Issues — create, list, assign, label, close
- CI/CD — trigger pipelines, view job logs, retry failed jobs
- Repos — clone, fork, view project settings
- Releases — create, list, download assets
Example prompts
Section titled “Example prompts”- “Create a merge request from
feature/authtomain” - “Show all open MRs that need my review”
- “Retry the failed CI job on pipeline #1234”
- “List all issues labeled
criticalin this project”