Execute and monitor Harness pipeline runs via MCP tools. Find pipelines, provide runtime inputs, trigger executions, monitor progress, handle approvals, retry failures, and abort running or stuck executions. Use when asked to run a pipeline, execute a deployment, trigger a build, start a pipeline, deploy a service, check execution status, approve a pipeline, or abort/stop/interrupt executions. Trigger phrases: run pipeline, execute pipeline, deploy, start build, trigger pipeline, check execution, approve deployment, retry failed pipeline, abort execution, stop pipeline, interrupt execution, kill stuck pipeline.
72
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Execute and monitor Harness pipeline runs via MCP.
Call MCP tool: harness_search
Parameters:
query: "<user's pipeline name or keyword>"
resource_types: ["pipeline"]
compact: trueOr list all pipelines in a project:
Call MCP tool: harness_list
Parameters:
resource_type: "pipeline"
org_id: "<organization>"
project_id: "<project>"
search_term: "<optional filter>"Call MCP tool: harness_get
Parameters:
resource_type: "pipeline"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"Extract from response:
<+input> fields)Call MCP tool: harness_list
Parameters:
resource_type: "input_set"
org_id: "<organization>"
project_id: "<project>"Input sets provide pre-configured values that can be used or overridden.
Call MCP tool: harness_execute
Parameters:
resource_type: "pipeline"
action: "run"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "execution"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Execution statuses: Running, Success, Failed, Aborted, Waiting (approval/input), Expired
If execution is waiting for approval:
Call MCP tool: harness_list
Parameters:
resource_type: "approval_instance"
org_id: "<organization>"
project_id: "<project>"Then approve or reject:
Call MCP tool: harness_execute
Parameters:
resource_type: "approval_instance"
action: "approve" # or "reject"
resource_id: "<approval_id>"CRITICAL: Before executing pipelines targeting production:
Pipeline: <name>
Project: <project>
Required Inputs: <list variables needing values>
Available Input Sets: <list>
Ready to execute? Confirm to proceed.Pipeline: <name>
Execution ID: <id>
Status: Running
View in Harness: <openInHarness link>Pipeline: <name>
Status: Success/Failed
Duration: <time>
Stages: <stage results table>Retry is an action on pipeline (not execution). Pass the pipeline ID as resource_id and the failed execution's ID as execution_id:
Call MCP tool: harness_execute
Parameters:
resource_type: "pipeline"
action: "retry"
resource_id: "<pipeline_id>"
execution_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"To abort an entire pipeline execution:
Call MCP tool: harness_execute
Parameters:
resource_type: "execution"
action: "interrupt"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"
params:
interrupt_type: "AbortAll"The interrupt_type field inside params is required. Valid values:
| interrupt_type | Effect |
|---|---|
AbortAll | Abort the entire pipeline execution |
UserMarkedFailure | Mark the execution as failed by user |
To abort multiple stuck executions, call harness_execute with params: {interrupt_type: "AbortAll"} for each execution ID.
params: {interrupt_type: "AbortAll"}params: {interrupt_type: "AbortAll"}harness_statusharness_execute (resource_type: "connector", action: "test_connection")harness_get on the pipeline to see all <+input> fieldsharness_list (resource_type: "approval_instance")harness_statusharness_execute (resource_type: "execution", action: "interrupt", params: {interrupt_type: "AbortAll"})harness/harness-ai
23e9b8b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.