AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Gitlab Pipeline Debugger

skill-opendatahub-io-ai-helpers-gitlab-pipeline-debugger · by opendatahub-io

Debug and monitor GitLab CI/CD pipelines for merge requests. Check pipeline status, view job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitLab CI pipeline issues, check job statuses, or view specific job logs.

No reviews yet
0 installs
45 views
0.0% view→install

Install

$ agentstack add skill-opendatahub-io-ai-helpers-gitlab-pipeline-debugger

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-opendatahub-io-ai-helpers-gitlab-pipeline-debugger)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Gitlab Pipeline Debugger? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

GitLab CI Debugger

This skill enables Claude to investigate GitLab CI pipeline failures by:

  1. Checking the current pipeline status for a branch or a specific pipeline ID
  2. Identifying failed jobs
  3. Retrieving failed job logs
  4. Analyzing error messages and suggesting fixes

Prerequisites

  • glab CLI installed and authenticated (glab auth status to verify)
  • Git repository with GitLab remote configured (for automatic repo detection)

If glab is not installed or authenticated, provide instructions for setting it up:

  • Install: https://gitlab.com/gitlab-org/cli#installation
  • Authenticate: glab auth login

Instructions

When 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 to any command.

Handling GitLab URLs

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///-/pipelines/
  • Extract: -R / and -p
  • Example: https://gitlab.com/my-org/my-project/-/pipelines/123456

becomes glab ci get -p 123456 -d -R my-org/my-project

  • Job URL format: https://gitlab.com///-/jobs/
  • Extract: -R / and ``
  • Example: https://gitlab.com/my-org/my-project/-/jobs/789012

becomes glab ci trace 789012 -R my-org/my-project

Commands

  1. Check Current Pipeline Status
  • Run glab ci get -d to get the latest pipeline for the current branch with job details
  • This shows the pipeline metadata (ID, status, ref, user) and a table of all jobs with their status,

duration, and failure reason

  1. Check Specific Branch
  • Use the -b flag to check the pipeline for a different branch:

glab ci get -b -d

  1. Check Specific Pipeline by ID
  • Use the -p flag to inspect a pipeline directly by its ID:

glab ci get -p -d

  1. View Job Logs
  • To retrieve logs for a specific job by its numeric ID:

glab ci trace

  • To retrieve logs for a job by name within a specific pipeline:

glab ci trace -p

  • To retrieve logs for a job by name on the current branch:

glab ci trace

  • To retrieve logs for a job by name on a specific branch:

glab ci trace -b

  1. Find Merge Request for a Branch
  • If the user wants MR context (title, URL, reviewers):

glab mr list -s

  1. Troubleshoot CI Failures
  • First, get the pipeline status to identify failed jobs (steps 1-3 above)
  • Then, retrieve the full log of the failed job (step 4)
  • Analyze the log output to identify the error and suggest fixes

Examples

# 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

Error Handling

  • If glab is not found, instruct the user to install it
  • If glab auth status reports unauthenticated, instruct the user to run glab auth login
  • If a pipeline or job is not found, show the error and suggest checking the ID or branch name
  • If the repo cannot be detected, suggest using -R or running from within

the correct git repository

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.