circleci-workflow-cancel

Cancel a CircleCI workflow by its unique identifier via the CircleCI API.

15|8|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/AstorYH/PASB --skill circleci-workflow-cancel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: circleci-workflow-cancel
Source: https://github.com/AstorYH/PASB/tree/main/nanobot/skills/circleci-workflow-cancel
Command: npx skills add https://github.com/AstorYH/PASB --skill circleci-workflow-cancel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a way to immediately halt any running CircleCI workflow, preventing further execution of potentially erroneous or unnecessary builds.

Core Features & Use Cases

  • Workflow Interruption: Cancel a specific CircleCI workflow using its unique ID.
  • Error Control: Stop builds that are taking too long, have encountered errors, or are no longer needed.
  • Use Case: If a CircleCI workflow is stuck in a loop or a critical error is detected early, you can use this skill to cancel it before it consumes excessive resources or causes further issues.

Quick Start

Cancel the CircleCI workflow with the ID 'abcdef12-3456-7890-abcd-ef1234567890'.

Frequently Asked Questions about circleci-workflow-cancel

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

FAQPage Schema
How do I cancel a CircleCI workflow that is stuck or running unnecessarily?

To cancel a CircleCI workflow, you can use this Skill to terminate it instantly by providing its unique workflow ID. This halts further execution of erroneous or unnecessary builds and prevents wasted resources.

What is needed to stop a running build in CircleCI via API?

To stop a running build in CircleCI via API, you need the unique identifier of the target workflow. This Skill uses the workflow ID to interact with the CircleCI API to halt execution immediately.

Can I use this to halt a CircleCI pipeline before it consumes excessive resources?

Yes, you can use this Skill to halt a CircleCI pipeline before it consumes excessive resources. It cancels a specified workflow by its ID, preventing further execution of builds that are stuck or have encountered errors.

When should I cancel a CircleCI workflow instead of letting it finish?

You should cancel a CircleCI workflow when a critical error is detected early, the build is taking too long, or it is no longer needed. This stops the execution loop immediately and prevents further issues.

Does cancelling a CircleCI workflow require any specific dependencies?

No specific dependencies are required to cancel a CircleCI workflow with this Skill. You only need to provide the valid workflow ID to interact with the CircleCI API for termination.

What happens to the CircleCI workflow after I submit the cancel request?

After you submit the cancel request, the CircleCI workflow is stopped instantly. The Skill sends the workflow ID to the CircleCI API to terminate the pipeline, preventing further execution of any remaining jobs.