create-policy

Create and verify OPA governance policies for Harness via MCP.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/thisrohangupta/cursor-harness-plugin --skill create-policy-thisrohangupta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-policy
Source: https://github.com/thisrohangupta/cursor-harness-plugin/tree/main/skills/create-policy
Command: npx skills add https://github.com/thisrohangupta/cursor-harness-plugin --skill create-policy-thisrohangupta

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires harness-mcp-v2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and verification of OPA governance policies for Harness, ensuring compliance and reducing manual errors in policy management.

Core Features & Use Cases

  • OPA Policy Creation: Automate the creation of OPA governance policies via MCP.
  • Compliance Checking: Verify compliance of Harness entities against OPA policies.
  • Use Case: If you need to ensure that all Harness pipelines follow security best practices and compliance rules, this Skill can automate the creation of OPA policies that enforce those rules and check for compliance.

Quick Start

To create an OPA policy for Harness, use the 'create-policy' skill and provide the necessary policy definition.

Frequently Asked Questions about create-policy

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

FAQPage Schema
How do I automate OPA policy creation for Harness pipelines?

This Skill automates OPA policy creation for Harness by leveraging the Harness MCP v2 server to generate governance policies, reducing manual errors and enforcing compliance rules across your pipelines.

What is needed to check compliance of Harness entities against OPA policies?

To check compliance of Harness entities against OPA policies, you need the Harness MCP v2 server and OPA for policy definition and evaluation. This Skill automates the verification process for your governance workflows.

Can I verify Harness pipeline compliance automatically using OPA?

Yes, you can verify Harness pipeline compliance automatically using OPA. This Skill automates compliance checking by evaluating your Harness entities against defined OPA governance policies through the MCP v2 server.

Do I need the Harness MCP v2 server to enforce OPA governance policies?

Yes, the Harness MCP v2 server is required. This Skill depends on it to automate the creation and verification of OPA governance policies, ensuring proper policy enforcement and compliance checking.

How does automated policy creation reduce manual errors in Harness governance?

Automated policy creation reduces manual errors in Harness governance by using the MCP v2 server to programmatically generate and verify OPA policies, eliminating the risk of human error in manual policy definition and compliance checking.

What is the best way to enforce security best practices in Harness pipelines using OPA?

The best way to enforce security best practices in Harness pipelines using OPA is to automate policy creation and compliance checking with this Skill, which uses the Harness MCP v2 server to define and evaluate governance rules.