glab

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

2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/sequenzia/agent-tools --skill glab-sequenzia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/sequenzia/agent-tools/tree/main/plugins/core/skills/glab
Command: npx skills add https://github.com/sequenzia/agent-tools --skill glab-sequenzia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Accessing GitLab features from the command line reduces context switching and speeds up workflow automation.

Core Features & Use Cases

  • Comprehensive reference for interacting with GitLab via the glab CLI, covering merge requests, issues, CI/CD pipelines, runners, releases, API calls, tokens, labels, milestones, snippets, and more.
  • Provides practical patterns and examples to execute day-to-day GitLab operations from scripts or the terminal.
  • Use cases include creating MRs, listing pipelines, updating issues, querying the GitLab API, and automating repetitive tasks.

Quick Start

Create a new MR from the current branch with auto-fill and open it in the browser.

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 issues from the command line?

You can automate GitLab merge requests and issues from the command line using the glab CLI. This skill provides practical patterns to create MRs, update issues, and execute day-to-day GitLab operations directly from your terminal or scripts.

Can I use glab to interact with self-hosted GitLab instances and CI/CD pipelines?

Yes, glab works with both GitLab.com and self-hosted instances. You can use it to list CI/CD pipelines, query runners, manage releases, and perform other project-management tasks across your GitLab environments.

What is the best way to query the GitLab API without writing custom curl commands?

Querying the GitLab API is simplified by using the glab CLI. Instead of writing custom curl commands, this skill enables you to make API requests and automate repetitive project-management tasks through straightforward terminal commands.

How do I create a merge request from the current branch and open it in the browser?

Creating a merge request from your current branch is done via glab CLI commands. This skill demonstrates how to quickly create an MR with auto-fill and automatically open it in your web browser for review.

Does GitLab CLI automation require any specific configuration or dependencies?

GitLab CLI automation requires a valid Skill.md frontmatter with name and description, along with optional resources like references or scripts. This metadata block enables proper discovery and safe activation of the glab commands.

What GitLab features can I manage through terminal workflow automation?

Through terminal workflow automation with glab, you can manage merge requests, issues, CI/CD pipelines, runners, releases, API calls, tokens, labels, milestones, and snippets. This reduces context switching and speeds up your development workflow.