Skip to main content
skill CX Codex

glab-alias — Claude Code skill: what it does, how to install

The glab-alias Claude Code skill manages aliases for the GitLab CLI, glab. Ask it to create, show, or remove a shortcut command.

MIT 118 installs ★ 51 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a claude-code
Open on GitHub

What glab-alias does

The skill helps manage glab aliases: it can add one, list saved aliases, or delete one. It activates for requests about CLI shortcuts and custom commands. Listing uses glab alias list; set and delete handle the other operations.

An alias can run shell code, so inspect its full expansion before running one that is unfamiliar. Arguments pass through individually rather than being joined into a shell string. Quote each intended argument in the calling shell to preserve whitespace and special characters.

What it helps with

  • create a shortcut for a long glab command
  • inspect saved aliases and their expansions
  • remove an obsolete alias
  • shorten a frequently used GitLab CLI command

Example prompts for the agent

  • Create an mr alias for glab mr list.
  • Show my saved glab aliases and their commands.
  • Delete the old-mr alias.

How to install glab-alias

1Skills CLI (Vercel)

npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a claude-code

2Manually: put the files in place

~/.claude/skills/glab-alias/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/glab-alias/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about glab-alias

How do I install glab-alias in Claude Code?

Run npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a claude-code. The skill file is at ~/.claude/skills/glab-alias/SKILL.md.

What does glab-alias do?

It helps create, list, and delete aliases for GitLab CLI commands run through glab.

Which alias operations does glab-alias support?

Use set to create an alias, list to view them, and delete to remove one. Review an unfamiliar shell alias before running it.

Source text

SKILL.md · MIT
---
name: glab-alias
description: Create, list, and delete GitLab CLI command aliases and shortcuts. Use when creating custom glab commands, managing CLI shortcuts, or viewing existing aliases. Triggers on alias, shortcut, custom command, CLI alias.
---

# glab alias

> **Help provenance — capture key `9b430a11f`:** official macOS arm64 glab v1.130.0; source commit `9b430a11f95ec78d87f19be071d1c381d8803630`; binary archive SHA-256 `5791b652e774e4eca85afba1ebfd9db8498138c3311e0ed0a39d19590311f232`. Adjacent `9b430a11f` markers preserve complete binary stdout except trailing spaces/tabs, including Fang headings and original product spelling. Existing legacy product-spelling normalization remains separately scoped; it is not byte-exact.

## Shell completion boundaries

Shell completion for `alias delete` suggests configured alias names. `alias set` does not complete arbitrary shell commands or file paths. Inspect the alias expansion before approving any persistent alias write; completion is not proof that a shell expansion is safe.

## Argument boundaries

Arguments supplied to an alias are passed through without reconstructing them as a shell-joined string. Keep each intended argument quoted at the calling shell; quoted whitespace and special characters remain part of that argument. Explicit shell aliases still execute shell code and require review before use.

## Overview

<!-- help-capture: 9b430a11f:6cdbed27d9b0 -->

```text

  Aliases are shortcuts for longer glab commands. Use aliases to save
  keystrokes for commands you run often, or to compose shell pipelines
  around glab commands.


  USAGE

    glab alias [command] [--flags]

  COMMANDS

    delete <alias name> [--flags]           Delete an alias.
    list [--flags]                          List aliases.
    set <alias name> '<command>' [--flags]  Set an alias for a longer command.

  FLAGS

    -h --help                               Show help for this command.

```

## Quick start

```bash
glab alias --help
glab alias list
```

`glab alias list` wraps long rows instead of truncating expansions at a fixed column width, so the complete stored command remains visible. Treat shell aliases as executable code and review the full expansion before running an unfamiliar alias.

## Subcommands

See [references/commands.md](references/commands.md) for full `--help` output.

© vince-winkintel · MIT · vince-winkintel/gitlab-cli-skills

Similar skills

SKILL.md skills catalog →

From the same set45

The whole set →
glab-version glab-version — a small skill that reports which glab CLI build is installed. Useful when a command misbehaves and the version is the first thing to rule out. CX Codex +1 120installs glab-opentofu glab-opentofu — a Claude Code skill for managing OpenTofu and Terraform state in GitLab. It activates for backend setup and infrastructure-as-code tasks. CX Codex +1 119installs glab-label The glab-label Claude Code skill manages GitLab labels at project and group level. It responds to requests to create, inspect, edit, or remove labels for issues and merge requests. CX Codex +1 118installs glab-gpg-key glab-gpg-key — a skill for Claude Code that manages GPG keys on GitLab. Automates adding, listing, and deleting keys when setting up commit signing or verifying commit signatures. CX Codex +1 118installs glab-quick-actions The glab-quick-actions Claude Code skill sends GitLab quick actions through glab. It groups changes to an issue or merge request into a single comment. CX Codex +1 118installs glab-schedule The glab-schedule Claude Code skill manages GitLab CI/CD pipeline schedules. It activates for requests to create, inspect, change, delete, or run a scheduled pipeline. CX Codex +1 117installs glab-incident The glab-incident Claude Code skill manages GitLab incidents through glab. It activates for requests to create incidents, handle incident response, or connect incidents with issues. CX Codex +1 117installs glab-completion This Claude Code skill generates glab completion scripts for bash, zsh, fish, and PowerShell. It activates when configuring shell command suggestions. CX Codex +1 117installs

Project sponsors

Companies that keep this analytics open