About glab-alias
A skill documenting glab alias commands for creating, listing, and deleting aliases. It highlights argument handling and cautions that explicit shell aliases execute code.
Key features
- 01Create, list, and delete aliases
- 02Preserve argument boundaries when invoking aliases
- 03Show complete long alias expansions
Use cases
- 01Review an alias's full expansion before use
- 02Keep quoted whitespace intact in alias arguments
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ vince-winkintel/ gitlab-cli-skills --skill glab-aliasAfter installing, type/glab-aliasin Claude Code to confirm it loaded.
Bundled filesreferences/commands.md
Details
From the project READMEglab alias
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
Create, list, and delete aliases.
USAGE
glab alias [command] [--flags]
COMMANDS
delete <alias name> [--flags] Delete an alias.
list [--flags] List the available aliases.
set <alias name> '<command>' [--flags] Set an alias for a longer command.
FLAGS
-h --help Show help for this command.
Quick start
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 for full --help output.