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/soulcodex/agentic/create-terraform-modulenpx skills add soulcodex/agentic --skill create-terraform-modulegit clone --depth 1 https://github.com/soulcodex/agenticWhat 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 | $0.00047 | $0.00639 |
| Opus 5 | $0.00023 | $0.00319 |
| Sonnet 5 | $0.00009 | $0.00128 |
| Haiku 4.5 | $0.00005 | $0.00064 |
Grade A, and why
create-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 2d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Terraform Module Skill
Create or revise Terraform module implementation details for AWS workloads.
Always pair this skill with terraform-risk-playbook. That skill is
authoritative for the response contract, risk category, version/runtime floor,
validation expectations, and rollback notes.
Authoritative precedence: when this skill and terraform-infrastructure are both
active, this skill is authoritative for module layout, file set, and module
interface details.
Step 1 - Define Module Contract
Define module inputs/outputs first:
- required vs optional variables
- typed structures (
object,list(object)) where appropriate - sensitive inputs marked with
sensitive = true - outputs scoped to consumer needs only
- do not treat
sensitive = trueas state protection; avoid module interfaces that require raw secret values when a reference/ARN can be passed instead
Step 2 - Create Module Structure
Use module-skeleton.md as the required baseline layout.
Rules:
- include
README.md,versions.tf,providers.tf,main.tf,variables.tf,outputs.tf - keep environment-specific values outside reusable modules
- avoid hidden dependencies on caller-side locals/naming
- child modules must not configure provider credentials/regions directly; define
required_providersand let the root module pass provider instances/aliases
Step 3 - Implement AWS Resources Safely
Apply consistent tagging and naming conventions.
Implementation guardrails:
- explicit
required_providersand Terraform version constraints lifecycleusage only when justified and documented- stable resource addressing to reduce churn in plans
- prefer
for_eachovercountwhen item identity must survive reordering or selective removal - when refactoring addresses, emit
movedblocks or explicit migration notes instead of rename-only changes - verify runtime floor before suggesting
import,moved,optional(), mock providers, orwrite_onlypatterns - no plaintext secrets in code or defaults
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.
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.
- 2d ago First seen · 86 lines · 47 tokens per session scan A 82263fc731d1
create-terraform-module is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 639 once invoked, about $0.0002 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
frontend-architecture
Component architecture, design patterns, state management strategies, module systems, build tools, and scalable application structure.
aws-cloud-architecture
Comprehensive guide to AWS cloud architecture covering compute, storage, databases, networking, security, serverless, and cost optimization with production-ready patterns.
terraform-infrastructure-as-code
Comprehensive Terraform Infrastructure as Code skill covering resources, modules, state management, workspaces, providers, and advanced patterns for cloud-agnostic infrastructure deployment.
Terraform Infrastructure as Code
Production-grade Terraform development with HCL best practices, module design, state management, multi-cloud patterns, and AI-enhanced infrastructure as code for scalable cloud deployments.
survey-design
Design unbiased survey instruments — question wording, scales, and sampling — to measure attitudes at scale. Use when you need quantitative breadth. For behavioural experiments, use a-b-test-design (prototyping-testing).
design-negotiation
Advocate for design quality, scope, and timeline with partners and leadership using evidence and shared goals. Use in the conversation itself. For the commercial vocabulary behind it, use business-design (ux-strategy).