🎯

glab

🎯Skill

from henricook/claude-glab-skill

VibeIndex|
What it does

glab skill from henricook/claude-glab-skill

glab

Installation

git cloneClone repository
git clone https://github.com/henricook/claude-glab-skill .claude/skills/glab
git cloneClone repository
git clone https://github.com/henricook/claude-glab-skill ~/.claude/skills/glab
GoRun with Go
go install gitlab.com/gitlab-org/cli/cmd/glab@latest
πŸ“– Extracted from docs: henricook/claude-glab-skill
12Installs
4
-
Last UpdatedNov 7, 2025

Skill Details

SKILL.md

Overview

# GitLab CLI (glab) Skill for Claude Code

A comprehensive Claude Code skill that provides expert guidance for using the GitLab CLI (glab) to manage GitLab resources directly from the command line.

Overview

This skill enables Claude Code to effectively assist with GitLab workflows using the official glab CLI tool. It provides detailed knowledge about GitLab operations including merge requests, issues, CI/CD pipelines, repository management, and more.

What This Skill Provides

  • Core workflows: Common GitLab operations (MRs, issues, CI/CD, repos)
  • Authentication guidance: Quick setup for GitLab.com and self-hosted instances
  • Best practices: When and how to use glab effectively
  • Progressive disclosure: Concise core instructions with detailed references loaded as needed
  • Comprehensive references: Detailed command docs, troubleshooting, and quick reference guides

Installation

Installing the Skill

This skill should be placed in your Claude Code skills directory:

```bash

# For project-specific installation

mkdir -p .claude/skills

git clone https://github.com/henricook/claude-glab-skill .claude/skills/glab

# For personal/global installation

mkdir -p ~/.claude/skills

git clone https://github.com/henricook/claude-glab-skill ~/.claude/skills/glab

```

After installation, your directory structure will be:

```

.claude/skills/glab/

β”œβ”€β”€ SKILL.md # Core skill (~200 lines, loaded when skill invoked)

β”œβ”€β”€ references/ # Detailed docs (loaded only as needed)

β”‚ β”œβ”€β”€ commands-detailed.md # Comprehensive command reference

β”‚ β”œβ”€β”€ quick-reference.md # Command cheat sheet

β”‚ └── troubleshooting.md # Detailed error scenarios

β”œβ”€β”€ README.md

β”œβ”€β”€ CONTRIBUTING.md

β”œβ”€β”€ CHANGELOG.md

└── LICENSE

```

Installing glab CLI

Before using this skill, ensure glab is installed on your system:

macOS:

```bash

brew install glab

```

Linux:

```bash

# Debian/Ubuntu

sudo apt install glab

# Fedora/RHEL

sudo dnf install glab

# Arch Linux

sudo pacman -S glab

```

Windows:

```powershell

# Using Chocolatey

choco install glab

# Using Scoop

scoop install glab

```

From source:

```bash

go install gitlab.com/gitlab-org/cli/cmd/glab@latest

```

For more installation options, visit: https://gitlab.com/gitlab-org/cli

Usage

Once installed, Claude Code will automatically detect when you need GitLab CLI assistance and can invoke this skill. You can also explicitly invoke it:

```

@claude using the glab skill, help me create a merge request

```

Or simply ask Claude Code to perform GitLab operations:

```

Can you list my open merge requests?

Create an issue for the bug we just found

Show me the status of the CI pipeline

```

Skill Architecture

This skill follows the progressive disclosure design principle for optimal performance:

Three-Level Context Loading

  1. SKILL.md frontmatter (~50 chars) - Loaded first for skill discovery and invocation
  2. SKILL.md body (~200 lines) - Core workflows and patterns loaded when skill is invoked
  3. references/ folder - Detailed documentation loaded into context only as needed

SKILL.md (Core Instructions)

The main skill file is concise and focused on:

  • When to use glab for different tasks
  • Essential authentication setup
  • Common workflow patterns (not exhaustive command lists)
  • Best practices and quick fixes
  • References to detailed documentation

Why it's concise: Loads quickly when invoked, providing immediate guidance without overwhelming context.

references/ (Detailed Documentation)

commands-detailed.md - Load when:

  • User needs specific flag or option details
  • Working with advanced commands (API, variables, schedules)
  • Need comprehensive command examples

troubleshooting.md - Load when:

  • Encountering authentication or connection errors
  • Debugging CI/CD pipeline issues
  • Need detailed error scenarios and solutions

quick-reference.md - L