glab-stack

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

A GitLab CLI tool for managing stacked merge requests, where each small change depends on the one before it. It helps organize multi-part work for review.

In plain words
What is it for?
Create, list, move through, synchronize, infer, and amend dependent merge-request stacks. This feature is experimental and may change or break.
Why use it?
It avoids handling a large change as one difficult-to-review merge request. Earlier changes can be reviewed and updated while later work continues.

Skill for Claude CodeCodex

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

Good fit Create, list, move through, synchronize, infer, and amend dependent merge-request stacks. This feature is experimental and may change or break.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vince-winkintel/gitlab-cli-skills/glab-stack
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-stack
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-stack

README.md
[![agentmods](https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-stack/github.svg)](https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-stack)
Your own site
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-stack"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-stack/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-stack

Your own site · 80×15
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-stack"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,678 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 99
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00065 $0.01678
Opus 5.5 $0.00026 $0.00671
Sonnet 5.5 $0.00013 $0.00336
Haiku 4.5 $0.00006 $0.00168

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

Security

Grade A, and why

glab-stack 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 9d 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-stack/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

glab stack

Worktree-local selection

The current stack selection is tracked per Git worktree. Select and inspect the intended stack from the worktree where you will operate; switching stacks in one worktree does not select that stack in another. Stack data and repository refs can still be shared, so this does not remove the need to review destructive or publishing actions.

Overview

A stack is a series of small, dependent merge requests delivering one feature. Locally, each diff is one commit on its own branch, based on the preceding diff's branch. Sync creates an MR targeting the preceding branch; the first diff targets the base branch.

Stack commands operate on the stack last created or switched to, regardless of the currently checked-out branch. Inspect that active stack before a mutation. This feature remains experimental. See references/commands.md for complete checksum-verified parent/subcommand help, including current terminology and examples.

Quick start

glab stack --help

Current behavior

Generated stack branches use {branch_prefix}-{stack-title}-{hash}. If branch_prefix is unset, glab uses the operating system account username (and removes a Windows domain prefix), falling back to glab-stack only when user lookup is unavailable. It does not rely on $USER; set glab config set branch_prefix <value> when automation requires a stable explicit prefix.

glab stack infer <revision-range> creates or appends stack layers from selected commits in a Git revision range. The start of the range must resolve to a branch name, not a relative ref such as HEAD~5, because the base branch is recorded in stack metadata.

# Infer stack layers from commits between main and the current branch
glab stack infer main..HEAD

# Infer from a feature branch that diverged from develop
glab stack infer develop..HEAD

# If no stack is active, create one with a specific name
glab stack infer --name feature-stack main..HEAD

Read the full file on GitHub · 132 lines

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. 9d ago Changed · +4 lines ddd058352359
  2. 20d ago Changed · -12 lines 8f131552327e
  3. 23d ago Changed · +36 lines · +14 tokens per session 36e3798bcdf1
  4. 2mo ago First seen · 104 lines · 51 tokens per session scan A ba2f3c29bd9a

Subscribe to this mod's changes

glab-stack is a skill published in the GitHub repository vince-winkintel/gitlab-cli-skills (49 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 1,678 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.