# Glab Duo

> Interact with GitLab Duo AI assistant for code suggestions and chat. Use when accessing AI-powered code assistance, getting code suggestions, or chatting with GitLab Duo. Triggers on Duo, AI assistant, code suggestions, AI chat. Use when this capability is needed.

- Skill: `tomevault-io/glab-duo` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/glab-duo`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/glab-duo/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/glab-duo

---


# glab duo

## Overview

```

  Work with GitLab Duo, our AI-native assistant for the command line.

  The GitLab Duo CLI integrates AI capabilities directly into your terminal
  workflow. It helps you retrieve forgotten Git commands and offers guidance on
  Git operations. You can accomplish specific tasks without switching contexts.

  To interact with the GitLab Duo Agent Platform, use the
  [GitLab Duo CLI](https://docs.gitlab.com/user/gitlab_duo_cli/).

  A unified experience is proposed in
  [epic 20826](https://gitlab.com/groups/gitlab-org/-/work_items/20826).

  USAGE

    glab duo <command> prompt [command] [--flags]

  COMMANDS

    ask <prompt> [--flags]  Generate Git commands from natural language.
    cli [command]           Run the GitLab Duo CLI (EXPERIMENTAL)

  FLAGS

    -h --help               Show help for this command.
```

## Quick start

```bash
glab duo --help
```

## v1.91.0 Changes

### Current command surface

In the current CLI surface, `glab duo` exposes:

```bash
glab duo ask "how do I revert the last commit but keep the changes?"
glab duo cli
```

Use `glab duo ask` for natural-language command help.

Use `glab duo cli` when you specifically want the experimental GitLab Duo CLI surface that `glab` now exposes.

### Important documentation note

Older guidance that recommended `glab duo update` is stale for the current CLI surface and should not be used unless a future `glab` release reintroduces that command in live help.

When release notes and older repo docs diverge, prefer the current live `glab duo --help` surface over memory of prior releases.

## Subcommands

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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/vince-winkintel) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-15 -->

