skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
vince-winkintel/gitlab-cli-skills115 installs

glab-snippet

Create GitLab project or personal code snippets with glab. Use when sharing code or text as a new snippet from files or stdin. For viewing, editing, or deleting existing snippets, use the GitLab UI or the snippets API through glab api. Triggers on snippet, gist, code snippet, share code, create snippet.

How do I install this agent skill?

npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-snippet
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides instructions for using the GitLab CLI (glab) to create snippets from files or standard input. It includes command documentation and advises users to check for secrets before uploading content. No malicious patterns were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

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.

Create from stdin

printf '%s\n' 'package main' | \
  glab snippet create --title "Go example" --filename main.go

Use --filename when stdin supplies the content. Choose --visibility public, internal, or private deliberately; the default is private.

Existing snippets

For project snippets, use the Project snippets API through glab api. For personal snippets, use the Snippets API. Read the target first and verify the host, project, snippet ID, and actor before any update or delete request.

Command reference

See references/commands.md for checksum-verified glab snippet and glab snippet create help.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/vince-winkintel/gitlab-cli-skills/glab-snippet">View glab-snippet on skillZs</a>