Claude Code skill for interacting with GitLab using the glab CLI.
glabCLI installed and on PATH- Authenticated via
glab auth login
claude plugin marketplace add fprochazka/claude-code-plugins --scope user
claude plugin install glab@fprochazka-claude-code-plugins --scope userAdd the following to ~/.claude/settings.json to allow the skill to load and auto-approve read-only commands:
{
"permissions": {
"allow": [
"Skill(glab)"
]
}
}The skill's allowed-tools frontmatter auto-allows read-only commands (mr list, mr view, mr diff, ci status, ci get, ci trace, etc.) and --help for all subcommands. Write operations (mr create, mr update, mr merge, mr note, ci run, ci retry, etc.) require manual approval.
- Merge Requests - create, view, update title/description, diff, merge, approve, rebase, checkout
- MR Discussions - add comments, list/reply to discussion threads, resolve/unresolve threads (via API)
- CI/CD Pipelines - view pipeline status, get job details, trace job logs (with file redirect), retry/trigger jobs, lint CI config
- API - raw HTTP requests with pagination (
--paginate), endpoint placeholders, GraphQL support - Issues - list, view, create, update, close (via
--helpdiscovery) - Repositories - view, list, clone, search (via
--helpdiscovery) - Releases, Variables, Schedules, Labels, Milestones - via
--helpdiscovery
Filip Procházka
MIT