glab

Automate GitLab workflows via CLI for issues, merge requests, and pipelines.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/ferstar/my-agent-skills --skill glab-ferstar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/ferstar/my-agent-skills/tree/main/skills/glab
Command: npx skills add https://github.com/ferstar/my-agent-skills --skill glab-ferstar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines your interaction with GitLab, enabling efficient management of issues, merge requests, CI/CD pipelines, and API operations directly from your command line.

Core Features & Use Cases

  • Issue & MR Management: Create, list, update, and triage GitLab issues and merge requests.
  • CI/CD Automation: Monitor pipelines, view logs, and manage jobs.
  • API Operations: Leverage the GitLab API for complex or scripted tasks.
  • Use Case: Automatically create a merge request for a new feature branch, assign reviewers, and then monitor its pipeline until it's ready to merge.

Quick Start

Use the glab skill to list all open merge requests assigned to you.

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?

GitLab merge requests and issues can be managed from the command line by executing CLI commands to create, list, update, and triage them directly. This enables efficient workflow automation without navigating the web interface.

Can I monitor GitLab CI/CD pipelines using a CLI tool?

You can monitor GitLab CI/CD pipelines using a CLI tool to view pipeline statuses, check logs, and manage jobs. This enables continuous tracking of builds and deployments directly from your terminal.

What do I need to automate GitLab workflows via the API?

Automating GitLab workflows via the API requires the `glab` and `jq` binaries installed, along with a `GITLAB_TOKEN` environment variable configured for authentication to enable direct API interactions.

What is the best way to automate GitLab branch creation and merge request assignment?

Automating GitLab branch creation and merge request assignment is best achieved by scripting CLI commands to automatically create a merge request for a new feature branch, assign reviewers, and monitor its pipeline.

Does GitLab CLI automation support complex scripting scenarios?

Yes, GitLab CLI automation supports complex scripting scenarios by leveraging advanced API calls for repeatable automation. This allows you to handle intricate DevOps workflows and integrate GitLab operations into larger automated pipelines.