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
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a claude-codeWhat 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
glabcommand - inspect saved aliases and their expansions
- remove an obsolete alias
- shorten a frequently used GitLab CLI command
Example prompts for the agent
- Create an
mralias forglab mr list. - Show my saved
glabaliases and their commands. - Delete the
old-mralias.
How to install glab-alias
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a claude-code2Manually: put the files in place
~/.claude/skills/glab-alias/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/glab-alias/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a codex2Manually: put the files in place
.agents/skills/glab-alias/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a cursor2Manually: put the files in place
.cursor/skills/glab-alias/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vince-winkintel/gitlab-cli-skills glab-alias2Manually: put the files in place
.github/skills/glab-alias/SKILL.md1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a gemini-cli2Platform CLI
gemini skills install https://github.com/vince-winkintel/gitlab-cli-skills --path glab-aliasManually: put the files in place
.devin/skills/glab-alias/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-alias -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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