Skip to main content

In this article

gitlab

gitlab
FieldValue
Kindskill
Source.github/skills/project-planning/gitlab
InvocationInvoked directly as /gitlab, or loaded on demand by referencing agents
InteractiveNo

What it does

Manage GitLab merge requests and pipelines with a Python CLI

When to use it

Use this skill for GitLab merge-request, note, pipeline, and job-trace workflows. OAuth is the default and supports public-client PKCE or human-assisted device authorization. Use explicit legacy-token mode only when OAuth is unavailable.

Do not describe device authorization as unattended workload identity. A user must approve the request on a browser-capable device.

Example usage

Register a non-confidential OAuth application, set its application ID, then log in and list merge requests:

export GITLAB_URL="https://gitlab.com"
export GITLAB_OAUTH_CLIENT_ID="your-application-id"
python scripts/gitlab.py auth login
python scripts/gitlab.py mr-list opened --fields iid,title,author.name