Create OPA governance policies for Harness via MCP. Define policies that enforce compliance rules on pipelines, services, environments, feature flags, artifacts, code repositories, templates, SBOM, security tests, Terraform, GitOps, connectors, secrets, and more. Use when asked to create, write, fix, or explain an OPA policy, Rego rule, deny rule, governance policy, compliance rule, or policy-as-code for any Harness entity. Trigger phrases: create policy, OPA policy, governance policy, compliance rule, rego policy, deny rule, enforce policy, security policy, supply chain governance.
$npx -y skills add harness/harness-skills --skill create-policyInstalls into the current project.
Run `npx skills use "https://github.com/harness/harness-skills" --skill "harness/harness-skills/create-policy"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/harness/harness-skills" that are relevant to the current task. Run `npx skills add "https://github.com/harness/harness-skills"` and select the relevant skills, then follow their instructions.