Quickstart

From javimosch/supercli · View interactive version

Quickstart is an AI agent skill from the GitHub repository javimosch/supercli. - `glab <resource> <action>` — Execute glab commands

How to use this skill

Skill file

glab Plugin

Commands

Overview

The glab plugin provides access to the GitLab CLI tool (glab), bringing GitLab to your command line. Work with GitLab directly from the terminal without leaving your workflow.

What is glab?

glab is an open-source GitLab CLI tool that allows you to work with GitLab directly from your terminal. It provides a unified interface for managing repositories, issues, merge requests, pipelines, and more.

Quick Start

1. Install glab

curl -sL https://git.io/glab | sh
# or with Homebrew
brew install glab

2. Authenticate

sc glab auth login

3. Verify installation

sc glab self version

Common Workflows

Working with Merge Requests

# List merge requests
sc glab mr list

# List only opened MRs
sc glab mr list --state opened

# View a specific MR
sc glab mr view 123

Working with Issues

# List issues
sc glab issue list

# List issues assigned to you
sc glab issue list --assignee @me

# List closed issues
sc glab issue list --state closed

CI/CD Pipelines

# List pipelines
sc glab ci list

# View pipeline status
sc glab ci view 12345

Repository Operations

# Clone a repository
sc glab repo clone owner/repo

# View repository info
sc glab repo view

Authentication

Authenticate with your GitLab instance:

sc glab auth login

For self-hosted GitLab instances:

sc glab auth login --hostname gitlab.example.com

Requirements

Useful Commands

Passthrough

For any glab command not exposed as a specific command, use the passthrough:

sc glab _ _ [any glab args]

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.