Agent skill

Audit Infrastructure As Code

by cyberful in cyberful/cyberful

Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence.

AGPL-3.0Auto-check passedDevOps & Cloud

Install Audit Infrastructure As Code

skills CLI
$ npx skills add cyberful/cyberful --skill audit-infrastructure-as-code -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cyberful/cyberful audit-infrastructure-as-code --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cyberful/cyberful.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cyberful/builtin/skills/audit-infrastructure-as-code .claude/skills/audit-infrastructure-as-code && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
audit-infrastructure-as-code
GitHub stars
135
Token cost
~649 tokens
SKILL.md length
200 words
Files
9 (incl. scripts, references, assets)
Skills in repo
85
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence.

  • Kubernetes manifests
  • SKILL.md covers Build evidence and Reach a conclusion
  • Runs Python scripts from its folder
  • Mixed IaC repositories

What it does

Audit Infrastructure As Code is an agent skill from cyberful/cyberful. Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence. Use for Terraform, CloudFormation, Bicep, Pulumi, Kubernetes manifests, or mixed IaC repositories.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/iac-audit-campaign.example.json` and `assets/iac-audit-campaign.schema.json`).

It sits in DevOps & Cloud, covering Infrastructure as code. It works with AWS CloudFormation, Bicep, Kubernetes and Pulumi. The repository describes itself as: Cyberful is an open-source AI Red Team for discovering, exploiting, verifying, and remediating vulnerabilities. The licence is AGPL-3.0.

When your agent uses it

  • Kubernetes manifests
  • Mixed IaC repositories

Example prompts

  • “/audit-infrastructure-as-code”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ec598a6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Audit Infrastructure As Code loads about 649 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 200 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~649
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cyberful/cyberful at commit ec598a6, republished under its AGPL-3.0 licence (© cyberful). 200 words, ~649 tokens.

Download SKILL.mdSave it as .claude/skills/audit-infrastructure-as-code/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
audit-infrastructure-as-code
description
Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence. Use for Terraform, CloudFormation, Bicep, Pulumi, Kubernetes manifests, or mixed IaC repositories.
metadata.domain
cloud-security
metadata.subdomain
infrastructure-as-code
metadata.triggers
infrastructure as code audit, terraform security review, cloudformation audit, bicep security analysis, pulumi security review, iac policy findings
metadata.tags
iac, terraform, cloudformation, policy-as-code, cloud-controls, static-analysis

Audit Infrastructure as Code

Treat IaC as a proposed control-plane state, not proof of the deployed state. Establish which modules, environments, overlays, generated files, policy exceptions, and deployment identities are in scope before interpreting a scanner result.

Build evidence

Read references/iac-evidence-method.md for the provenance and reachability method. Trace each material setting from module input through locals, composition, generated plans, and environment overlays to the resource property that a deployment would apply. Separate unsafe defaults, explicitly selected risk, dead configuration, and scanner uncertainty.

For a bounded offline Checkov run, stage scripts/run_iac_audit_campaign.py, assets/iac-audit-campaign.example.json, and assets/iac-audit-campaign.schema.json. The campaign accepts only a confined local source tree and limits; scope_reference attributes the externally authorized mission but never grants authority. It scans a read-only content snapshot with the fixed runtime checkov command, blocks network syscalls, ignores ambient tool configuration, strips proxy and credential-bearing state, and preserves bounded raw scan and version output under assets/iac-audit-evidence.schema.json.

Reach a conclusion

Confirm a finding only when the effective configuration reaches an in-scope deployment path and weakens a named security invariant. Record the affected resource, value provenance, environment, deployment precondition, compensating control, raw tool evidence, and smallest safe correction. Treat provider defaults and generated plans as evidence to obtain, not assumptions.

© cyberful, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references, assets) in cyberful/builtin/skills/audit-infrastructure-as-code of cyberful/cyberful.

  • SKILL.md
  • agents/openai.yaml
  • assets/iac-audit-campaign.example.json
  • assets/iac-audit-campaign.schema.json
  • assets/iac-audit-evidence.schema.json
  • references/iac-evidence-method.md
  • scripts/manifest.json
  • scripts/run_iac_audit_campaign.py
  • tests/test_run_iac_audit_campaign.py

Open the folder on GitHubat commit ec598a6

Compare with similar skills

Audit Infrastructure As Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Audit Infrastructure As Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Audit Infrastructure As Code this skillcyberful/cyberful135—~649Automated safety check: PassAGPL-3.0
Iac Securityhardw00t/ai-security-arsenal104—~2.4kAutomated safety check: PassNone
AWS Sst Developmentzxkane/aws-skills367—~2.7kAutomated safety check: WarnMIT
Iac CheckovAgentSecOps/SecOpsAgentKit2201 repos~4.6kAutomated safety check: PassCustom licence
Implementing Infrastructure As Code Security Scanningmukul975/Anthropic-Cybersecurity-Skills34k—~2.2kAutomated safety check: PassApache-2.0
Iac Security ReviewOWASP/secure-agent-playbook187—~694Automated safety check: PassCC-BY-4.0

Similar skills

  • Iac Security

    hardw00t/ai-security-arsenal

    Infrastructure-as-Code security scanning router for Terraform, CloudFormation, Kubernetes manifests, Helm, ARM/Bicep.

    104 GitHub stars~2.4k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check passed
  • AWS Sst Development

    zxkane/aws-skills

    SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.

    367 GitHub stars~2.7k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check: warnings
  • Iac Checkov

    AgentSecOps/SecOpsAgentKit

    Infrastructure as Code (IaC) security scanning using Checkov with 750+ built-in policies for Terraform, CloudFormation, Kubernetes, Dockerfile, and ARM templates.

    220 GitHub starsUsed in 1 repo~4.6k tokens
    DevOps & CloudAuto-check passed
  • Implementing Infrastructure As Code Security Scanning

    mukul975/Anthropic-Cybersecurity-Skills

    Implements automated security scanning for Infrastructure as Code using Checkov, tfsec, and KICS to detect misconfigurations in Terraform, CloudFormation, Kubernetes manifests, and Helm charts, plus…

    34k GitHub stars~2.2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Iac Security Review

    OWASP/secure-agent-playbook

    Security review of Infrastructure-as-Code (Terraform, Kubernetes, CloudFormation).

    187 GitHub stars~694 tokensUpdated 12 days ago
    DevOps & CloudAuto-check passed
  • Deploying Applications

    ancoleman/ai-design-components

    Deployment patterns from Kubernetes to serverless and edge functions.

    526 GitHub stars~3.1k tokensUpdated 10 mo ago
    DevOps & CloudAuto-check passed

More from cyberful/cyberful

All 85 skills in this repo
  • Audit Kubernetes admission and policy-as-code enforcement against local workload manifests, exception paths, namespace scope, and deployment evidence.

    135 GitHub stars~610 tokensUpdated 1 mo ago
    Auto-check passed
  • Audit PCI DSS penetration-test methodology, scope, internal and external reports, segmentation results, tester independence, remediation, retesting, retention, and multi-tenant support evidence.

    135 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Content Discovery

    cyberful/cyberful

    Design and interpret advanced content discovery with ffuf and complementary web fuzzers.

    135 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Network Recon

    cyberful/cyberful

    Build a high-fidelity network and service inventory using Nmap, Masscan, packet capture, DNS, and protocol-specific follow-up.

    135 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Sast Toolchain

    cyberful/cyberful

    Operate Semgrep and source-oriented static analysis as a hypothesis, coverage, and regression system during advanced code audits.

    135 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Operate Syft, Grype, Trivy, Gitleaks, Retire.js, package-manager metadata, and build evidence for advanced software-supply-chain assessment.

    135 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Audit Infrastructure As Code

What does Audit Infrastructure As Code do?

Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence. Audit Infrastructure As Code is an agent skill from cyberful/cyberful. Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence.

When should I use Audit Infrastructure As Code?

Audit Infrastructure As Code fits situations like: Kubernetes manifests; mixed IaC repositories.

How do I install Audit Infrastructure As Code in Claude Code?

Run `npx skills add cyberful/cyberful --skill audit-infrastructure-as-code -a claude-code`. Or copy the skill folder (cyberful/builtin/skills/audit-infrastructure-as-code in cyberful/cyberful) into .claude/skills/audit-infrastructure-as-code in your project. Claude Code loads it when a task matches its description.

How do I install Audit Infrastructure As Code in Codex?

Run `npx skills add cyberful/cyberful --skill audit-infrastructure-as-code -a codex`. Or copy the skill folder (cyberful/builtin/skills/audit-infrastructure-as-code in cyberful/cyberful) into .agents/skills/audit-infrastructure-as-code in your project. Codex loads it when a task matches its description.

Can I use Audit Infrastructure As Code in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cyberful/cyberful --skill audit-infrastructure-as-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/audit-infrastructure-as-code, .gemini/skills/audit-infrastructure-as-code, .github/skills/audit-infrastructure-as-code and .opencode/skills/audit-infrastructure-as-code in your project.

What does Audit Infrastructure As Code need to run?

Going by SKILL.md and its folder, Audit Infrastructure As Code needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Audit Infrastructure As Code access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Audit Infrastructure As Code safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Audit Infrastructure As Code use?

Audit Infrastructure As Code is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Audit Infrastructure As Code use?

About 649 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 452 tokens, read only when the agent opens those files.

What are the alternatives to Audit Infrastructure As Code?

Skills that share tags, products or a category with Audit Infrastructure As Code: Iac Security (hardw00t/ai-security-arsenal, 104 stars), AWS Sst Development (zxkane/aws-skills, 367 stars), Iac Checkov (AgentSecOps/SecOpsAgentKit, 220 stars) and Implementing Infrastructure As Code Security Scanning (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Audit Infrastructure As Code?

cyberful (a GitHub organization) maintains it in cyberful/cyberful, which has 135 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on August 24, 2026.

Source: cyberful/cyberful on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.