ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

Glab

Skill by bezkom

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bezkom/glab
Or

What This Skill Does

The Glab skill integrates the official GitLab CLI (glab) into the OpenClaw environment, enabling seamless management of GitLab resources directly from your terminal or AI agent. It allows users to interact with GitLab repositories, issues, merge requests, and CI/CD pipelines without leaving the command line. By leveraging the power of glab combined with jq for data processing, the agent can perform complex automation tasks like fetching pipeline statuses, summarizing open merge requests, or triggering new builds based on project requirements. This skill is essential for developers working within the GitLab ecosystem who wish to offload repetitive DevOps tasks to an automated agent.

Installation

To get started, ensure you have Homebrew or an apt-compatible package manager installed. Use the following command in your terminal: clawhub install openclaw/skills/skills/bezkom/glab. After installation, you must configure the necessary environment variables. Set GITLAB_TOKEN to your personal access token (use minimal scopes like read_api whenever possible). If you are using a self-hosted instance, set GITLAB_HOST to your specific URL. Verify the installation by running glab --version and jq --version to ensure all dependencies are accessible.

Use Cases

This skill is highly effective for:

  1. CI/CD Monitoring: Automatically polling pipeline statuses and reporting failures to the agent.
  2. Code Review Workflow: Quickly listing active merge requests assigned to you or specific teams and providing summaries.
  3. Issue Management: Creating, updating, or filtering GitLab issues based on project labels and milestones.
  4. API Automation: Executing custom API requests to perform bulk administrative actions across multiple projects.

Example Prompts

  1. "Check the status of the latest pipeline in the current project and notify me if any jobs failed."
  2. "List all merge requests currently assigned to me in the 'backend-api' project and provide a brief summary of the changes."
  3. "Create a new issue in the current repository titled 'Refactor Auth Module' with a description outlining the need for better token validation."

Tips & Limitations

  • Security: The glab api command is powerful; always use the least privilege principle when generating your GitLab token. Avoid using 'sudo' or 'admin' scoped tokens unless absolutely necessary.
  • Dependencies: The skill relies on jq for parsing JSON responses. If you encounter errors during complex data retrieval, ensure jq is correctly installed in your PATH.
  • Rate Limiting: Be mindful of GitLab API rate limits if automating scripts that run at high frequencies. Use the INTERVAL environment variable to tune polling behavior.

Metadata

Author@bezkom
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bezkom-glab": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#gitlab#devops#automation#cli#git
Safety Score: 3/5

Flags: network-access, external-api, code-execution