← Back to Skills Marketplace
Terraform Module Linter
by
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
89
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install terraform-module-linter
Description
Lint Terraform modules and configurations (.tf files) for structure, naming, security, and best practices. 24 rules across structure, naming, security, and b...
Usage Guidance
This skill appears coherent and limited to linting .tf files. Before using it: (1) Review the full script if you need to be 100% certain there is no network I/O in the truncated portion (the visible code performs only local file reads and regex parsing). (2) Expect the internal HCL parser to be simplistic — it may produce false positives or miss complex HCL constructs; test on non-production modules first. (3) The linter will read any files you point it at, so avoid running it on directories containing secrets unless you are comfortable exposing those file contents to the agent's outputs. If you want extra assurance, run the script locally in an isolated environment before granting the agent permission to invoke it.
Capability Analysis
Type: OpenClaw Skill
Name: terraform-module-linter
Version: 1.0.0
The terraform-module-linter skill is a standard utility for analyzing Terraform (.tf) files for structural, naming, and security issues. The core logic in scripts/terraform_module_linter.py uses regular expressions to identify potential risks like hardcoded AWS keys or overly permissive IAM policies without performing any network requests, external data exfiltration, or arbitrary command execution.
Capability Assessment
Purpose & Capability
Name/description (Terraform module linter) matches what is included: an instruction document showing how to run the included Python script and a Python linter implementation. No unrelated binaries, env vars, or external services are required.
Instruction Scope
SKILL.md instructs running the bundled script against a user-provided path (file or directory). The script (as shown) reads only .tf files from the specified path, parses HCL-ish blocks with regex, and emits findings; it does not instruct reading arbitrary system config, credentials, or contacting remote endpoints.
Install Mechanism
No install specification is present — this is instruction-only plus a bundled Python script. Nothing is downloaded or written to disk by an installer. Risk from install mechanism is low.
Credentials
The skill requires no environment variables, credentials, or config paths. The code does not reference env vars or external credentials in the provided portion.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges. It is user-invocable and can be run by the agent, which is expected for skills. No evidence it modifies other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install terraform-module-linter - After installation, invoke the skill by name or use
/terraform-module-linter - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Terraform Module Linter?
Lint Terraform modules and configurations (.tf files) for structure, naming, security, and best practices. 24 rules across structure, naming, security, and b... It is an AI Agent Skill for Claude Code / OpenClaw, with 89 downloads so far.
How do I install Terraform Module Linter?
Run "/install terraform-module-linter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Terraform Module Linter free?
Yes, Terraform Module Linter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Terraform Module Linter support?
Terraform Module Linter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Terraform Module Linter?
It is built and maintained by charlie-morrison (@charlie-morrison); the current version is v1.0.0.
More Skills