From odh-ai-helpers
Debugs GitLab CI/CD pipelines by checking pipeline status, viewing job logs, and analyzing failures. Use when users need to investigate CI issues on merge requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/odh-ai-helpers:gitlab-pipeline-debuggerThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill enables Claude to investigate GitLab CI pipeline failures by:
This skill enables Claude to investigate GitLab CI pipeline failures by:
glab CLI installed and authenticated (glab auth status to verify)If glab is not installed or authenticated, provide instructions for setting it up:
glab auth loginWhen the user asks to check CI status, debug pipeline failures, or view job logs, use the glab CLI commands below.
All commands auto-detect the GitLab project from the git remote in the current working directory.
To target a different project, add -R <owner/group/project> to any command.
When the user provides a full GitLab URL, parse it to extract the project path and the pipeline or job ID,
then use -R to target that project. Always use the project from the URL, ignoring the local git remote.
Before constructing any command from a URL, validate the extracted values:
Project paths must only contain letters, digits, hyphens, underscores, dots, and forward slashes.
Pipeline and job IDs must be purely numeric.
Job names must only contain letters, digits, hyphens, underscores, dots, colons, slashes, and spaces. If any value fails validation, reject it and ask the user to provide a corrected URL or ID.
Pipeline URL format: https://gitlab.com/<group>/<project>/-/pipelines/<pipeline-id>
-R <group>/<project> and -p <pipeline-id>https://gitlab.com/my-org/my-project/-/pipelines/123456
becomes glab ci get -p 123456 -d -R my-org/my-projectJob URL format: https://gitlab.com/<group>/<project>/-/jobs/<job-id>
-R <group>/<project> and <job-id>https://gitlab.com/my-org/my-project/-/jobs/789012
becomes glab ci trace 789012 -R my-org/my-projectCheck Current Pipeline Status
glab ci get -d to get the latest pipeline for the current branch with job detailsCheck Specific Branch
-b flag to check the pipeline for a different branch:
glab ci get -b <branch-name> -dCheck Specific Pipeline by ID
-p flag to inspect a pipeline directly by its ID:
glab ci get -p <pipeline-id> -dView Job Logs
glab ci trace <job-id>glab ci trace <job-name> -p <pipeline-id>glab ci trace <job-name>glab ci trace <job-name> -b <branch-name>Find Merge Request for a Branch
glab mr list -s <branch-name>Troubleshoot CI Failures
# Check CI pipeline status for the current branch
glab ci get -d
# Debug a failed pipeline by viewing the failed job's logs
glab ci trace 789012 -R my-org/my-project
glab is not found, instruct the user to install itglab auth status reports unauthenticated, instruct the user to run glab auth login-R <owner/group/project> or running from within
the correct git repositorynpx claudepluginhub opendatahub-io/ai-helpersManages GitLab CI/CD pipelines and jobs using glab ci: lists pipelines, validates .gitlab-ci.yml, views status, traces/retires jobs. Useful for debugging failures and config validation.
Interact with GitLab using the `glab` CLI. Use when Claude needs to work with GitLab merge requests, CI/CD pipelines, issues, releases, or make API requests. Supports gitlab.com and self-hosted instances.
Manages GitLab issues, merge requests, repositories, CI pipelines, and code search via the glab CLI. Activates when GitLab is mentioned or when working with MR/issue numbers.