agent-bom-scan-infra

agent-bom-scan-infra is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 55 tokens per session (1,476 once invoked), scanned A, original, MIT.

An infrastructure security scanner checks infrastructure-as-code—configuration files that define cloud and server setups—along with cloud accounts and project files.

In plain words
What is it for?
Use it to scan Terraform, CloudFormation, Kubernetes YAML, Dockerfiles, and files for secrets, or run CIS benchmark checks on AWS, Azure, GCP, and Snowflake.
Why use it?
It helps find unsafe settings and exposed secrets before they become security problems.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to scan Terraform, CloudFormation, Kubernetes YAML, Dockerfiles, and files for secrets, or run CIS benchmark checks on AWS, Azure, GCP, and Snowflake.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/scan-infra
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,139 stars · on GitHub · myclaw.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeoYeAI/openclaw-master-skills --skill scan-infra
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-bom-scan-infra

README.md
[![agentmods](https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/scan-infra/github.svg)](https://agentmods.dev/skills/leoyeai/openclaw-master-skills/scan-infra)
Your own site
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/scan-infra"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/scan-infra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-bom-scan-infra

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/scan-infra"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/scan-infra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01476
Opus 5 $0.00028 $0.00738
Sonnet 5 $0.00011 $0.00295
Haiku 4.5 $0.00006 $0.00148

Measured 7d ago against content hash c3ec15e96ca4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

agent-bom-scan-infra scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/agent-bom/scan-infra/SKILL.md · 173 lines

What it actually says

agent-bom-scan-infra — Infrastructure & Cloud Security Scanner

Scans infrastructure-as-code (Terraform, CloudFormation, Kubernetes), finds secrets in config files, and runs cloud CIS benchmarks against AWS, Azure, GCP, and Snowflake.

Install

pipx install agent-bom
agent-bom iac infra/         # scan Terraform/CloudFormation/K8s
agent-bom cloud aws          # AWS CIS benchmark
agent-bom cloud azure        # Azure CIS benchmark
agent-bom cloud gcp          # GCP CIS benchmark
agent-bom secrets .          # find secrets in current directory

When to Use

  • "check terraform" / "scan terraform"
  • "scan kubernetes" / "K8s security"
  • "IaC" / "infrastructure as code"
  • "find secrets" / "secret scanning"
  • "scan dockerfile"
  • "cloud security" / "CIS benchmark"
  • "misconfigurations"

Commands

# Scan IaC directory
agent-bom iac infra/

# Run cloud CIS benchmark
agent-bom cloud aws
agent-bom cloud azure
agent-bom cloud gcp
agent-bom cloud snowflake

# Find secrets in files
agent-bom secrets .

Tools

Tool Description
iac Scan Terraform, CloudFormation, Kubernetes YAML for misconfigurations
cloud CIS benchmark checks (AWS, Azure v3.0, GCP v3.0, Snowflake)
secrets Find secrets and credentials in files and directories

Examples

# Scan IaC directory for misconfigurations
iac(path="infra/")

# Run AWS CIS benchmark
cloud(provider="aws")

# Find secrets in project
secrets(path=".")

Guardrails

  • Confirm with the user before running cloud CIS benchmarks — these make live read-only API calls to AWS/Azure/GCP using the user's locally configured credentials.
  • IaC and secrets scanning is purely local — no network calls.
  • Do not modify any infrastructure files.
  • Ask the user before scanning paths outside their home or project directory.
  • Cloud credentials are used only to call the cloud provider's own APIs and are never transmitted elsewhere.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 173 lines · 55 tokens per session scan A c3ec15e96ca4

Subscribe to this mod's changes

agent-bom-scan-infra is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,139 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,476 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

add-vercel

Add Vercel deployment capability to NanoClaw agents. Installs the Vercel CLI in agent containers and sets up OneCLI credential injection for api.vercel.com. Use when the user wants agents to deploy web applications to Vercel.

nanocoai/nanoclaw · 54 tokens

service-publishing

Expose worker HTTP services via Higress gateway. Use when admin asks to publish a worker's web app or API to make it externally accessible.

agentscope-ai/AgentTeams · 32 tokens

azure

Microsoft Azure expert for az CLI, AKS, App Service, and cloud infrastructure.

RightNow-AI/openfang · 18 tokens

routine

Manage CocoRoutine Snowflake task scheduling. Usage: $routine list, $routine schedule --cadence , $routine disable , $routine delete .

Snowflake-Labs/cocoplus · 44 tokens

comfyui-skill-openclaw

Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

vllm

Operate, configure, benchmark, and troubleshoot vLLM inference servers: Docker and Kubernetes deployment, quantization-aware model configuration (tensor parallelism, KV cache), OpenAI-compatible API serving, throughput and latency benchmarking, continuous batching tuning, GPU operation, and upgrade/rollback. Use when…

magnus919/agent-skills · 196 tokens