Install
$ agentstack add skill-harness-harness-skills-migrate-pipeline ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →About
Migrate Pipeline
Convert Harness pipelines from v0 to v1 simplified format via MCP.
Instructions
Step 1: Fetch Current v0 Pipeline
Call MCP tool: harness_get
Parameters:
resource_type: "pipeline"
resource_id: ""
org_id: ""
project_id: ""
Step 2: Convert v0 to v1
Apply these transformations:
Expression Mapping
| v0 Expression | v1 Expression | |--------------|---------------| | ` | ${{ pipeline.variables.x }} | | | ${{ stage.variables.x }} | | | ${{ steps.id.output.x }} | | | ${{ trigger.branch }} | | | ${{ secrets.x }} | | | ${{ pipeline.sequenceId }} | | | ${{ input }}` |
Structure Changes
v0 CI Stage:
stages:
- stage:
identifier: build
type: CI
spec:
cloneCodebase: true
platform:
os: Linux
arch: Amd64
runtime:
type: Cloud
spec: {}
execution:
steps:
- step:
identifier: run
type: Run
spec:
shell: Bash
command: npm test
v1 Equivalent:
stages:
- name: build
type: ci
spec:
steps:
- name: run
type: run
spec:
shell: bash
run: npm test
Key v1 differences:
- Stage/step types are lowercase:
ci,run,deployment commandbecomesrunin Run stepsexecution.stepssimplifies tospec.steps- Platform/runtime is simplified or implicit
identifierbecomesname(orid)
Step 3: Show Converted Pipeline
Present both v0 and v1 side-by-side for review.
Step 4: Update in Harness (Optional)
Call MCP tool: harness_update
Parameters:
resource_type: "pipeline"
resource_id: ""
org_id: ""
project_id: ""
body:
Migration Checklist
- [ ] Expressions converted from `
to${{ ... }}` - [ ] Stage types lowercased
- [ ] Step types mapped correctly
- [ ] Platform/runtime configuration simplified
- [ ] Variables and inputs preserved
- [ ] Failure strategies maintained
- [ ] Notification rules preserved
- [ ] Conditional execution logic preserved
Examples
- "Migrate the build-and-deploy pipeline to v1" - Fetch, convert, show diff
- "Show me what ci-pipeline would look like in v1" - Fetch, convert, display only
- "Convert all pipelines in the project" - List all, convert each
Performance Notes
- Read the complete v0 pipeline before starting migration. Missing stages or steps will produce an incomplete v1 pipeline.
- Verify all expressions are converted from `
to${{ }}` format. - Compare the v0 and v1 outputs to confirm no functionality was lost in translation.
Troubleshooting
Unsupported v0 Features
- Some v0-specific step types may not have v1 equivalents yet
- Complex failure strategies may need manual adjustment
- Custom stage types require careful mapping
Validation Errors After Migration
- Re-validate expression syntax
- Check all resource references still resolve
- Verify variable types are compatible
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.
Write a review
Versions
- v0.1.0 Imported from the upstream source.