Skip to content
Automation
Skill

/gitlab-cli

GitLab CLI (glab) wrapper for MR status, issues, and repository operations

From plugin
essentials-claude-code
915 skills8 agents25 commands
Install
$ npx -y skills add GantisStorm/essentials-claude-code --skill gitlab-cli --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gitlab-cli

Context preview

The summary Claude sees to decide when to auto-load this skill.

GitLab CLI (glab) wrapper for MR status, issues, and repository operations

SKILL.md

gitlab-cli.SKILL.md
name: gitlab-cli
description: GitLab CLI (glab) wrapper for MR status, issues, and repository operations
allowed-tools: Bash, Read, Glob
argument-hint: <action> [args]

GitLab CLI helper skill for common `glab` operations. Requires `glab` CLI installed and authenticated.

**Note**: For creating/updating MR descriptions, use `/mr-description-creator` instead.

Actions

MR Operations

**View MR status:**

/gitlab-cli mr status

**View MR in browser:**

/gitlab-cli mr view --web

**List MRs:**

/gitlab-cli mr list

**Merge MR:**

/gitlab-cli mr merge

Issue Operations

**List issues:**

/gitlab-cli issue list

**Create issue:**

/gitlab-cli issue create

**View issue:**

/gitlab-cli issue view <number>

CI/CD Operations

**View CI status:**

/gitlab-cli ci status

**View pipeline:**

/gitlab-cli ci view

**List jobs:**

/gitlab-cli job list

Repository Operations

**View repo:**

/gitlab-cli repo view

Instructions

Step 1: Validate Environment

# Check glab is installed
glab --version

# Check glab is authenticated
glab auth status

If not installed, report: "Install glab CLI: https://gitlab.com/gitlab-org/cli" If not authenticated, report: "Run: glab auth login"

Step 2: Parse and Execute

Parse `$ARGUMENTS` and pass directly to `glab`:

glab $ARGUMENTS

Step 3: Report Result

Show `glab` output directly to user.

Examples

# View MR status
/gitlab-cli mr status

# View MR in browser
/gitlab-cli mr view --web

# List open MRs
/gitlab-cli mr list

# Merge current MR
/gitlab-cli mr merge

# List issues
/gitlab-cli issue list

# Create issue interactively
/gitlab-cli issue create

# View repo info
/gitlab-cli repo view

# View CI status
/gitlab-cli ci status

# View pipeline
/gitlab-cli ci view

# List jobs
/gitlab-cli job list

# API calls
/gitlab-cli api projects/:id/merge_requests

# Any glab command works
/gitlab-cli release list
/gitlab-cli label list

Error Handling

| Scenario | Action | |----------|--------| | glab not installed | "Install glab: https://gitlab.com/gitlab-org/cli" | | Not authenticated | "Run: glab auth login" | | glab command fails | Show glab error output |

Read more
Ships withessentials-claude-code

Loops, swarms, and teams powered by Claude Code's built-in Task System. Loop, swarm, and team are three execution modes. Loop runs sequentially. Swarm runs parallel subagents. Team spawns full Claude Code instances with shared contracts via Agent Teams.

Get the whole plugin

Other skills on essentials-claude-code.