alibabacloud-terraform-codegen

alibabacloud-terraform-codegen is a skill for Claude Code from aliyun/alibabacloud-agent-toolkit. It costs 180 tokens per session (6,272 once invoked), scanned A, original, Apache-2.0.

A generator that turns natural-language Alibaba Cloud infrastructure requests into Terraform configuration. Terraform configuration describes cloud resources such as networks, servers, databases, storage, load balancers, and container services.

In plain words
What is it for?
Use it to create or extend Alibaba Cloud infrastructure code, including resources such as VPCs, ECS servers, RDS databases, OSS storage, load balancers, Function Compute, and ACK.
Why use it?
It reduces the work of writing infrastructure configuration by hand and checks the result against the current Alibaba Cloud provider documentation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the alibabacloud-spec-ops plugin — 6 skills, 2 agents shipped together

Good fit Use it to create or extend Alibaba Cloud infrastructure code, including resources such as VPCs, ECS servers, RDS databases, OSS storage, load balancers, Function Compute, and ACK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-codegen
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-codegen
Clone the repo
git clone --depth 1 https://github.com/aliyun/alibabacloud-agent-toolkit

Made for: Claude Code.

Or install alibabacloud-spec-ops, the plugin that ships this one along with the rest of its 6 skills, 2 agents.

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-codegen

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-codegen"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-terraform-codegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,272 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.00180 $0.06272
Opus 5 $0.00090 $0.03136
Sonnet 5 $0.00036 $0.01254
Haiku 4.5 $0.00018 $0.00627

Measured 11d ago against content hash 79d20490a6d6, 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-codegen 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 2 executable files (scripts/build_alicloud_providers.py, scripts/build_deprecated_fields.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-spec-ops/skills/alibabacloud-terraform-codegen/SKILL.md · 555 lines

How it starts

The opening of the file, as written. The whole thing — 555 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 knowledge is pulled from the provider's own docs at generation time — no local gold examples are maintained.

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 alicloud provider resolves credentials through seven mechanisms (env AK/SK, shared config.json, ECS instance RAM role, Assume Role, OIDC/RRSA, sidecar URI, static HCL) — see references/auth-and-network.md for the full chain. All read by the provider itself, never by this skill. Do NOT recommend the deprecated ALICLOUD_* / ALIBABACLOUD_* (no-underscore) env-var names — the current names are ALIBABA_CLOUD_ACCESS_KEY_ID / _ACCESS_KEY_SECRET / _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. No local terraform execution

This skill NEVER runs terraform locally — not fmt, init, validate, plan, or apply. Validation routes through MCP (Step 6, aliyun iacservice validate-module via AlibabaCloud___CallCLI). Plan and apply belong to a separate skill — in the spec-ops workflow that is alibabacloud-executing-plans, which runs through Alibaba Cloud IaC Service rather than a local binary. See Step 8 for the handoff.

Environment (soft recommendations)

  • MCP — the alibabacloud-spec-ops MCP server must be reachable; all IaCService calls (Step 6 validation, Step 8 handoff context) go through AlibabaCloud___CallCLI. No local terraform binary is required.
  • Network is required — Step 4.2 WebFetches each resource's provider doc.

Read the full file on GitHub · 555 lines

Files

What ships with it

6 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.

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 · 555 lines · 180 tokens per session scan A 79d20490a6d6

Subscribe to this mod's changes

alibabacloud-terraform-codegen is a skill published in the GitHub repository aliyun/alibabacloud-agent-toolkit (21 stars, last pushed 10d ago), licensed Apache-2.0. It adds 180 tokens to every session and 6,272 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-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

bailian-managed-agent

A command-line tool for managing Alibaba Cloud Bailian hosted agents and deployments from an agents.yaml file. This file acts as the single description of the remote resources, similar to infrastructure-as-code configuration.

modelstudioai/cli · 255 tokens

cloud-administration

Administers the cloud the company runs on rather than the one it sells — tenant and subscription structure, the SaaS estate and who owns each app, identity as the real perimeter, cloud spend that arrives as a surprise, and what the provider does not do for you. Use this to structure subscriptions or tenants, get…

cbrock84/headcount · 100 tokens

telephony-and-conferencing

Runs voice and meeting infrastructure — phone systems and numbers, emergency calling obligations, conference rooms and their AV, call recording and its retention consequences, and the porting that makes provider changes go badly. Use this to replace a phone system, fix rooms nobody can start a meeting in, meet…

cbrock84/headcount · 85 tokens

virtualization-operations

Runs the hypervisor layer beneath the servers — host capacity and consolidation ratios, VM sprawl, snapshot discipline, resilience and live migration, and licensing that counts cores rather than instances. Use this to size or expand a cluster, work out why VMs are slow when the hosts look idle, clean up sprawl, set…

cbrock84/headcount · 86 tokens