terragrunt-validator

terragrunt-validator is a skill for Claude Code from akin-ozer/cc-devops-skills. It costs 33 tokens per session (8,466 once invoked), scanned C, original, Apache-2.0.

A validation and testing guide for Terragrunt, a tool that helps manage multiple Terraform or OpenTofu infrastructure modules and shared configuration. It covers configuration checks, formatting, dependency graphs, dry runs, and security scans.

In plain words
What is it for?
Use it to validate and format Terragrunt files, test planned infrastructure changes, inspect modules and dependencies, debug configuration, and run tools such as Trivy or Checkov.
Why use it?
It helps find configuration errors, outdated commands, dependency problems, and infrastructure security issues before deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/validate_terragrunt.sh ./infrastructure/prod.

Part of the devops-skills-plugin plugin — 31 skills shipped together

Good fit Use it to validate and format Terragrunt files, test planned infrastructure changes, inspect modules and dependencies, debug configuration, and run tools such as Trivy or Checkov.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills
agentmods
npx agentmods add skills/akin-ozer/cc-devops-skills/terragrunt-validator

Made for: Claude Code.

Or install devops-skills-plugin, the plugin that ships this one along with the rest of its 31 skills.

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 terragrunt-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/terragrunt-validator/github.svg)](https://agentmods.dev/skills/akin-ozer/cc-devops-skills/terragrunt-validator)
Your own site
<a href="https://agentmods.dev/skills/akin-ozer/cc-devops-skills/terragrunt-validator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/terragrunt-validator/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 terragrunt-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/akin-ozer/cc-devops-skills/terragrunt-validator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/terragrunt-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,466 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk warn 15 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.00033 $0.08466
Opus 5.5 $0.00013 $0.03386
Sonnet 5.5 $0.00007 $0.01693
Haiku 4.5 $0.00003 $0.00847

Measured 2mo ago against content hash ca994497d009, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

terragrunt-validator scanned grade C with 3 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 2mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/detect_custom_resources.py, scripts/run_ci_checks.sh, scripts/validate_terragrunt.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .terragrunt-cache

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
devops-skills-plugin/skills/terragrunt-validator/SKILL.md · 1,136 lines

How it starts

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

Terragrunt Validator

Overview

This skill provides comprehensive validation, linting, and testing capabilities for Terragrunt configurations. Terragrunt is a thin wrapper for Terraform/OpenTofu that provides extra tools for keeping configurations DRY (Don't Repeat Yourself), working with multiple modules, and managing remote state.

Use this skill when:

  • Validating Terragrunt HCL files (*.hcl, terragrunt.hcl, terragrunt.stack.hcl)
  • Working with Terragrunt Stacks (unit/stack blocks, terragrunt stack generate/run)
  • Performing dry-run testing with terragrunt plan
  • Linting Terragrunt/Terraform code for best practices
  • Detecting and researching custom providers or modules
  • Debugging Terragrunt configuration issues
  • Checking dependency graphs
  • Formatting HCL files
  • Running security scans on infrastructure code (Trivy, Checkov)
  • Generating run reports and summaries

Terragrunt Version Compatibility

This skill is designed for Terragrunt 0.93+ which includes the new CLI redesign.

CLI Command Migration Reference

Deprecated Command New Command
run-all run --all
hclfmt hcl fmt
hclvalidate hcl validate
validate-inputs hcl validate --inputs
graph-dependencies dag graph
render-json render --json -w
terragrunt-info info print
plan-all, apply-all run --all plan, run --all apply

Key Changes in 0.93+:

  • terragrunt run --all replaces terragrunt run-all for multi-module operations
  • terragrunt dag graph replaces terragrunt graph-dependencies for dependency visualization
  • terragrunt hcl validate --inputs replaces validate-inputs for input validation
  • HCL syntax validation via terragrunt hcl fmt --check or terragrunt hcl validate
  • Full validation requires terragrunt init && terragrunt validate

If using an older Terragrunt version, some commands may need adjustment.

Core Capabilities

1. Comprehensive Validation Suite

Read the full file on GitHub · 1,136 lines

Files

What ships with it

30 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 1,136 lines · 33 tokens per session scan C ca994497d009

Subscribe to this mod's changes

terragrunt-validator is a skill published in the GitHub repository akin-ozer/cc-devops-skills (332 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 8,466 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

terragrunt-validator compared with skills from other repositories

terragrunt-validator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terragrunt-validatorakin-ozer/cc-devops-skillsSkill3323mo agoApache-2.0C33Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code