archguardian: Skill for Claude Code

.claude/skills/iac/SKILL.md

iac is a skill for Claude Code 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 Code

Written for Claude Code: allowed-tools in frontmatter.

This is ysfAskri/archguardian's own configuration. It tells Claude Code how to work on archguardian itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything archguardian configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ysfAskri/archguardian. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ysfAskri/archguardian/master/.claude/skills/iac/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ysfAskri/archguardian

Made for: Claude Code.

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/github.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/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 iac

Your own site · 80×15
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/iac"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/iac.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00006 $0.00102
Sonnet 5.5 $0.00003 $0.00051
Haiku 4.5 $0.00002 $0.00026

Measured 1mo ago against content hash fa46d47174b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 8mo ago), licensed MIT. It adds 16 tokens to every session and 255 once invoked, about $0.0001 per session on Opus 5.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

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens

duo-build

Build an issue or feature interactively toward an indexed shared goal, with automatic read-only peer review; resume the same run across Claude Code and Codex.

Hulupeep/Specflow · 35 tokens

specflow

Spec-driven development with executable contracts.

Hulupeep/Specflow · 9 tokens

specflow-loop-selector

Choose the lightest Specflow workflow that covers an ask’s size, uncertainty and risk, then select a loop only when needed. Use for work triage, proportionate verification, loop selection, or explicit spec-build, feature-build and Gate D requests. A lightweight decision does not start a loop.

Hulupeep/Specflow · 65 tokens

specflow-simulate

Simulates end-to-end usage of a Specflow story across multiple personas and divergent routes to discover gaps, edge cases, and unhandled branches BEFORE the story is built — then proposes each finding as a concrete story addition (new REQ, negative-path AC, Gherkin branch, or journey step). This is the high-value…

Hulupeep/Specflow · 172 tokens

argot-setup-ci

Wire argot into a repository's GitHub Actions as a non-blocking configured check on every pull request — a job summary plus code-scanning annotations. Use when the user wants argot "in CI", "on PRs", "as a GitHub Action", or asks to "set up argot CI". Distinct from argot-setup (local checking) and argot-review-pr…

get-tmonier/argot · 94 tokens