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 agentmods add skills/cookiemonsterdev/agents-skills/terraform-docsnpx skills add cookieMonsterDev/agents-skills --skill terraform-docsgit clone --depth 1 https://github.com/cookieMonsterDev/agents-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/cookiemonsterdev/agents-skills/terraform-docs)<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/terraform-docs"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/terraform-docs.svg" alt="Measured on agentmods" 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.00094 | $0.01114 |
| Opus 5 | $0.00047 | $0.00557 |
| Sonnet 5 | $0.00019 | $0.00223 |
| Haiku 4.5 | $0.00009 | $0.00111 |
Grade A, and why
terraform-docs 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 6d 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform questions are easy to answer from stale memory or provider-specific assumptions. Use this skill to ground answers in the official HashiCorp Terraform documentation and return the closest authoritative page instead of generic IaC advice.
When to Use
Use this skill when the request is about:
- Terraform concepts, architecture, and adoption patterns
- Terraform configuration language (HCL), resources, data sources, variables, outputs, and locals
- Terraform CLI commands: init, plan, apply, destroy, import, state, workspace, and fmt
- Providers, modules, and the Terraform Registry
- Remote state, backends, locking, and drift detection
- HCP Terraform and Terraform Enterprise workflows
- Provider development and module publishing
- Testing, validation, policy, and security for Terraform code
- Upgrading Terraform versions and provider version constraints
Do not use this skill for:
- Raw cloud console operations when the question is provider UI rather than Terraform behavior. Use
aws-cli-docsfor AWS CLI commands. - Kubernetes workload YAML or kubectl usage without Terraform context. Use
kubernetes-docsinstead. - Helm chart templating or release management. Use
helm-docsinstead. - Pulumi, CloudFormation, or other IaC tools unless the user explicitly asks for comparison with Terraform docs.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Introduction, concepts, and use cases
- Configuration language and HCL syntax
- Terraform CLI workflows and commands
- Providers and the Terraform Registry
- Modules and reusable configuration
- State, backends, and workspaces
- HCP Terraform and Terraform Enterprise
- Plugin and provider development
- Testing, policy, and security
If you need a quick starting point, load references/topic-map.md and jump to the closest section.
2. Search official Terraform docs first
- Treat
developer.hashicorp.com/terraformas the source of truth for Terraform. - Prefer pages under https://developer.hashicorp.com/terraform/docs.
- For provider-specific resource arguments, prefer the provider docs on the Terraform Registry over generic language docs.
- Search with the user's exact terms plus focused Terraform phrases such as
terraform plan,backend "s3",for_each,lifecycle,movedblock, orrequired_providers. - When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
- For deprecated syntax or removed features, check the upgrade guides before answering from older knowledge.
What ships with it
2 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.
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.
- 6d ago First seen · 104 lines · 94 tokens per session scan A 3eae9713fb65
terraform-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (4 stars, last pushed 16d ago), licensed MIT. It adds 94 tokens to every session and 1,114 once invoked, about $0.0005 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.
Other skills, from other repositories
google-cloud-solution-guided-gke-ai-migration
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…
gke-alert-configuration
Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using…
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
google-cloud-solution-n-tier-serverless-web-app
Assists in designing and implementing secure n-tier serverless web applications and microservices on Google Cloud. Use when users need architecture designs, security checklists, Terraform code, or deployment guidance for multi-tier serverless apps, regional data residency / European sovereignty compliance, zero-trust…
application-design-center-design-deploy
Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…
cloud-run-basics
Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).