alibabacloud-terraform-code-generation

alibabacloud-terraform-code-generation is a skill for Claude Code, Codex from aliyun/alibabacloud-agent-toolkit. It costs 212 tokens per session (5,876 once invoked), scanned A, original, Apache-2.0.

A guide for generating Terraform code for Alibaba Cloud infrastructure. Terraform code describes resources such as networks, virtual servers, databases, storage, load balancers, and container platforms.

In plain words
What is it for?
Creating or extending Alibaba Cloud Terraform projects, resolving resource settings from provider information, and producing code for services including VPC, ECS, RDS, OSS, ALB, Function Compute, and ACK.
Why use it?
It turns infrastructure requirements into provider-compatible code while checking resource details and avoiding exposed credentials. It also requires honest reporting of whether formatting, validation, or planning commands actually ran.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the alibabacloud-core plugin — 10 skills, 6 hooks, 1 MCP server shipped together

Good fit Creating or extending Alibaba Cloud Terraform projects, resolving resource settings from provider information, and producing code for services including VPC, ECS, RDS, OSS, ALB, Function Compute, and ACK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation
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.

Any agent
npx skills add aliyun/alibabacloud-agent-toolkit --skill alibabacloud-terraform-code-generation
Clone the repo
git clone --depth 1 https://github.com/aliyun/alibabacloud-agent-toolkit

Made for: Claude Code, Codex.

Or install alibabacloud-core, the plugin that ships this one along with the rest of its 10 skills, 6 hooks, 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 alibabacloud-terraform-code-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation/github.svg)](https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation)
Your own site
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation/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.

agentmods 80×15 button for alibabacloud-terraform-code-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-code-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00212 $0.05876
Opus 5 $0.00106 $0.02938
Sonnet 5 $0.00042 $0.01175
Haiku 4.5 $0.00021 $0.00588

Measured 11d ago against content hash b46fa46aa4f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

alibabacloud-terraform-code-generation 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 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/build_alicloud_providers.py, scripts/build_deprecated_fields.py, scripts/iacservice.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/alibabacloud-core/skills/alibabacloud-terraform-code-generation/SKILL.md · 517 lines

How it starts

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

Alibaba Cloud Terraform Code Generation

Turn natural-language Alibaba Cloud infrastructure requirements into validated Terraform for the current aliyun/alicloud provider. Resource schema and validation are resolved through IaCService via MCP; Terraform provider docs and local reference files are used for HCL argument shape, examples, deprecations, and product-specific guardrails.

Hard rules (never violate)

1. Credentials — never leak, never require

NEVER read, print, ask for, or write AK/SK values anywhere — HCL, comments, env declarations, shell output, logs. The provider reads credentials itself from env, shared config, RAM role, OIDC/RRSA, sidecar, or static HCL. Do NOT recommend deprecated ALICLOUD_* or ALIBABACLOUD_* env names; current names are ALIBABA_CLOUD_ACCESS_KEY_ID, _ACCESS_KEY_SECRET, and _SECURITY_TOKEN.

2. Honest reporting — never claim a step you didn't run

Never report fmt: ok / validate: ok / plan: ok unless the corresponding command actually executed AND returned that status. When a step is skipped (tool missing, user opt-out), state "SKIPPED" (or "FAILED") with a reason. Paraphrasing real output is fine; fabricating it is not.

3. Validation and execution boundary

Never run terraform apply. Run terraform plan only when the user asks. Validation uses IaCService MCP when available, otherwise local terraform fmt/init/validate when the binary exists. Never claim validation passed unless that exact path ran successfully.

Environment (soft recommendations)

  • MCP — prefer the CallCLI-compatible tool exposed by the alibabacloud-core MCP server for IaCService API calls. Tool names may be namespace-prefixed by the host client; select the tool whose name ends with AlibabaCloud___CallCLI or is documented by the installed plugin as CallCLI. Do NOT call local aliyun or helper scripts for IaCService when that MCP tool is available.
  • IaCService endpoint — use --endpoint iac.cn-zhangjiakou.aliyuncs.com for all IaCService commands. Do NOT derive endpoints from region.
  • Terraform fallback — local Terraform is optional and used only when IaCService validation is unavailable.

Read the full file on GitHub · 517 lines

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. 11d ago First seen · 517 lines · 212 tokens per session scan A b46fa46aa4f5

Subscribe to this mod's changes

alibabacloud-terraform-code-generation is a skill published in the GitHub repository aliyun/alibabacloud-agent-toolkit (21 stars, last pushed today), licensed Apache-2.0. It adds 212 tokens to every session and 5,876 once invoked, about $0.0011 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-30.

Related

Other skills, from other repositories

alibabacloud-ecs-windows-os-troubleshooting

Troubleshoot and repair Alibaba Cloud ECS Windows instances from inside the GuestOS or remotely via Cloud Assistant. Use whenever the user reports any Windows symptom or asks for a health check on an ECS Windows instance, even vague ones like "check this machine": boot failures (BSOD, black screen, boot loop, stuck at…

aliyun/alibabacloud-ecs-troubleshoot-skills · 215 tokens

alibabacloud-ecs-linux-os-troubleshooting

Troubleshoot an Alibaba Cloud ECS Linux OS. Use when a user needs to diagnose a specified ECS Linux instance, such as instance stuck in Starting, boot stuck, SSH/VNC/Workbench login failure, network issues, disk/FS issues, performance anomalies, suspected mining or hidden processes, crash/hang, clock drift, or…

aliyun/alibabacloud-ecs-troubleshoot-skills · 84 tokens

webrtc-livekit

Deploy LiveKit WebRTC SFU (docs.livekit.io — Apache-2.0 Go binary): livekit-server (SFU binary, YAML + env config), livekit-cli (admin + load-testing — create-token, load-test, room list, room join), livekit-egress (record/stream-out to HLS/MP4/RTMP), livekit-ingress (RTMP/WHIP/SRT/URL ingest), livekit-agents…

damionrashford/media-os · 243 tokens

cf-worker

Generate Cloudflare Worker scripts.

barnburner121/claude-plugin-marketplace · 8 tokens

azure-fn

Generate Azure Functions.

barnburner121/claude-plugin-marketplace · 7 tokens

stripe-projects

Provision SaaS services + sync creds via Stripe Projects.

NousResearch/hermes-agent · 15 tokens