glab-cli

Manage GitLab projects from the command line via glab.

6|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mgajewskik/opencode-config --skill glab-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab-cli
Source: https://github.com/mgajewskik/opencode-config/tree/main/skills/glab-cli
Command: npx skills add https://github.com/mgajewskik/opencode-config --skill glab-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitLab CLI (glab) streamlines GitLab operations from the terminal, enabling quick management of merge requests, CI/CD pipelines, releases, and repositories without leaving the shell.

Core Features & Use Cases

  • Create, view, update, and merge merge requests; monitor pipeline status; manage releases; and interact with repositories directly from the command line.
  • Support cross-repo workflows by operating on different projects with -R owner/project and by passing URLs or git URLs.
  • Verify authentication status, auto-detect the GitLab host from your git remotes, and guard irreversible actions with confirmations.
  • Extend functionality with references for configuration, API access, and other advanced commands.

Quick Start

Install glab, authenticate, and run a simple MR view to begin interacting with GitLab from the terminal.

Frequently Asked Questions about glab-cli

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

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

You can manage GitLab merge requests from the command line by creating, viewing, updating, and merging them directly in the terminal. The CLI automates these interactions without requiring you to leave your shell environment.

Can I check GitLab CI pipeline status from the terminal?

Yes, you can check GitLab CI pipeline status from the terminal. The CLI provides commands to monitor CI/CD pipelines and view their status, allowing you to track continuous integration workflows directly from your shell.

Does the GitLab CLI support cross-repository operations?

Yes, the GitLab CLI supports cross-repository operations using the -R owner/project flag. This allows you to operate on different projects, pass URLs, and manage repositories outside your current local working directory.

How does the CLI auto-detect my GitLab host?

The CLI auto-detects your GitLab host by reading your git remotes. This requires existing knowledge of your git remote configurations to automatically determine the correct GitLab instance for your operations.

Are there safety checks for irreversible actions in GitLab CLI operations?

Yes, the GitLab CLI includes safety checks for irreversible actions by prompting confirmations before execution. It also supports authentication verification to ensure secure terminal-based repository and merge request management.

What do I need to start using the GitLab CLI for repository management?

To start using the GitLab CLI for repository management, you need to install the tool, authenticate with your GitLab account, and run a simple command like MR view. This enables quick terminal interactions for releases and repo cloning.