mcpField
G
glab-cluster

glab-cluster

github.com/vince-winkintelCloud & DevOps4995 installsUpdated 1d ago
Repository

About glab-cluster

glab-cluster is a skill for managing GitLab Agents for Kubernetes and their clusters through the glab command line. It also covers experimental Kubernetes object-graph queries and structured JSON output for automation.

Key features

  1. 01Manage Kubernetes agents
  2. 02Manage agent tokens
  3. 03Query Kubernetes object graphs
  4. 04JSON output for automation

Use cases

  1. 01List cluster agents
  2. 02List agent tokens as JSON
  3. 03Query Kubernetes object relationships

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-cluster

After installing, type/glab-clusterin Claude Code to confirm it loaded.

Bundled filesreferences/commands.md

Details

From the project README

glab cluster

Overview


  Manage GitLab Agents for Kubernetes and their clusters.
  USAGE
    glab cluster <command> [command] [--flags]
  COMMANDS
    agent <command> [command] [--flags]  Manage GitLab Agents for Kubernetes.
    graph [--flags]                      Queries the Kubernetes object graph, using the GitLab Agent for Kubernetes. (EXPERIMENTAL)
  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

glab cluster --help

Structured output

glab cluster agent list and glab cluster agent token list support --output json / -F json for structured output, which is useful for agent automation.

# List cluster agents with JSON output
glab cluster agent list --output json
glab cluster agent list -F json

# List agent tokens with JSON output
glab cluster agent token list <agent-id> --output json
glab cluster agent token list <agent-id> -F json

Subcommands

See references/commands.md for full --help output.

Comments

Markdown supported