AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Run Pipeline

skill-harness-harness-skills-run-pipeline · by harness

>-

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-harness-harness-skills-run-pipeline

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-harness-harness-skills-run-pipeline)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Run Pipeline? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Run Pipeline

Execute and monitor Harness pipeline runs via MCP.

Instructions

Step 1: Find the Pipeline

Call MCP tool: harness_search
Parameters:
  query: ""
  resource_types: ["pipeline"]
  compact: true

Or list all pipelines in a project:

Call MCP tool: harness_list
Parameters:
  resource_type: "pipeline"
  org_id: ""
  project_id: ""
  search_term: ""

Step 2: Get Pipeline Details

Call MCP tool: harness_get
Parameters:
  resource_type: "pipeline"
  resource_id: ""
  org_id: ""
  project_id: ""

Extract from response:

  • Required runtime inputs (`` fields)
  • Pipeline variables with types and defaults
  • Stage structure and deployment targets

Step 3: Check Available Input Sets

Call MCP tool: harness_list
Parameters:
  resource_type: "input_set"
  org_id: ""
  project_id: ""

Input sets provide pre-configured values that can be used or overridden.

Step 4: Execute the Pipeline

Call MCP tool: harness_execute
Parameters:
  resource_type: "pipeline"
  action: "run"
  resource_id: ""
  org_id: ""
  project_id: ""

Step 5: Monitor Execution

Call MCP tool: harness_get
Parameters:
  resource_type: "execution"
  resource_id: ""
  org_id: ""
  project_id: ""

Execution statuses: Running, Success, Failed, Aborted, Waiting (approval/input), Expired

Step 6: Handle Approvals

If execution is waiting for approval:

Call MCP tool: harness_list
Parameters:
  resource_type: "approval_instance"
  org_id: ""
  project_id: ""

Then approve or reject:

Call MCP tool: harness_execute
Parameters:
  resource_type: "approval_instance"
  action: "approve"  # or "reject"
  resource_id: ""

Safety: Production Deployments

CRITICAL: Before executing pipelines targeting production:

  1. Confirm intent with the user explicitly
  2. Show what will be deployed (version, service, environment)
  3. Check if pipeline has approval gates
  4. Verify the version was tested in lower environments

Response Format

Before Execution

Pipeline: 
Project: 
Required Inputs: 
Available Input Sets: 
Ready to execute? Confirm to proceed.

After Trigger

Pipeline: 
Execution ID: 
Status: Running
View in Harness: 

Execution Complete

Pipeline: 
Status: Success/Failed
Duration: 
Stages: 

Retrying Failed Executions

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: ""
  execution_id: ""
  org_id: ""
  project_id: ""

Interrupting Running Executions

To abort an entire pipeline execution:

Call MCP tool: harness_execute
Parameters:
  resource_type: "execution"
  action: "interrupt"
  resource_id: ""
  org_id: ""
  project_id: ""
  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.

Examples

  • "Run the ci-pipeline" - Search for pipeline, execute with defaults
  • "Deploy version 2.0.0 to staging" - Find deploy pipeline, provide version input, execute
  • "What's the status of execution xyz123?" - Get execution details
  • "Retry the last failed deployment" - List recent failed executions, retry
  • "Abort all stuck executions" - List running/waiting executions, interrupt each with params: {interrupt_type: "AbortAll"}
  • "Stop execution abc123" - Interrupt the specific execution with params: {interrupt_type: "AbortAll"}

Performance Notes

  • Always confirm the pipeline identifier and required inputs before triggering execution. A failed execution due to missing inputs wastes time.
  • When monitoring executions, wait for terminal status (Success, Failed, Aborted) before reporting results. Do not assume intermediate states are final.
  • If an execution fails, gather full error context from logs before suggesting fixes. Do not guess at root causes.

Troubleshooting

Pipeline Won't Start

  • Check delegate availability with harness_status
  • Validate all required inputs have values
  • Test connector credentials with harness_execute (resourcetype: "connector", action: "testconnection")

Missing Inputs

  • Use harness_get on the pipeline to see all `` fields
  • Check input sets for pre-configured values

Execution Stuck

  • Check for pending approvals with harness_list (resourcetype: "approvalinstance")
  • Check delegate status with harness_status
  • Abort stuck executions with harness_execute (resourcetype: "execution", action: "interrupt", params: {interrupttype: "AbortAll"})

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: harness
  • Source: harness/harness-skills
  • License: Apache-2.0
  • Homepage: https://developer.harness.io/docs/platform/harness-ai/harness-skills/

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.