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 timwukp/agent-skills-best-practice --skill terraform-modulegit clone --depth 1 https://github.com/timwukp/agent-skills-best-practiceWrote 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/timwukp/agent-skills-best-practice/terraform-module)<a href="https://agentmods.dev/skills/timwukp/agent-skills-best-practice/terraform-module"><img src="https://agentmods.dev/badge/skills/timwukp/agent-skills-best-practice/terraform-module/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/timwukp/agent-skills-best-practice/terraform-module"><img src="https://agentmods.dev/badge/skills/timwukp/agent-skills-best-practice/terraform-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00072 | $0.01886 |
| Opus 5.5 | $0.00029 | $0.00754 |
| Sonnet 5.5 | $0.00014 | $0.00377 |
| Haiku 4.5 | $0.00007 | $0.00189 |
Grade A, and why
terraform-module 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 3mo 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 — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform Module
Instructions
Step 1: Gather Requirements
Ask:
- What AWS resources are needed? (VPC, ECS, Lambda, RDS, S3, CloudFront)
- What environment? (dev, staging, production, or multi-environment)
- What compliance requirements? (encryption at rest, VPC isolation, logging)
- Existing infrastructure to integrate with? (VPC ID, subnets, security groups)
- State backend? (S3+DynamoDB, Terraform Cloud, local)
Step 2: Module Structure
Create the standard module layout:
modules/
my-service/
main.tf # Primary resource definitions
variables.tf # Input variable declarations
outputs.tf # Output value declarations
versions.tf # Provider and terraform version constraints
locals.tf # Local values and computed expressions
data.tf # Data sources
README.md # Module documentation
versions.tf (always include):
terraform {
required_version = ">= 1.5"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}
Step 3: Variable Definitions
Define variables with descriptions, types, and validation:
variable "environment" {
description = "Deployment environment (dev, staging, production)"
type = string
validation {
condition = contains(["dev", "staging", "production"], var.environment)
error_message = "Environment must be dev, staging, or production."
}
}
variable "service_name" {
description = "Name of the service, used for resource naming and tagging"
type = string
validation {
condition = can(regex("^[a-z][a-z0-9-]{2,28}$", var.service_name))
error_message = "Service name must be lowercase, start with a letter, 3-29 chars."
}
}
variable "vpc_config" {
description = "VPC configuration for the service"
type = object({
vpc_id = string
private_subnet_ids = list(string)
public_subnet_ids = list(string)
})
}
variable "tags" {
description = "Additional tags to apply to all resources"
type = map(string)
default = {}
}
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.
- 3mo ago First seen · 290 lines · 72 tokens per session scan A b2a49619c7a6
terraform-module is a skill published in the GitHub repository timwukp/agent-skills-best-practice (14 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 1,886 once invoked, about $0.0003 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-08-31.
terraform-module compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terraform-moduletimwukp/agent-skills-best-practice | Skill | 14 | 2mo ago | MIT | A | 72 | Claude Code |
| ecsitsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 35 | Claude Code |
| cloudwatchitsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 43 | Claude Code |
| ec2itsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 320 | Claude Code |
| cloudformationitsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 34 | Claude Code |
| eksitsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 38 | Claude Code |
| eventbridgeitsmostafa/aws-agent-skills | Skill | 1.2k | 4d ago | MIT | A | 41 | Claude Code |