Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
gitlab-org avatar

Glab

  • 489 installs
  • Updated January 1, 1970
  • gitlab-org/ai

glab is a GitLab agent skill that teaches glab CLI workflows for merge requests, pipelines, and GLQL queries for developers automating GitLab operations through AI coding assistants.

About

glab is an official GitLab agent skill from gitlab-org/ai/skills that loads on demand to teach AI assistants how to run glab CLI workflows correctly. The bundled SKILL.md covers GitLab merge request creation with $(cat file) description patterns, common CLI gotchas absent from glab --help, pipeline monitoring, and GLQL query execution via glab-glql. Install with glab skills install into .agents/skills/ for project scope or --global for user-wide access, compatible with Claude Code, Codex, and GitLab Duo Agent Platform. The repo ships multiple GitLab workflow skills alongside glab for MR review and pipeline watch tasks. Reach for glab when agents repeatedly misinvoke glab flags or need progressive-disclosure GitLab automation instead of re-reading lengthy CLI documentation each session.

  • glab
  • Development

Glab by the numbers

  • 489 all-time installs (skills.sh)
  • Ranked #836 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/gitlab-org/ai --skill glab

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs489
Last updatedJanuary 1, 1970
Repositorygitlab-org/ai

How do agents run glab CLI merge request workflows?

For development and infrastructure management.

Who is it for?

Developers using GitLab who want AI agents to run glab CLI for merge requests, pipelines, and GLQL without repeating common flag and body-format mistakes.

Skip if: Teams on GitHub-only workflows without GitLab projects, or developers who only need raw glab --help without agent-oriented MR body and gotcha guidance, should skip glab.

When should I use this skill?

User asks to create GitLab MRs with glab, watch pipelines, run GLQL queries, or fix agent glab CLI invocation errors

What you get

Correct glab MR commands, pipeline watch steps, GLQL query results, and agent-safe GitLab workflow patterns

  • glab MR command recipes
  • pipeline watch workflow
  • GLQL query patterns

By the numbers

  • Bundled glab SKILL.md is approximately 78 lines focused on agent gotchas
  • Installs to .agents/skills/ via glab skills install command

Related skills

How it compares

Pick glab over reading glab --help when AI agents need MR body patterns and documented CLI gotchas for reliable GitLab automation.

FAQ

How do you install the glab agent skill?

The glab agent skill installs with glab skills install for project-scoped .agents/skills/glab/ or glab skills install --global for ~/.agents/skills/, following the Agent Skills specification for Claude Code and Codex.

What glab CLI gotchas does the glab skill document?

The glab skill documents agent-facing gotchas including using $(cat file) for long MR descriptions and noting that glab mr list lacks --state while --body and --jq patterns differ from common GitHub CLI assumptions.

Which agents is the glab skill compatible with?

The glab skill targets GitLab Duo Agent Platform, Claude Code, Codex, Gemini CLI, and other Agent Skills-spec clients that load SKILL.md files from .agents/skills/ on demand.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.