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.
npx skills add abdullahkhawer/devops-skills --skill terraform-lintinggit clone --depth 1 https://github.com/abdullahkhawer/devops-skillsWrote 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.
[](https://agentmods.dev/skills/abdullahkhawer/devops-skills/terraform-linting)<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/terraform-linting"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/terraform-linting/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.
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/terraform-linting"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/terraform-linting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.00702 |
| Opus 5.5 | $0.00016 | $0.00281 |
| Sonnet 5.5 | $0.00008 | $0.00140 |
| Haiku 4.5 | $0.00004 | $0.00070 |
Grade A, and why
terraform-linting 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform Linting Skill
Run this skill when asked to lint, format, or check style for Terraform code.
Step 1 — Detect available tooling
which terraform tflint 2>/dev/null
ls .tflint.hcl 2>/dev/null
If tflint is not installed, inform the user and ask before installing:
brew install tflint
terraform fmt and terraform validate ship with the Terraform CLI, so no separate install is needed for those.
Step 2 — Run formatting check
terraform fmt -recursive -check -diff
Show the diff to the user before applying any formatting changes.
Step 3 — Run validation
terraform validate
Requires terraform init to have been run in the directory first — if it fails with a missing-provider error, inform the user rather than running init yourself if it would touch a real backend.
Step 4 — Run the linter
tflint --recursive
Respect the project's .tflint.hcl if present (enabled plugins/rules) — do not override it. If no .tflint.hcl exists, run with default rules and mention that a config file could be added.
Report all findings grouped by file, with line numbers and rule names (e.g. terraform_deprecated_index, aws_instance_invalid_type).
Step 5 — Apply fixes (only with user confirmation)
terraform fmt -recursive
tflint --fix --recursive
Only run auto-fix commands after showing the user what will change and getting explicit confirmation. Most tflint findings (e.g. deprecated syntax, unused variables, invalid instance types) require manual review even when a --fix is available.
Standard conventions enforced
- Formatting is always
terraform fmt-compliant (2-space indentation, aligned=signs). - Resource and variable names:
snake_case, descriptive, no redundant type prefixes (e.g.aws_instance.web, notaws_instance.aws_instance_web). - All variables have a
descriptionand, where sensible, atypeconstraint. - No hardcoded credentials, account IDs, or ARNs — use variables or data sources.
- Provider versions are pinned via
required_providersin aversions.tfor the root module.
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.
- 2mo ago First seen · 86 lines · 40 tokens per session scan A 6ef7e1b870e1
terraform-linting is a skill published in the GitHub repository abdullahkhawer/devops-skills (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 702 once invoked, about $0.0002 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-09-23.
terraform-linting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terraform-lintingabdullahkhawer/devops-skills | Skill | 11 | 2mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| gcloud-usagefcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 49 | Claude Code |
| proposal-troubleshoothutzelmann/thesis-proposal-skills | Skill | 10 | 6d ago | MIT | A | 66 | Claude Code |
| apex-azure-diagnosticsjonathan-vella/apex-accelerator | Skill | 51 | 3d ago | MIT | C | 110 | Claude Code |
| workers-profilingfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 31 | Claude Code |
| azure-diagnosticsmanu14357/zskills | Skill | 16 | 4mo ago | MIT | A | 53 | Claude Code, Codex |
| fabric-network-remediatePatrickGallucci/fabric-skills | Skill | 18 | 5mo ago | MIT | A | 86 | Claude Code, Codex |