Glab Duo logo

Glab Duo

Community
vince-winkintel
glab-duo

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.

Overview

Publishervince-winkintel
Repositorygitlab-cli-skills
Skill nameglab-duo
Stars
50
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by vince-winkintel on GitHub. Read the source before you install it.

Installation

Install the Glab Duo AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/vince-winkintel/gitlab-cli-skills/tree/main/glab-duo
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vince-winkintel/gitlab-cli-skills.git /tmp/gitlab-cli-skills
mkdir -p .claude/skills
cp -r /tmp/gitlab-cli-skills/glab-duo .claude/skills/glab-duo
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Glab Duo in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Glab Duo on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Glab Duo is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 for full --help output.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Glab Duo AI skill do?

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.

Why use Glab Duo on TypingMind?

Because you install it once and use it with any model. Glab Duo is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Glab Duo in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vince-winkintel/gitlab-cli-skills/tree/main/glab-duo. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Glab Duo?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Glab Duo?

As many as you like. As long as a model supports skills, you can use Glab Duo with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Glab Duo AI skill free?

Yes. It is published on GitHub by vince-winkintel under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇