К основному содержанию
скилл CX Codex

glab-release — скилл для Claude Code: релизы GitLab

Скилл glab-release для Claude Code управляет релизами GitLab: создаёт и удаляет их, показывает список и загружает файлы. Срабатывает на задачах с версиями, тегами, описаниями релизов и их файлами.

MIT 129 установок ★ 51 обновлён 2026-10-20

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-release -a claude-code
Открыть на GitHub

Что делает glab-release

glab-release выполняет команды glab release для создания, обновления, просмотра и удаления релизов GitLab. Он также загружает файлы и ссылки на ресурсы релиза, скачивает файлы и выводит список релизов. Для другой цели можно передать --repo с именем проекта или его URL.

Для автоматизации список и просмотр поддерживают вывод JSON. В GitLab CI скилл может использовать CI_JOB_TOKEN через автоматический вход glab; если прав этого токена недостаточно, в инструкции описан токен проекта или группы с областью api. Нужны установленный glab и доступ к GitLab. Нельзя передавать CI_JOB_TOKEN через GITLAB_TOKEN: API отклонит такой токен. При частичном сбое перед повтором проверьте релиз и его ресурсы: загрузки могут пройти до ошибки создания релиза.

Какие задачи решает

  • создать или обновить релиз для Git-тега
  • посмотреть историю релизов и сведения о версии
  • загрузить файлы или ссылки в релиз
  • скачать файлы из релиза GitLab
  • удалить релиз по тегу

Примеры запросов агенту

  • Создай релиз GitLab для тега v1.2.0 с заметками из CHANGELOG.md.
  • Покажи релизы проекта в формате JSON.
  • Скачай файлы из последнего релиза GitLab.

Как установить glab-release

1Через Skills CLI (Vercel)

npx skills add vince-winkintel/gitlab-cli-skills --skill glab-release -a claude-code

2Вручную: положить файлы

~/.claude/skills/glab-release/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/glab-release/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о glab-release

Как установить glab-release в Claude Code?

Выполни npx skills add vince-winkintel/gitlab-cli-skills --skill glab-release -a claude-code. Файл скилла устанавливается по пути ~/.claude/skills/glab-release/SKILL.md.

Что делает glab-release?

Скилл управляет релизами GitLab через glab release: создаёт и обновляет релизы, показывает их список и сведения, загружает или скачивает файлы, удаляет релизы.

Что нужно для работы glab-release в GitLab CI?

Нужен установленный glab и доступ к GitLab. В CI можно использовать CI_JOB_TOKEN с автоматическим входом glab; если его прав недостаточно, инструкция предлагает токен проекта или группы с областью api.

Исходный текст

SKILL.md · MIT
---
name: glab-release
description: Manage GitLab releases including create, list, view, delete, download, and upload release assets. Use when publishing software versions, managing release notes, uploading binaries/artifacts, downloading release files, or viewing release history. Triggers on release, version, tag, publish release, release notes, download release.
---

# glab release

> Capture key `685c1cbd7`: checksum-verified macOS arm64 binary, source commit `685c1cbd74c882e0c93d7011657adde811582ed7`; archive SHA-256 `e77f5756c3c8d9ffeaef0bf234533f395680ab9f128a75cec4c1bd7a1049788c`. Only fences marked `685c1cbd7` use this capture. Normalization removes trailing spaces/tabs only; indentation, blank lines, wrapping, truncation, and product spelling (including `Gitlab`) are preserved. Other fences retain their individual prior provenance.


## Asset-link validation and creation

`release create` and `release upload` reject null elements such as `[null]` in `--assets-links` before sending requests, reporting the zero-based index. Supply a JSON array of link objects with the intended names, URLs, optional `link_type`, and `direct_asset_path`. Do not combine deprecated `filepath` with `direct_asset_path`; the former alone is aliased with a warning.

For a new release, asset links are sent in the release-creation request, including links for files uploaded beforehand. This makes the release visible with its links immediately; it does not make the entire operation one network request or transactional. File/package uploads can already exist when release creation fails. Updating an existing release and `release upload` still create links separately. Verify existing release/assets before retrying after partial failure.

Creation, upload, update, deletion, tag creation, and milestone closure are operational writes. Obtain approval for the exact project, tag, release notes, asset destinations, and side effects; verify host/actor before execution. `release create` can update an existing release; use `--no-update` when that must be refused.

## List totals and pagination

`glab release list` uses the API-reported total in its text header when available, separate from the number of returned rows. Missing totals must not be treated as proof there are no other pages. JSON contains the requested page's items, not every item counted by the header. Use `--page` and `--per-page` to traverse results explicitly; do not equate JSON array length with the server total.

## Asset transport

Release downloads recognize same-instance Markdown upload asset URLs and fetch them through the authenticated API, including project-ID and namespace/project upload paths. Use the intended host and identity; do not work around an authentication failure by exposing tokens in URLs. Asset uploads can run in parallel, so verify the final release assets instead of depending on upload completion order.

## Overview

<!-- help-capture: 685c1cbd7:a8ea3498e523 -->

```text

  A release bundles a Git tag with release notes and downloadable
  assets, such as binaries or source archives.

  Create and update releases, list and view them, upload assets, and
  download or delete releases. Use `--repo` to target a project other
  than the current one.


  USAGE

    glab release <command> [command] [--flags]

  COMMANDS

    create <tag> [<files>...] [--flags]  Create a new GitLab release, or update an existing one.
    delete <tag> [--flags]               Delete a GitLab release.
    download [<tag>] [--flags]           Download asset files from a GitLab release.
    list [--flags]                       List releases in a repository.
    upload <tag> [<files>...] [--flags]  Upload release asset files or links to a GitLab release.
    view [<tag>] [--flags]               View information about a GitLab release.

  FLAGS

    -h --help                            Show help for this command.
    -R --repo                            Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

```

## Quick start

```bash
glab release --help
```

## Structured output

`glab release list` and `glab release view` support `--output json` / `-F json` for structured output, which is useful for agent automation.

`--notes` and `--notes-file` are optional for `glab release create`, including when it updates an existing release.

The tag is optional for `glab release view` and `glab release download`; omit it to target the latest release. Pass an explicit tag in release automation when reproducibility matters.

```bash
# List releases with JSON output
glab release list --output json
glab release list -F json

# View a release with JSON output
glab release view v1.2.0 --output json
glab release view v1.2.0 -F json

# Create a release without notes
glab release create v1.2.0

# Update a release without notes
glab release create v1.2.0 --name "My Release"
```

## Creating releases in GitLab CI/CD

For a pipeline job, prefer the predefined `CI_JOB_TOKEN` with glab CI auto-login; see [glab-auth](../glab-auth/SKILL.md) for the general mechanism and environment-variable precedence. The Releases API accepts that credential in the `JOB-TOKEN` header:

```bash
GLAB_ENABLE_CI_AUTOLOGIN=true \
  glab release create "$CI_COMMIT_TAG" \
  --notes-file CHANGELOG.md \
  --ref "$CI_COMMIT_SHA"
```

Do not assign `CI_JOB_TOKEN` to `GITLAB_TOKEN`: glab sends `GITLAB_TOKEN` as `PRIVATE-TOKEN`, which the Releases API rejects for a job token and can surface as `404 Not Found`. When job-token access is insufficient, use an approved project or group access token with `api` scope through `GITLAB_TOKEN`; never print that token.

## Subcommands

See [references/commands.md](references/commands.md) for full `--help` output.

© vince-winkintel · MIT · vince-winkintel/gitlab-cli-skills

Похожие скиллы

Все скиллы по теме «DevOps и инфраструктура» →
gitlab odyssey4me Управляет GitLab через glab CLI. Создаёт issue и MR, проверяет статус пайплайнов, просматривает репозитории. CX Codex +1 305установок glab henricook Скилл glab для Claude Code: учит агента пользоваться GitLab CLI — создавать merge request, разбирать issues, следить за пайплайнами и дёргать API. Проект живёт в GitLab. CX Codex +1 1 100установок cyrus-setup-gitlab cyrusagents Скилл cyrus-setup-gitlab настраивает glab и git-идентичность, чтобы Cyrus мог создавать ветки, коммиты и merge request'ы в вашем проекте. CX Codex +1 830установок gh-switch sentimony Скилл gh-switch проверяет активный аккаунт в GitHub CLI или токен GitLab перед выполнением команд и переключает профиль под проект из файла .env/.env. CX Codex +1 2 200установок Advanced GitLab MCP server structured-world MCP-сервер Advanced GitLab MCP server связывает ИИ-агента с 234 операциями GitLab через 64 CQRS-инструмента. Подходит для работы с пайплайнами, репозиториями и merge request прямо из терминала или IDE. CX Codex +1 ★ 8звёзд репо verify-and-ship cyrusagents Скилл verify-and-ship проводит изменения через проверку критериев задачи, тесты, обновление changelog, коммит и создание pull request. CX Codex +1 888установок

Из того же набора45

Весь набор →
glab-repo Скилл glab-repo автоматизирует управление проектами GitLab через CLI: создание, клонирование, форки, очистку веток и настройку удалённых репозиториев прямо в диалоге с агентом. CX Codex +1 145установок glab-job Скилл glab-job управляет отдельными задачами CI/CD в GitLab: читает логи, перезапускает упавшие сборки и скачивает артефакты. CX Codex +1 135установок glab-config Скилл glab-config управляет конфигурацией glab — CLI для GitLab: умолчания, прокси для каждого хоста, переменные цвета и редактора. CX Codex +1 129установок glab-runner Скилл glab-runner помогает управлять GitLab CI/CD Runner через glab: просматривать задания, назначать и приостанавливать раннеры, а также удалять их. CX Codex +1 129установок glab-skills Учит агентов работать с командой glab skills: просматривать, ставить и обновлять встроенные или удалённые скилы GitLab CLI. CX Codex +1 128установок glab-variable Набор команд glab variable под рукой у агента: завести переменную пайплайна, поправить флаги, перенести секреты между проектами и группами GitLab. CX Codex +1 126установок glab-changelog Скилл glab-changelog для Claude Code генерирует changelog проекта по релизам, тегам и коммитам GitLab. Помогает подготовить заметки к выпуску и зафиксировать историю версий. CX Codex +1 125установок glab-mcp Описывает устаревший MCP-сервер в glab. Помогает отлаживать старые скрипты и готовить миграцию на GitLab MCP Server. CX Codex +1 124установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой