glab

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

3|5|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill glab-sparkfabrik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/sparkfabrik/sf-awesome-copilot/tree/main/skills/system/glab
Command: npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill glab-sparkfabrik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitLab project management tasks that traditionally require manual steps and switching interfaces are streamlined by the glab CLI, enabling faster handling of issues, merge requests, CI pipelines, and repository operations.

Core Features & Use Cases

  • Create, view, and manage issues and merge requests from the command line.
  • Monitor CI pipelines, view statuses, and inspect job traces directly from GitLab projects.
  • Read and interact with repository content across GitLab instances (cloud or self-hosted) using fully-qualified references in descriptions and comments.

Quick Start

Create a merge request from feature-branch to main that closes group/project#42 and requests a review from a teammate.

Frequently Asked Questions about glab

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

FAQPage Schema
How do I automate GitLab merge requests and issue management from the command line?

Automate GitLab merge requests and issue management by using the glab CLI to create, view, and manage project workflows directly from the terminal, replacing manual interface switching with command-line operations.

Can I monitor GitLab CI pipelines and view job traces using a terminal CLI?

Yes, you can monitor GitLab CI pipelines and view job traces using the glab CLI, which allows you to check pipeline statuses and inspect specific job outputs directly from your command line interface.

Does the glab CLI support self-hosted GitLab instances and remote URL resolution?

Yes, the glab CLI fully supports self-hosted GitLab instances and remote URL resolution, automatically orchestrating authentication and resolving project paths via the glab api for cloud or self-hosted repositories.

What is the best way to interact with GitLab repositories without making raw API calls?

The best way to interact with GitLab repositories without raw API calls is using the glab CLI subcommands, which prefer CLI over HTTP and ensure fully-qualified references in descriptions and comments for reliable operations.

How do I create a merge request from the command line that closes an issue and requests a reviewer?

Create a merge request from your feature branch to main that closes an existing issue and requests a reviewer by executing a single glab CLI command, automating the entire workflow interaction locally.