gitlab-jobs

Manage GitLab CI jobs and logs via the GitLab API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the management of GitLab CI jobs and their logs, reducing manual effort and errors when controlling jobs across projects.

Core Features & Use Cases

  • List and inspect project or pipeline jobs with optional filters (scope, job_id, include_retried, include_invisible).
  • Retrieve logs for a specific job to diagnose failures or monitor progress.
  • Control job lifecycle across projects: cancel, retry, erase artifacts/logs, or run manual jobs.
  • Context-aware MCP integrations for progress reporting in agent-to-agent workflows.

Quick Start

Use the gitlab-jobs skill to list jobs for a project, e.g., get_project_jobs(project_id='123').

Frequently Asked Questions about gitlab-jobs

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

FAQPage Schema
How do I retrieve GitLab CI job logs for a specific pipeline?

You can retrieve GitLab CI job logs by listing jobs for a project with optional filters like scope and job_id, then fetching the log output for the specific job to diagnose failures or monitor build progress.

Can I cancel or retry GitLab CI jobs across multiple projects?

Yes, you can control the GitLab CI job lifecycle across projects by canceling running jobs, retrying failed ones, erasing artifacts and logs, or manually triggering jobs through the GitLab API.

What is needed to automate GitLab CI job management via API?

Automating GitLab CI job management requires appropriate GitLab API credentials. You pass parameters like project_id and job_id to execute actions, with an optional ctx parameter for MCP progress reporting in agent workflows.

Does GitLab CI job management work with agent-to-agent workflows?

GitLab CI job management supports agent-to-agent workflows through context-aware MCP integrations. It uses an optional ctx parameter for progress reporting when listing, canceling, or retrying jobs within automated pipelines.

How do I filter GitLab pipeline jobs to include retried or invisible jobs?

You can filter GitLab pipeline jobs using optional parameters including scope, job_id, include_retried, and include_invisible. This allows you to inspect specific job subsets when listing jobs across projects and pipelines.