Skip to main content
skill CX Codex

glab-deploy-key — Claude Code skill for GitLab deploy keys

The glab-deploy-key Claude Code skill manages SSH deploy keys for GitLab projects. It activates for CI/CD access setup and project key operations.

MIT 116 installs ★ 51 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a claude-code
Open on GitHub

What glab-deploy-key does

The skill uses glab deploy-key to add, list, retrieve, and delete SSH deploy keys in GitLab projects. To target another repository, pass -R with an OWNER/REPO or GROUP/NAMESPACE/REPO value, a full URL, or a Git URL.

The list and get commands can return JSON with --output json or -F json. The glab program is required; these skill commands depend on it.

What it helps with

  • add a deploy key to a GitLab project
  • list project deploy keys
  • retrieve details for a key by ID
  • remove a deploy key by ID

Example prompts for the agent

  • Add the key from deploy_key.pub to the current GitLab project.
  • Show the project's deploy keys as JSON.
  • Remove the deploy key with ID <key-id>.

How to install glab-deploy-key

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/glab-deploy-key/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/glab-deploy-key/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about glab-deploy-key

How do I install glab-deploy-key in Claude Code?

Run npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a claude-code. The skill file is at ~/.claude/skills/glab-deploy-key/SKILL.md.

What does glab-deploy-key do?

It manages GitLab project SSH deploy keys: adding and deleting keys, listing them, and retrieving one key's details. The list and get commands support JSON output.

What does glab-deploy-key need to run?

It requires the glab program to run deploy-key commands for GitLab projects.

Source text

SKILL.md · MIT
---
name: glab-deploy-key
description: Manage SSH deploy keys for GitLab projects including add, list, and delete operations. Use when setting up deploy keys for CI/CD, managing read-only access, or configuring deployment authentication. Triggers on deploy key, SSH key, deployment key, read-only access.
---

# glab deploy-key

## Overview

```

  Manage deploy keys.
  USAGE
    glab deploy-key <command> [command] [--flags]
  COMMANDS
    add [key-file] [--flags]  Add a deploy key to a GitLab project.
    delete <key-id>           Deletes a single deploy key specified by the ID.
    get <key-id>              Returns a single deploy key specified by the ID.
    list [--flags]            Get a list of deploy keys for the current 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 deploy-key --help
```

## Structured output

`glab deploy-key list` and `glab deploy-key get` support `--output json` / `-F json` for structured output, which is useful for agent automation.

```bash
# List deploy keys with JSON output
glab deploy-key list --output json
glab deploy-key list -F json

# Get a specific deploy key with JSON output
glab deploy-key get <key-id> --output json
glab deploy-key get <key-id> -F json
```

## Subcommands

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

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

Similar skills

All skills for DevOps and infrastructure →

From the same set45

The whole set →
glab-incident The glab-incident Claude Code skill manages GitLab incidents through glab. It activates for requests to create incidents, handle incident response, or connect incidents with issues. CX Codex +1 117installs glab-completion This Claude Code skill generates glab completion scripts for bash, zsh, fish, and PowerShell. It activates when configuring shell command suggestions. CX Codex +1 117installs glab-orbit The glab-orbit Claude Code skill runs Orbit CLI through glab. It activates for remote GitLab graph queries and searches across a local code graph. CX Codex +1 117installs glab-duo The glab-duo Claude Code skill installs and runs GitLab Duo CLI through glab. It activates for terminal access to GitLab Duo Agent Platform, interactive sessions, or a bounded headless task. CX Codex +1 116installs glab-ssh-key The glab-ssh-key Claude Code skill manages SSH keys on a GitLab account. It runs for SSH setup and requests to add, inspect, or remove keys. CX Codex +1 115installs glab-snippet The glab-snippet Claude Code skill creates GitLab snippets from files or stdin text. It activates when a request is to share code or text as a new snippet. CX Codex +1 115installs glab-todo The glab-todo Claude Code skill manages GitLab to-dos through the CLI. It lists assigned or mentioned work and marks selected items as done. CX Codex +1 115installs glab-milestone The glab-milestone Claude Code skill manages GitLab milestones, from creating and editing them to listing, viewing, and deleting them. It activates for release planning and milestone progress tasks. CX Codex +1 114installs

Project sponsors

Companies that keep this analytics open