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

glab-securefile — скилл для Claude Code: управление файлами CI/CD

Скилл glab-securefile для Claude Code управляет защищёнными файлами проекта GitLab. Запускается при работе с файлами конфигурации, сертификатами и секретами для CI/CD.

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

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

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

Скилл помогает загружать, обновлять, скачивать, просматривать и удалять защищённые файлы проекта через glab securefile. Такие файлы хранятся вне репозитория и подходят для конфигураций и сертификатов, используемых в CI/CD. Поддерживаются текстовые и бинарные файлы размером меньше 5 MB; в одном проекте можно хранить до 100 файлов.

Для скачивания нескольких файлов команда умеет обходить все страницы API. Перед удалением или заменой она запрашивает подтверждение, а в неинтерактивном режиме для этих операций нужен флаг --yes или -y. Успешное обновление меняет ID файла, поэтому старый ID после замены становится непригоден. Команда get требует GitLab 18.0 или новее.

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

  • загрузить файл конфигурации в проект GitLab
  • скачать защищённые файлы для CI/CD
  • найти файл по имени или ID
  • заменить сертификат в проекте
  • удалить секретный файл из проекта

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

  • Загрузи ./config.json в защищённые файлы проекта group/project.
  • Скачай все защищённые файлы проекта group/project в ./secure-files.
  • Замени signing-certificate.p12 файлом ./replacement.p12 в проекте group/project.

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

1Через Skills CLI (Vercel)

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

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

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

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

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

Вопросы о glab-securefile

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

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

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

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

Какие версии GitLab поддерживают команду получения сведений о файле?

Команде glab securefile get нужен GitLab 18.0 или новее. На более старых версиях файл можно найти в списке или скачать по ID либо имени.

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

SKILL.md · MIT
---
name: glab-securefile
description: Manage secure files for CI/CD including upload, update, download, list, and delete operations. Use when storing or replacing sensitive files for pipelines, managing certificates, or handling secure configuration files. Triggers on secure file, CI secrets, certificates, overwrite secure file, secure config.
---

# glab securefile

## Overview

```

  Store up to 100 files for secure use in CI/CD pipelines. Secure files are                                             
  stored outside of your project's repository, not in version control.                                                  
  It is safe to store sensitive information in these files. Both plain text                                             
  and binary files are supported, but they must be smaller than 5 MB.                                                   
                                                                                                                        
         
  USAGE  
         
    glab securefile <command> [command] [--flags]  
            
  COMMANDS  
            
    create <name> <path>                                   Upload a new secure file to a project.
    download [<id> | --id <id> | --name <name>] [--flags]  Download one or more secure files from a project.
    get <id> [--flags]                                     Get details of a secure file by ID.
    list [--flags]                                         List secure files in a project.
    remove [<id> | --id <id> | --name <name>] [--flags]    Remove a secure file from a project.
    update <name> <path> [--flags]                         Update a secure file in a project.
         
  FLAGS  
         
    -h --help                          Show help for this command.
    -R --repo                          Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
```

## Quick start

```bash
glab securefile --help
```

`glab securefile get` requires GitLab 18.0 or later. On older GitLab instances, list or download by ID/name instead of expecting the details endpoint to work.

## Downloading secure files

Use `--all` to download every secure file across all API pages; it is not limited to the first 100 results. Keep checksum verification enabled unless the user explicitly accepts the risk of `--no-verify` or `--force-download`.

```bash
# Download every secure file to a controlled directory
glab securefile download --all --output-dir ./secure-files -R group/project

# Download one file to an absolute path; glab creates missing parents
glab securefile download 1 --path /tmp/secure/file.txt -R group/project

# Download all files to an absolute directory
glab securefile download --all --output-dir /tmp/secure-files -R group/project
```

Treat the destination as sensitive, keep it outside version control, and verify the target project before downloading. Absolute `--path` and `--output-dir` destinations are supported. For `--all`, glab rejects server-provided names that could escape the selected output directory.

## Removing secure files

Secure-file deletion accepts a positional numeric ID, `--id`, or an exact file name via `--name`:

```bash
# Interactive confirmation
glab securefile remove 1
glab securefile remove --id 1
glab securefile remove --name signing-certificate.p12

# Approved non-interactive deletion
glab securefile remove --name signing-certificate.p12 --yes
```

Deletion is permanent. In non-interactive environments, `--yes` / `-y` is required. Resolve and verify the intended project with `-R/--repo` before deleting, and prefer an ID when duplicate or ambiguous naming is possible.

Choose exactly one selector for removal: a positional ID, `--id`, or `--name`. Combining selectors is a hard error, so resolve the intended file first and pass only the one selector you want to use.

## Updating secure files

Update a secure file by its exact stored name and a local replacement path. The command asks for confirmation unless `--yes` / `-y` is set; `overwrite` is an alias.

```bash
# Interactive update
glab securefile update signing-certificate.p12 ./replacement.p12

# Approved non-interactive update in an explicit project
glab securefile update signing-certificate.p12 ./replacement.p12 \
  -R group/project --yes
```

No update occurs when the content is unchanged. A successful update changes the secure file's ID, so subsequent workflows should resolve/download it by `--name` or refresh the ID instead of reusing a stale ID. Confirm the target project, file name, and replacement path before bypassing the prompt.

## Subcommands

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

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

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

Все скиллы по теме «Безопасность» →
gitlab-ci-patterns Seth Hobson Скилл gitlab-ci-patterns для Claude Code помогает собирать GitLab CI/CD-пайплайны со стадиями, кэшем и деплоем. Описывает пайплайны для тестирования, сборки и доставки приложений. CX Codex +1 13 112установок aws-deployment aws Скилл aws-deployment для Claude Code настраивает CI/CD-пайплайны AWS. Он подключается, когда задача затрагивает CodePipeline, CodeBuild, CodeDeploy или связанные файлы сборки и деплоя. CX Codex +1 7 000установок gitlab-workflow Mindrally Скилл gitlab-workflow учит ИИ-ассистента правилам GitLab: от оформления merge request до настройки конвейеров .gitlab-ci.yml. Помогает выстроить командную разработку. CX Codex +1 1 100установок gitlab-ci-validator akin-ozer Скилл gitlab-ci-validator проверяет синтаксис и правила безопасности в .gitlab-ci.yml. Пригодится перед мержем, чтобы отловить ошибки до пуша в репозиторий. CX Codex +1 758установок cicd-expert martinholovsky Скилл cicd-expert для CI/CD на Claude Code: проектирует GitHub Actions, GitLab CI, Jenkins с гейтами безопасности и GitOps. Собирает и чинит пайплайны. CX Codex +1 650установок ci-cd ahmedasmar Скилл ci-cd помогает проектировать пайплайны GitHub Actions и GitLab CI, ускорять сборки кешированием и находить причины сбоев в тестах или деплое. CX Codex +1 367установок

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

Весь набор →
glab-snippet Скилл glab-snippet для Claude Code создаёт сниппеты GitLab из файлов или текста из stdin. Запускается по просьбе поделиться кодом или текстом. CX Codex +1 115установок glab-todo Скилл glab-todo для Claude Code управляет списком задач GitLab через CLI. Он показывает назначенные и упомянутые задачи, а также отмечает их выполненными. CX Codex +1 115установок glab-milestone Скилл glab-milestone для Claude Code управляет вехами GitLab: создаёт, показывает, редактирует, перечисляет и удаляет их. Агент подключает его при планировании релиза и работе с прогрессом вех. CX Codex +1 114установок glab-iteration Скилл glab-iteration для Claude Code и Codex помогает управлять итерациями GitLab. Включается при планировании спринтов, назначении задач и просмотре прогресса. CX Codex +1 114установок glab-cluster Скилл glab-cluster для Claude Code управляет Kubernetes-кластерами GitLab и их агентами. Включается при подключении кластера или работе с интеграцией Kubernetes. CX Codex +1 113установок glab-runner-controller Скилл glab-runner-controller для Claude Code управляет контроллерами GitLab Runner и их токенами. Срабатывает на запросы о создании контроллера, его областях действия или токенах. CX Codex +1 113установок glab-attestation Скилл glab-attestation для Claude Code помогает проверять GitLab-аттестации и происхождение программных артефактов. Запускается при запросах о проверке артефакта или безопасности цепочки поставок. CX Codex +1 113установок glab-whatsnew Показывает заметки к релизам GitLab CLI через glab whatsnew. Он включается при запросах о новых версиях, изменениях после обновления или истории с заданной версии. CX Codex +1 112установок

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

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