Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Selects draft policy-as-code templates in Rego, Sentinel, or AWS Config for exact S3 public-bucket and EC2 encryption requirements.
18% 86%+68 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 4 of 22 without it.
Is Checkov YAML supported as a valid output target format by the policy generator, and what flag string represents it?
The format identifier is checkov
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This prototype accepts only exact supported phrases, not arbitrary natural-language requirements. Output is a draft, not an enforceable policy. Templates may omit requested checks or add unrelated ones, and do not establish compliance. Independently review, adapt, and test against representative compliant and noncompliant inputs before any use.
Ensure no S3 buckets are public: rego, sentinel, aws-config. Each includes a fixed Department tag check.All EC2 instances must have encryption enabled: rego only; also includes a subnet check.Matching ignores case and surrounding or repeated whitespace; any other wording, extra clauses, or unsupported format combinations fail without generating files. Even semantically equivalent wording is rejected. Terraform and Checkov are not implemented.
For a separately scoped Rego v1 draft, supply a JSON specification with an exact
resource type, tag key and source citation and excerpt. The source is supplied
by the user and is not verified; no control IDs or compliance claims are
inferred. Example spec.json:
{
"format": "rego",
"resource_type": "aws_s3_bucket",
"required_tag": "Owner",
"source": {
"reference": "Internal tagging policy, section 3",
"excerpt": "S3 buckets must have an Owner tag."
}
}
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate-policy.js" --spec spec.json
The CLI also writes a paired .test.rego starter file and prints the exact
opa test command for both files. The three examples cover a missing tag, a
present tag, and an unknown tag; they are not a comprehensive test suite or
proof of compliance. Review and extend them for the actual environment.
All fields are mandatory; extra fields, other resources and other formats fail
Next to this one in the catalogue, plus more from the same author.