glab-duo — скилл для Claude Code: запуск и установка
Скилл glab-duo для Claude Code помогает устанавливать и запускать GitLab Duo CLI через glab. Он включается при работе с GitLab Duo Agent Platform из терминала, в интерактивном режиме или с ограниченной целью без диалога.
MIT 116 установок ★ 51 обновлён 2026-10-20
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a claude-codeЧто делает glab-duo
Скилл описывает работу с glab duo cli: установку GitLab Duo CLI, обновление и запуск в интерактивном или headless-режиме. Для одной ограниченной задачи используется glab duo cli run --goal; передавать агенту следует также условия остановки, а изменения нужно независимо проверить.
Сначала требуется авторизоваться командой glab auth login: после этого glab использует эту авторизацию для Duo CLI. Для GA нужны GitLab 19.2 или новее и требования GitLab Duo Agent Platform; Self-Managed и Dedicated должны разрешать доступ Duo CLI. На GitLab 18.11–19.1 нужны включённые beta- и experimental-функции.
Установка выполняется через glab duo cli --install, а обновление — через glab duo cli update. Флаг --yes пропускает подтверждения в текущем запуске, но не заменяет одобрение на загрузку и запуск исполняемого кода. Команда glab duo ask устарела и скрыта в актуальном glab; для уточнения доступных команд служит glab duo cli --help.
Какие задачи решает
- установить GitLab Duo CLI через
glab - запустить Duo CLI в интерактивном режиме
- передать агенту ограниченную задачу через
--goal - обновить управляемую версию Duo CLI
Примеры запросов агенту
- Установи GitLab Duo CLI через
glabи объясни, как его обновить. - Запусти GitLab Duo CLI интерактивно из терминала.
- Поставь задачу исправить упавшие тесты через
glab duo cli run --goalи задай условия остановки.
Как установить glab-duo
1Через Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a claude-code2Вручную: положить файлы
~/.claude/skills/glab-duo/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/glab-duo/
1Через Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a codex2Вручную: положить файлы
.agents/skills/glab-duo/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a cursor2Вручную: положить файлы
.cursor/skills/glab-duo/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install vince-winkintel/gitlab-cli-skills glab-duo2Вручную: положить файлы
.github/skills/glab-duo/SKILL.md1Через Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a gemini-cli2Командой платформы
gemini skills install https://github.com/vince-winkintel/gitlab-cli-skills --path glab-duoВручную: положить файлы
.devin/skills/glab-duo/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о glab-duo
Как установить glab-duo в Claude Code?
Выполни npx skills add vince-winkintel/gitlab-cli-skills --skill glab-duo -a claude-code. Файл скилла будет доступен по пути ~/.claude/skills/glab-duo/SKILL.md.
Что делает glab-duo?
Скилл помогает устанавливать, обновлять и запускать GitLab Duo CLI через glab, включая интерактивный запуск и выполнение ограниченной задачи через --goal.
Что нужно для работы glab-duo?
Нужны glab и авторизация через glab auth login. Для GA требуются GitLab 19.2 или новее и требования GitLab Duo Agent Platform; Self-Managed и Dedicated должны разрешать доступ Duo CLI. Для GitLab 18.11–19.1 нужны включённые beta- и experimental-функции.
Исходный текст
SKILL.md · MIT
--- name: glab-duo description: Install and run GitLab Duo CLI through glab in interactive or headless mode. Use when accessing GitLab Duo Agent Platform from the terminal, running a bounded headless goal, or managing the wrapped Duo CLI binary. Triggers on Duo, GitLab Duo CLI, glab duo cli, AI assistant, headless goal, autonomous coding. --- # glab duo ## Overview `glab duo` is centered on the GitLab Duo Agent Platform. The current visible command surface exposes `glab duo cli`; the legacy `glab duo ask` command is hidden and deprecated. ## Quick start ```bash glab duo --help ``` ## Command surface guidance Upstream `glab` now hides and deprecates `glab duo ask`. Treat `glab duo ask` as legacy guidance only for older installed versions that still expose it in live help. For current forward-looking documentation, prefer: ```bash glab duo cli ``` Use `glab duo cli` for the forward-looking GitLab Duo Agent Platform experience. `glab` handles authentication for the Duo CLI after you authenticate once with `glab auth login`. Prerequisites for the GA path are GitLab 19.2 or later and the GitLab Duo Agent Platform prerequisites. GitLab Self-Managed and Dedicated instances must also allow Duo CLI access. GitLab 18.11 through 19.1 require beta and experimental features to be enabled. ### Installing GitLab Duo CLI `glab duo cli` supports install, update, and non-interactive confirmation flags. Prefer the explicit `update` subcommand; `--update` remains equivalent: ```bash # Install GitLab Duo CLI interactively glab duo cli --install # Install GitLab Duo CLI non-interactively (auto-confirm) glab duo cli --install --yes # Check for and install a compatible Duo CLI update glab duo cli update # Legacy-equivalent flag form glab duo cli --update ``` Use `--install` to download and install the GitLab Duo CLI binaries. Use `--yes` to skip confirmation prompts during installation, which is useful for automation and CI/CD pipelines. The managed updater accepts Duo CLI through major 10; a later major requires a compatible glab update. This compatibility ceiling is not a claim about which Duo binary is installed. The update command does not replace a custom binary configured through `GLAB_DUO_CLI_BINARY_PATH` or `duo_cli_binary_path`. Obtain approval for downloading/installing/updating executable code, changing persistent auto-download/auto-run settings, and running the agent with repository and credential access. `--yes` bypasses wrapper prompts; it does not supply that approval. Wrapper `--help` is sufficient for discovery and does not require a managed download. ### Interactive and headless modes ```bash # Interactive, multi-prompt session with build and plan modes glab duo cli # One bounded prompt for a runner, script, or automated workflow glab duo cli run --goal "Fix the failing tests in this project" # Wrapper help versus the installed Duo CLI's own command surface glab duo cli --help glab duo cli help ``` Use headless `run --goal` only with a bounded task, an isolated working tree, explicit stop conditions, and an independent review of the resulting changes. `glab` passes unknown arguments and flags through to the Duo CLI binary, so verify the installed Duo CLI's own `help` before relying on forwarded options. To persist wrapper prompt behavior, set `duo_cli_auto_download` and `duo_cli_auto_run` with `glab config set ... --global`. `--yes` skips confirmation prompts for the current invocation. ### Important documentation note Guidance that recommends `glab duo update` is stale; the current wrapper form is `glab duo cli update`, with `glab duo cli --update` retained as an equivalent flag form. Rely on live help before using any Duo subcommand that is not documented here. When local CLI help and external documentation diverge during a transition, document the current upstream direction clearly and note compatibility caveats only when they materially affect usage. ## Subcommands See [references/commands.md](references/commands.md) for full `--help` output.
© vince-winkintel · MIT · vince-winkintel/gitlab-cli-skills