infra-lint

infra-lint is a skill for Claude Code from makigjuro/cloudstack-ai-plugins. It costs 35 tokens per session (811 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 Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to check Terraform or Terragrunt formatting and module validity, validate Helm charts, or run both checks together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makigjuro/cloudstack-ai-plugins/infra-lint
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 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.

Or install cloud-infra, the plugin that ships this one along with the rest of its 8 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/github.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/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 infra-lint

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 811 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.
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.00811
Opus 5.5 $0.00014 $0.00324
Sonnet 5.5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

Measured 1mo ago against content hash bd2a2c8c1481, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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).

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. 1mo ago Changed bd2a2c8c1481
  2. 3mo 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 811 once invoked, about $0.0001 per session on Opus 5.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

infra-lint compared with skills from other repositories

infra-lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infra-lintmakigjuro/cloudstack-ai-pluginsSkill11mo agoMITA35Claude Code
linuxnitinjain999/platform-skillsSkill743d agoApache-2.0A24Claude Code
azure-diagnosticsseaworld008/Commonly-used-high-value-skillsSkill752d agoMITA22Claude Code, Codex
chaosnitinjain999/platform-skillsSkill743d agoApache-2.0A97Claude Code
debugnitinjain999/platform-skillsSkill743d agoApache-2.0A32Claude Code
rubber-duckyharnessprotocol/harness-kitSkill13todayApache-2.0A189Claude Code
ia-verification-before-completioniliaal/whetstoneSkill37todayMITA52Claude Code