glab-snippet

Installation
SKILL.md

glab snippet

glab snippet creates snippets. It does not provide native view, update, list, or delete subcommands; use the GitLab UI or glab api with the project or personal snippets API for those operations.

Create from files

# Project snippet in the repository selected by the current checkout
glab snippet create --title "Example" script.py

# Multiple files
glab snippet create --title "Example" app.py requirements.txt

# Personal snippet
glab snippet create --personal --title "Example" script.py

Verify the current repository or pass --repo before creating a project snippet. Review every input file for secrets because the command uploads its contents.

Installs
97
GitHub Stars
49
First Seen
Jun 22, 2026