pipelines

List, trigger, retry, cancel, and inspect GitLab pipelines via CLI.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill pipelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pipelines
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/gitlab/pipelines
Command: npx skills add https://github.com/theslashdojo/dojo --skill pipelines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill gives agents and engineers the ability to list, inspect, trigger, retry, cancel, and read variables for GitLab pipelines so CI/CD execution can be automated and pipeline failures can be diagnosed quickly.

Core Features & Use Cases

  • List and Inspect: Query recent pipelines by project, ref, status, scope, and source to identify failures or confirm runs.
  • Trigger with Variables and Typed Inputs: Create branch or tag pipelines while supplying ad hoc variables or structured inputs for runtime configuration.
  • Recover or Stop Runs: Retry failed or canceled jobs and cancel running pipelines while validating returned status to avoid false assumptions.
  • Use Case: Automate a deployment pipeline trigger for staging, inspect the run to confirm environment variables, and retry flaky jobs without manual CLI interaction.

Quick Start

Trigger a pipeline for group/project on branch main with DEPLOY_ENV=staging using the included manage-pipelines script and an appropriate GitLab token in the environment.

Frequently Asked Questions about pipelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trigger a GitLab pipeline with custom variables for a specific branch?

Trigger GitLab pipelines by providing the project path, branch ref, and custom runtime variables. The Skill creates branch or tag pipelines using the GitLab API and validates the returned status.

What's the best way to retry failed jobs or cancel a running GitLab CI pipeline?

Retry failed GitLab CI jobs or cancel running pipelines by targeting the specific pipeline ID. The Skill retries failed or canceled jobs and stops active pipeline runs while validating returned statuses.

Do I need a specific token or environment setup to manage GitLab pipelines programmatically?

Managing GitLab pipelines requires an authenticated token (GITLAB_TOKEN, OAUTH_TOKEN, or CI_JOB_TOKEN) and Python 3.10+. You must also provide a project path or ID to run the included CLI script.

How do I list and inspect recent GitLab pipelines by status or source?

List and inspect recent GitLab pipelines by querying project, ref, status, scope, and source parameters. This identifies pipeline failures or confirms successful runs across branch, tag, and merge-request pipelines.

Can I read CI/CD variables from a GitLab pipeline to troubleshoot deployment failures?

You can read variables from GitLab pipelines to diagnose CI/CD execution issues and troubleshoot deployment failures. The Skill inspects runtime variables for targeted debugging without manual CLI interaction.