glab

Document GitLab CLI commands for authentication, repos, MRs, CI/CD, and APIs.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/dljsjr/sandpiper-ai --skill glab-dljsjr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/dljsjr/sandpiper-ai/tree/main/skills/sandpiper/glab
Command: npx skills add https://github.com/dljsjr/sandpiper-ai --skill glab-dljsjr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitLab users and teams need a comprehensive, ready-to-use command reference to operate GitLab from the terminal, manage projects, pipelines, MRs, issues, and API access without switching between docs and shell.

Core Features & Use Cases

  • Comprehensive command reference for the GitLab CLI (glab), covering authentication, repo management, merge requests, issues, CI/CD, releases, and API calls.
  • Quick task workflows: create MRs, manage issues, view pipelines, and interact with GitLab data directly from the shell.
  • Use Case: A developer wants to create an MR and check its status without leaving the terminal.

Quick Start

Install the GitLab CLI (glab) and start by running glab help, then consult the included references for API and command usage.

Frequently Asked Questions about glab

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

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

The GitLab CLI allows you to manage merge requests and issues from the command line. It provides a discoverable command reference for handling MRs, issues, and pipelines directly without leaving your terminal.

Can I trigger GitLab CI/CD pipelines and releases directly from my terminal?

Yes, you can interact with GitLab CI/CD pipelines and releases from your terminal. The GitLab CLI provides specific commands to view pipelines and manage releases without switching to the web interface.

What is the best way to interact with the GitLab API using a CLI tool?

Using the GitLab CLI is an efficient way to interact with the GitLab API from a terminal. It streamlines API calls and data queries, enabling direct shell-based interaction with your GitLab instances.

Does the GitLab CLI require authentication for repo operations across different instances?

Yes, authentication is required for the GitLab CLI to perform repo operations across instances. The CLI reference includes setup steps for authenticating your terminal session to manage projects securely.

How do I set up and start using glab for terminal-based GitLab workflows?

To start using the GitLab CLI for terminal workflows, install the tool and run the help command. You can then consult the command references for authentication, repository management, and API usage.