glab

Automate GitLab merge requests, issues, and pipelines via the glab CLI.

Updated Jan 3, 2026
One-click install
npx skills add https://github.com/ianphil/my-skills --skill glab-ianphil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/ianphil/my-skills/tree/main/glab
Command: npx skills add https://github.com/ianphil/my-skills --skill glab-ianphil

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitLab teams often juggle MR creation, issue tracking, and pipeline debugging across the GitLab UI. This Skill provides a unified CLI to perform these tasks from the terminal, reducing context switching and speeding up workflows.

Core Features & Use Cases

  • MR creation and review with glab
  • Issue management (create, list, view, close)
  • Pipeline status inspection and logs access
  • API interactions for advanced workflows and automation

Quick Start

Install the glab CLI and run glab mr create to begin creating a merge request.

Frequently Asked Questions about glab

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

FAQPage Schema
How do I create a GitLab merge request from the command line?

You can create a GitLab merge request from the command line by running the glab mr create command. This GitLab CLI automates MR creation and review directly from your terminal, reducing context switching with the GitLab UI.

Can I manage GitLab issues using a terminal CLI?

Yes, you can manage GitLab issues using a terminal CLI by executing glab commands. The GitLab CLI supports issue actions such as creating, listing, viewing, and closing issues directly within your terminal workflow.

How do I check GitLab pipeline status and access logs from the terminal?

To check GitLab pipeline status and access logs from the terminal, use the glab CLI. This tool enables pipeline status inspection and logs access, allowing you to debug CI/CD pipelines without navigating the GitLab UI.

Does the GitLab CLI work with self-hosted GitLab deployments?

Yes, the GitLab CLI works with self-hosted GitLab deployments. It applies to GitLab repositories across both GitLab.com and self-hosted environments, requiring GitLab API access via glab commands and authentication to manage project workflows.

How do I authenticate the GitLab CLI for API access?

To authenticate the GitLab CLI for API access, you must configure glab with your GitLab credentials. This authentication is required to leverage glab commands for MR lifecycle operations, issue management, and pipeline status inspection.

What is the best way to automate GitLab project workflows without using the web UI?

The best way to automate GitLab project workflows without the web UI is using a CLI tool like glab. It unifies merge request creation, issue tracking, and pipeline debugging into a terminal interface, speeding up development workflows.