cancel-pipeline

Cancels Tekton PipelineRuns and GitLab CI pipelines by specified identifiers and namespaces.

2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/dmzoneill/skills --skill cancel-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cancel-pipeline
Source: https://github.com/dmzoneill/skills/tree/main/cancel-pipeline
Command: npx skills add https://github.com/dmzoneill/skills --skill cancel-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows users to efficiently cancel running or stuck Tekton pipelines and optionally GitLab CI pipelines, freeing up cluster resources and enabling retries with corrected parameters.

Core Features & Use Cases

  • Tekton Pipeline Cancellation: Cancel specific or all running Tekton PipelineRuns within a namespace.
  • GitLab CI Pipeline Cancellation: Cancel GitLab CI pipelines using a project and pipeline ID.
  • Resource Management: Helps in freeing up cluster resources by terminating unnecessary pipelines.
  • Retry Mechanism: Facilitates retrying pipelines with different parameters after cancellation.

Quick Start

Cancel the running Tekton pipeline named 'my-pipeline-run-12345' in the 'aap-aa-tenant' namespace.

Frequently Asked Questions about cancel-pipeline

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

FAQPage Schema
How do I cancel a stuck Tekton PipelineRun in a specific namespace?

To cancel a Tekton PipelineRun, specify the run name and namespace; the Skill cancels the targeted pipeline and optionally deletes it afterward to free up cluster resources.

Can I cancel a GitLab CI pipeline using a project and pipeline ID?

Yes, you can cancel GitLab CI pipelines by providing the specific project and pipeline ID, which terminates the running pipeline and allows retries with corrected parameters.

What is the best way to stop all running Tekton pipelines at once?

The Skill cancels all running Tekton PipelineRuns within a specified namespace, freeing up cluster resources and clearing stuck processes for parameter corrections.

Does canceling a Tekton pipeline handle connection or authorization issues?

Yes, the Skill includes error recovery for common connection and authorization issues, logging cancellation events to ensure pipeline termination succeeds.

Why cancel a running pipeline instead of waiting for it to finish?

Canceling stuck or incorrect pipelines frees up cluster resources immediately and enables quick retries with corrected parameters without waiting for a failed run.