Agent skill
multi-source-policy-aggregation
Aggregate Kyverno policies from security, DevOps, and application teams into unified enforcement. Build multi-stage containers using OCI repo dependencies.
Install this agent skill to your Project
npx add-skill https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/enforce/skills/multi-source-policy-aggregation
SKILL.md
Multi-Source Policy Aggregation
When to Use This Skill
Real-world policy management requires aggregating policies from different teams and sources:
graph TD
SP[security-policy repo] -->|OCI container| MS[Multi-stage Build]
DP[devops-policy repo] -->|OCI container| MS
KC[Kyverno curated] -->|OCI container| MS
APP[Application repo] -->|OCI container| MS
MS -->|Single image| PP[policy-platform:latest]
PP -->|Contains all policies| OUT[Unified Enforcement]
%% Ghostty Hardcore Theme
style SP fill:#f92572,color:#1b1d1e
style DP fill:#fd971e,color:#1b1d1e
style KC fill:#9e6ffe,color:#1b1d1e
style APP fill:#a7e22e,color:#1b1d1e
style PP fill:#65d9ef,color:#1b1d1e
Policy Repos as OCI Containers
Each policy repository is also an OCI container. Multi-stage Docker builds pull them all automatically. No manual copying or Git submodules.
Implementation
See the full implementation guide in the source documentation.
Examples
See examples.md for code examples.
Full Reference
See reference.md for complete documentation.
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
github-token-permissions-overview
Understanding GITHUB_TOKEN scope, default permissions, and implementing least-privilege principle for GitHub Actions workflows.
secure
Find and fix security issues before they become incidents. Vulnerability scanning, SBOM generation, supply chain security, and secure authentication workflows.
complete-workflow-examples
Copy-paste hardened CI/CD workflows with SHA-pinned actions, minimal GITHUB_TOKEN permissions, OIDC authentication, and comprehensive security scanning for GitHub Actions.
ephemeral-runner-patterns
Disposable runner patterns for GitHub Actions. Container-based, VM-based, and ARC deployment strategies with complete state isolation between jobs.
action-pinning-overview
Why pinning GitHub Actions to SHA-256 commits matters for supply chain security. Attack vectors from unpinned actions and comparison of tag vs SHA pinning.
github-actions-security-patterns-hub
Complete security patterns for GitHub Actions covering action pinning, GITHUB_TOKEN permissions, third-party action risks, secret management, and runner security.
Didn't find tool you were looking for?