infra-lint

infra-lint is a skill for Claude Code, Codex from makigjuro/cloudstack-ai-plugins. It costs 35 tokens per session (808 once invoked), scanned A, original, MIT.

An infrastructure-only code checker for Terraform, Terragrunt, and Helm files. Terraform and Terragrunt define cloud infrastructure; Helm charts package settings for deploying applications to Kubernetes.

In plain words
What is it for?
Use it to check Terraform or Terragrunt formatting and module validity, validate Helm charts, or run both checks together.
Why use it?
It lets you check infrastructure changes without running checks meant for application or frontend code. It can also apply formatting fixes.

Skill for Claude CodeCodex

Part of the cloud-infra plugin — 7 skills, 1 agent shipped together

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/makigjuro/cloudstack-ai-plugins/infra-lint
Any agent
npx skills add makigjuro/cloudstack-ai-plugins --skill infra-lint
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins

Made for: Claude Code, Codex.

Or install cloud-infra, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

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 infra-lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/infra-lint.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/infra-lint)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/infra-lint"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/infra-lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 808 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00035 $0.00808
Opus 5 $0.00017 $0.00404
Sonnet 5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

infra-lint 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 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.

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.

plugins/cloud-infra/skills/infra-lint/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Infrastructure Lint

Fast lint for infrastructure files only. Skips application and frontend checks.

Arguments

  • --fix or fix — Apply auto-fixes (formatting only)
  • terraform — Only lint Terraform/Terragrunt
  • helm — Only lint Helm charts

If no argument, lint both Terraform and Helm.

Configuration

Read cloudstack.json from the project root at the start of execution. Extract:

  • CHARTS_PATH = infrastructure.chartsPath (default: deploy/charts)
  • TF_PATH = infrastructure.terraformPath (default: infra/terraform/modules)
  • TG_PATH = infrastructure.terragruntPath (default: infra/terragrunt)
  • IAC_WRAPPER = infrastructure.iacWrapper (default: none)

If cloudstack.json does not exist, auto-detect by scanning the project structure. Derive TF_PARENT as the parent directory of TF_PATH (e.g., if TF_PATH is infra/terraform/modules, TF_PARENT is infra).

Terraform / Terragrunt

Format check:

terraform fmt -check -recursive {TF_PARENT}

Format fix (if --fix):

terraform fmt -recursive {TF_PARENT}

Validate modules:

for dir in $(find {TF_PATH} -name "*.tf" -exec dirname {} \; | sort -u); do
  echo "=== Validating $dir ==="
  terraform -chdir="$dir" init -backend=false -input=false 2>/dev/null
  terraform -chdir="$dir" validate
done

Terragrunt validate (only if IAC_WRAPPER = terragrunt):

find {TG_PATH} -name "terragrunt.hcl" -execdir terragrunt validate \;

Helm Charts

Lint all charts:

for chart in {CHARTS_PATH}/*/; do
  echo "=== Linting $chart ==="
  helm lint "$chart"
  helm template test "$chart" > /dev/null
done

If {CHARTS_PATH}/ doesn't exist, skip Helm linting and note it.

Security Scan

After lint passes, invoke the trivy-scan skill as the final verification step. This catches security misconfigurations that terraform validate and helm lint don't see (public access defaults, weak TLS, over-broad IAM, missing encryption).

Read the full file on GitHub · 92 lines

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 · 92 lines · 35 tokens per session scan A 825f03b13643

Subscribe to this mod's changes

infra-lint is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 808 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens

alive:world

The human doesn't know what to work on, or wants to see everything at once. They need the big picture — what's active, what's stale, what needs attention. Renders a live world view grouped by ALIVE domain, then routes to open, tidy, find, history, or map.

alivecontext/alive · 63 tokens

cco-task

Organize work by task, track tokens/cost per task, and keep a small patchable execution state that is re-injected after /compact (SKILL.state-style) — start a task, patch its state, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task.

egorfedorov/claude-context-optimizer · 70 tokens

cco-templates

Manage context templates for common task types.

egorfedorov/claude-context-optimizer · 11 tokens

cco-tools

Show what tools actually cost in tokens — learned per-tool averages from observed results, replacing the hardcoded MCP/Agent guesses.

egorfedorov/claude-context-optimizer · 27 tokens