glab

Perform GitLab operations from the command line using the glab CLI.

72|15|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/henricook/claude-glab-skill --skill glab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/henricook/claude-glab-skill/tree/main/.claude/skills/glab
Command: npx skills add https://github.com/henricook/claude-glab-skill --skill glab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides you through using the GitLab CLI (glab) to manage GitLab resources from the command line, reducing context switching and manual steps. It provides progressive disclosure from quick guidance to detailed references, helping you automate MRs, issues, CI/CD, and repository operations without leaving your terminal.

Core Features & Use Cases

  • Workflow-driven guidance: Step-by-step patterns for creating and reviewing merge requests, managing issues, and monitoring CI/CD pipelines.
  • Multi-instance support: Works with GitLab.com and self-hosted instances; uses environment variables or per-command host overrides.
  • Context-aware assistance: Detects repository context and authentication needs, loading detailed docs only when necessary.

Quick Start

Create a merge request from the current branch with a title and description using glab.

Frequently Asked Questions about glab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and manage merge requests from the command line?

Use glab to create merge requests directly from your terminal with title and description, then review, approve, or merge them without switching to the web interface. glab automates MR workflows across GitLab.com and self-hosted instances.

Can I use glab CLI to automate GitLab CI/CD pipelines?

Yes, glab monitors and manages CI/CD pipelines from the command line, letting you check pipeline status, view logs, and trigger jobs without leaving your terminal.

Does glab work with self-hosted GitLab instances?

glab supports both GitLab.com and self-hosted instances. Configure authentication and host settings via environment variables or per-command overrides for multi-instance workflows.

How do I authenticate glab with GitLab?

glab uses environment-aware authentication that detects repository context and guides you through credential setup for GitLab.com or self-hosted instances with minimal manual steps.

What GitLab operations can I automate with glab?

glab automates creating and reviewing merge requests, managing issues, monitoring CI/CD pipelines, and performing repository operations—all from the command line with step-by-step workflow patterns.

Can I use glab to manage GitLab issues from the CLI?

Yes, glab includes issue management commands for creating, updating, and tracking issues from the terminal, reducing context switching in your workflow.