glab-snippet

glab-snippet is a skill for Claude Code, Codex from vince-winkintel/gitlab-cli-skills. It costs 72 tokens per session (407 once invoked), scanned A, original, MIT.

A GitLab CLI tool for creating and managing code snippets, which are shareable pieces of code similar to small gists.

In plain words
What is it for?
Create, view, update, and manage snippets, including snippets containing one or more files or code read from standard input.
Why use it?
It provides a quick way to share reusable code without creating a full repository or project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Create, view, update, and manage snippets, including snippets containing one or more files or code read from standard input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vince-winkintel/gitlab-cli-skills/glab-snippet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-snippet
Clone the repo
git clone --depth 1 https://github.com/vince-winkintel/gitlab-cli-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for glab-snippet

README.md
[![agentmods](https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-snippet/github.svg)](https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-snippet)
Your own site
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-snippet"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-snippet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for glab-snippet

Your own site · 80×15
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-snippet"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-snippet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00407
Opus 5.5 $0.00029 $0.00163
Sonnet 5.5 $0.00014 $0.00081
Haiku 4.5 $0.00007 $0.00041

Measured 23d ago against content hash db604634a657, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

glab-snippet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

glab-snippet/SKILL.md · 41 lines

What it actually says

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.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · -1 lines · +19 tokens per session db604634a657
  2. 2mo ago First seen · 42 lines · 53 tokens per session scan A b50aa90a4183

Subscribe to this mod's changes

glab-snippet is a skill published in the GitHub repository vince-winkintel/gitlab-cli-skills (49 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 407 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.