Glab
Skill by bezkom
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bezkom/glabWhat 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:
- CI/CD Monitoring: Automatically polling pipeline statuses and reporting failures to the agent.
- Code Review Workflow: Quickly listing active merge requests assigned to you or specific teams and providing summaries.
- Issue Management: Creating, updating, or filtering GitLab issues based on project labels and milestones.
- API Automation: Executing custom API requests to perform bulk administrative actions across multiple projects.
Example Prompts
- "Check the status of the latest pipeline in the current project and notify me if any jobs failed."
- "List all merge requests currently assigned to me in the 'backend-api' project and provide a brief summary of the changes."
- "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 apicommand 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
jqfor parsing JSON responses. If you encounter errors during complex data retrieval, ensurejqis correctly installed in your PATH. - Rate Limiting: Be mindful of GitLab API rate limits if automating scripts that run at high frequencies. Use the
INTERVALenvironment variable to tune polling behavior.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bezkom-glab": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
elite-tools
Elite CLI tooling for efficient shell operations with optimized token usage. Use when executing shell commands, traversing directories, or manipulating files to minimize token consumption and prevent regex escaping errors. Covers fdfind, batcat, sd, sg/ast-grep, jc, gron, yq, difft, tealdeer, and html2text.
Astro
Skill by bezkom