gitlab-pipelines

List and trigger GitLab pipelines via the REST API.

11|1|Updated Oct 31, 2022
One-click install
npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-pipelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-pipelines
Source: https://github.com/Knuckles-Team/gitlab-api/tree/main/gitlab_api/skills/gitlab-pipelines
Command: npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-pipelines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the management of GitLab pipelines, including listing and triggering pipelines, reducing manual steps in CI/CD workflows.

Core Features & Use Cases

  • List Pipelines: Retrieve pipelines for a GitLab project with optional filters like scope, status, or ref.
  • Trigger Pipelines: Run a pipeline for a project with a specific ref and variables.
  • Usage Scenarios: Automate CI workflows across multiple projects, monitor pipeline statuses for dashboards, or integrate with MCP-enabled agents.

Quick Start

Use the gitlab-pipelines skill to list pipelines for project_id="123" or trigger a pipeline on ref "main" with variables.

Frequently Asked Questions about gitlab-pipelines

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

FAQPage Schema
How do I automate triggering GitLab pipelines via API?

To automate triggering GitLab pipelines via API, you can run a pipeline for a specific project by specifying a ref and passing optional variables. This streamlines CI/CD workflows by reducing manual steps.

Can I list GitLab pipelines filtered by status and ref?

Yes, you can list GitLab pipelines filtered by status and ref. The skill retrieves pipelines for a specific project using filters like scope, status, ref, and source to monitor CI/CD runs.

What is needed to manage GitLab CI/CD workflows programmatically?

To manage GitLab CI/CD workflows programmatically, you need access to the GitLab REST API. This allows you to perform project-scoped operations like listing and triggering pipelines across multiple projects.

How do I pass variables when triggering a GitLab pipeline?

You pass variables when triggering a GitLab pipeline by including them as optional parameters during the run command. This allows you to customize the CI/CD workflow execution for a specific project ref.

Does this approach support pipeline management across multiple GitLab projects?

Yes, this approach supports pipeline management across multiple GitLab projects. It applies to software development teams needing consistent pipeline control, using project-scoped operations via the GitLab REST API.