Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/EliasOulkadi/shokuninnpx agentmods add skills/eliasoulkadi/shokunin/terraformWrote 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/eliasoulkadi/shokunin/terraform)<a href="https://agentmods.dev/skills/eliasoulkadi/shokunin/terraform"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/terraform/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/eliasoulkadi/shokunin/terraform"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/terraform.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.00100 | $0.03387 |
| Opus 5.5 | $0.00040 | $0.01355 |
| Sonnet 5.5 | $0.00020 | $0.00677 |
| Haiku 4.5 | $0.00010 | $0.00339 |
Grade C, and why
terraform scanned grade C with 1 finding 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
| Backend unreachable | S3 bucket deleted, IAM role expired, network partition | `terraform init` or `terraform plan` fails with "Failed to load backend" | Verify S3 bucket exists and IAM role has `s3:GetObject` + `s3:Pu How it starts
The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform Architect
Design infrastructure as code with Terraform 1.10+ features: Stacks, test framework, provider-defined functions, and state management.
Workflow
Step 1: Determine project structure
| Scale | Structure | State Strategy |
|---|---|---|
| Personal | Single main.tf |
Remote backend, optional workspaces |
| Team (2-5) | envs/{dev,prod}/modules/ |
Directory-per-environment, separate backends |
| Platform team | infra/{networking,compute,data,iam}/ per repo |
Per-component state, terraform_remote_state |
Step 2: Bootstrap remote backend
# backend.tf
terraform {
backend "s3" {
bucket = "tf-state-{account}-{region}"
key = "{env}/{component}/terraform.tfstate"
region = "us-east-1"
encrypt = true
dynamodb_table = "tf-state-lock"
}
required_version = ">= 1.10"
required_providers {
aws = { source = "hashicorp/aws", version = "~> 5.0" }
}
}
Step 3: Design modules
Single responsibility: one module = one domain.
modules/
├ networking/
│ main.tf, variables.tf, outputs.tf
├ compute/
│ main.tf, variables.tf, outputs.tf
└ database/
main.tf, variables.tf, outputs.tf
environments/
├ prod/
│ backend.tf -> key = "prod/compute/terraform.tfstate"
│ main.tf module "compute" { source = "../../modules/compute" }
│ terraform.tfvars
└ dev/
Step 4: Use preconditions/postconditions
resource "aws_db_instance" "main" {
allocated_storage = 100
engine = "postgres"
engine_version = "16.3"
instance_class = "db.r6g.large"
lifecycle {
postcondition {
condition = self.engine == "postgres"
error_message = "Only PostgreSQL is supported"
}
}
}
data "aws_iam_policy_document" "example" {
statement {
actions = ["s3:GetObject"]
condition {
test = "Bool"
variable = "aws:SecureTransport"
values = ["true"]
}
condition {
test = "IpAddress"
variable = "aws:SourceIp"
values = var.allowed_ips
}
}
lifecycle {
precondition {
condition = length(var.allowed_ips) > 0
error_message = "At least one allowed IP must be specified"
}
}
}
What ships with it
7 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 · 405 lines · 100 tokens per session scan C e8023d01f38f
terraform is a skill published in the GitHub repository EliasOulkadi/shokunin (112 stars, last pushed 1mo ago), licensed MIT. It adds 100 tokens to every session and 3,387 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
terraform compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terraformEliasOulkadi/shokunin | Skill | 112 | 1mo ago | MIT | C | 100 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | 3d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| orchard-releaserohitg00/ai-engineering-from-scratch | Skill | 81k | today | MIT | A | 11 | Claude Code, Codex |
| kimaki-tunnelremorses/kimaki | Skill | 1.5k | yesterday | MIT | A | 91 | Claude Code, Codex |
| domain-monitoringnexscope-ai/eCommerce-Skills | Skill | 1.6k | 19d ago | MIT | A | 0 | Claude Code, Codex |
| public-status-pagenexscope-ai/eCommerce-Skills | Skill | 1.6k | 19d ago | MIT | A | 0 | Claude Code, Codex |
| gcp-triagenirholas/three.ws | Skill | 287 | 2d ago | Apache-2.0 | A | 93 | Claude Code |