iac

iac is a skill for Claude Code, Codex from ysfAskri/archguardian. It costs 16 tokens per session (255 once invoked), scanned A, original, MIT.

A security scanner for infrastructure-as-code files: Dockerfiles, Kubernetes configuration, and GitHub Actions workflows.

In plain words
What is it for?
Use it to check container settings, Kubernetes permissions and limits, image tags, shell commands, and GitHub Actions references or user-controlled scripts.
Why use it?
It finds common configuration mistakes that can expose secrets, grant excessive privileges, weaken builds, or make automated workflows unsafe.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ysfaskri/archguardian/iac
Any agent
npx skills add ysfAskri/archguardian --skill iac
Clone the repo
git clone --depth 1 https://github.com/ysfAskri/archguardian

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 iac

README.md
[![agentmods](https://agentmods.dev/badge/skills/ysfaskri/archguardian/iac.svg)](https://agentmods.dev/skills/ysfaskri/archguardian/iac)
Your own site
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/iac"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/iac.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 255 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00016 $0.00255
Opus 5 $0.00008 $0.00128
Sonnet 5 $0.00003 $0.00051
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

iac scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Dockerfile: root user, :latest tags, curl|bash, exposed secrets, ADD vs COPY, missing HEALTHCHECK
.claude/skills/iac/SKILL.md · 33 lines

What it actually says

archguardian iac

Scan infrastructure-as-code files for security misconfigurations.

Instructions

  1. Run the scan with IaC analysis enabled:
    npx archguardian scan --format json $ARGUMENTS
    
    Ensure .archguard.yml has analyzers.iac.enabled: true.
  2. Parse JSON output, filter for iac/* rules.
  3. For each finding, explain the security risk and how to fix it.

Rules covered

  • Dockerfile: root user, :latest tags, curl|bash, exposed secrets, ADD vs COPY, missing HEALTHCHECK
  • Kubernetes: privileged containers, missing resource limits, :latest image tags
  • GitHub Actions: script injection via github.event, mutable action references

Tips

  • Configure which file types to scan: dockerfile: true, kubernetes: true, actions: true.
  • Pin GitHub Actions to SHA commits instead of branch names.
  • Always specify a USER instruction in Dockerfiles.
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. 5d ago First seen · 33 lines · 16 tokens per session scan A fa46d47174b0

Subscribe to this mod's changes

iac is a skill published in the GitHub repository ysfAskri/archguardian (4 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 255 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mandu-deploy

프로덕션 배포 파이프라인. Docker/CI-CD/nginx.

konamgil/mandu · 20 tokens

devops

You are the DevOps Specialist -- the single authority on version control, CI/CD pipelines, platform operations (GitHub, Azure DevOps, GitLab), infrastructure, deployment, backup, and cleanup. If it touches git, pipelines, or production infrastructure, it's yours.

samibs/skillfoundry · 6 tokens

fix-failing-actions

Diagnose and fix failing GitHub Actions workflows in the drift repository. Use when a CI run, security hygiene check, release workflow, or any other GitHub Actions job is red. Keywords: GitHub Actions, workflow failure, CI failure, failed run, failing check, red CI, workflow fix, gh run, action logs, pipeline error…

mick-gsk/drift · 78 tokens

devsecops-complete-audit

Audit professionnel complet d'un projet logiciel couvrant architecture, code mort, dette technique, dépendances, API, authentification, autorisation, sécurité applicative, CI/CD, performance, production et validation finale.

KxlSys/OpenSkill · 50 tokens

craft-infra

The Craftsman standard for production infrastructure — deployment, env/config, CI/CD, IaC, health/readiness, scaling, platform/edge rate limiting, build/release, rollback. Use WHENEVER work touches infra: deploy, CI gates, env vars, IaC, load failures, platform rate limiting, pooling runtime constraints, or production…

gul-labs/craftsman-marketplace · 142 tokens

execution/infra-executor

Internal: Infrastructure Executor. Implements deployment, CI/CD, container, IaC, and environment configuration changes. Write evidence on completion.

dynos-fit/dynos-work · 32 tokens