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
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a claude-codeWhat 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.pubto 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-code2Manually: put the files in place
~/.claude/skills/glab-deploy-key/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/glab-deploy-key/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a codex2Manually: put the files in place
.agents/skills/glab-deploy-key/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a cursor2Manually: put the files in place
.cursor/skills/glab-deploy-key/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vince-winkintel/gitlab-cli-skills glab-deploy-key2Manually: put the files in place
.github/skills/glab-deploy-key/SKILL.md1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a gemini-cli2Platform CLI
gemini skills install https://github.com/vince-winkintel/gitlab-cli-skills --path glab-deploy-keyManually: put the files in place
.devin/skills/glab-deploy-key/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-deploy-key -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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