terraform-docs

terraform-docs is a skill for Claude Code, Codex from vegastack/vegastack-cli. It costs 187 tokens per session (4,072 once invoked), scanned A, original, MIT.

A reference skill for writing, debugging, importing, or migrating Terraform configuration in HCL. Terraform is a tool that describes and manages cloud and service infrastructure as code.

In plain words
What is it for?
Use it when working with Terraform providers such as AWS, Azure, Kubernetes, GitHub, Cloudflare, or Vercel, including resource configuration, imports, migrations, and provider-specific recipes.
Why use it?
It reduces errors caused by outdated or guessed provider details, such as resource names, allowed arguments, deprecations, and import formats. The description does not specify a single provider or deployment task.

Skill for Claude CodeCodex

Part of the vegastack-cli plugin — 3 skills, 1 hook, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/vegastack/vegastack-cli/e5
Any agent
npx skills add vegastack/vegastack-cli --skill e5
Clone the repo
git clone --depth 1 https://github.com/vegastack/vegastack-cli

Made for: Claude Code, Codex.

Or install vegastack-cli, the plugin that ships this one along with the rest of its 3 skills, 1 hook, 1 MCP server.

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 terraform-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/vegastack/vegastack-cli/e5.svg)](https://agentmods.dev/skills/vegastack/vegastack-cli/e5)
Your own site
<a href="https://agentmods.dev/skills/vegastack/vegastack-cli/e5"><img src="https://agentmods.dev/badge/skills/vegastack/vegastack-cli/e5.svg" alt="Measured on agentmods" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00187 $0.04072
Opus 5 $0.00093 $0.02036
Sonnet 5 $0.00037 $0.00814
Haiku 4.5 $0.00019 $0.00407

Measured 4d ago against content hash bbf02c858e4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 4d 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.

docs/status/E5/SKILL.md · 233 lines

How it starts

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

Terraform Providers Kit — v0.1

You have local, deterministic, read-only access to up-to-date documentation for 31 Terraform providers (1Password, Ansible, Auth0, AWS, Azure, ClickHouse, Cloudflare, CrowdStrike, Datadog, DigitalOcean, External, GCP, GitHub, GitLab, Grafana, Helm, Kubernetes, Local, MongoDB Atlas, Netlify, Okta, PagerDuty, Pinecone, Random, Redis Cloud, Snowflake, Splunk, Time, TLS, Vault, Vercel), plus a four-channel enrichment layer (recent-change knowledge cards, cross-provider recipes, concept aliases for natural-language queries, and recommended-companion graphs). Treat these files as ground truth and prefer them over training memory — provider schemas change frequently, services get renamed, arguments get deprecated, and recommended patterns shift.

Why this skill exists

Coding agents are good at composing HCL but bad at remembering exact resource names, argument lists, enum values, import-ID formats, and which patterns are still recommended this year vs. last year. Web search is slow and noisy; MCP servers add a network hop you don't need; just guessing produces HCL that fails terraform plan. This skill removes those failure modes. The bundled docs are the same upstream markdown files that power registry.terraform.io, mirrored daily by bundle/scripts/sync_docs.sh. On top of those raw docs, a deterministic harness gives you O(1) lookups for resource metadata, soft-dependency expansion, and ranked discovery from natural-language queries. There's no model and no embeddings inside the harness — answers are reproducible and citable.

The single command

vegastack tf "<the user's request, in natural language>"

vegastack is the bundled CLI (npm: @vegastack/cli, bin: vegastack). It auto-resolves the docs bundle (downloaded by vegastack install to ~/.config/vegastack/bundle/), auto-detects which provider the query belongs to, and returns one JSON envelope on stdout. The response is enriched: top-K results in files[] arrive with the resource's full manifest entry inline (no follow-up jq calls needed) and the ## Example Usage block inline (no follow-up grep calls needed). One tool call per task in the common case.

Read the full file on GitHub · 233 lines

Files

What ships with it

1 file 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. 4d ago First seen · 233 lines · 187 tokens per session scan A bbf02c858e4d

Subscribe to this mod's changes

terraform-docs is a skill published in the GitHub repository vegastack/vegastack-cli (2 stars, last pushed 3mo ago), licensed MIT. It adds 187 tokens to every session and 4,072 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens

atmos-auth

Authentication and identity management: providers (SSO/SAML/OIDC/GCP/Atmos Pro), identities, keyring, identity chaining, login/exec/shell/console, and github/sts for private GitHub access.

cloudposse/atmos · 48 tokens

terraform-search-import

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

hashicorp/agent-skills · 39 tokens