Token导航 LogoToken导航

Agent Skill · 效率

terraform-iac(Terraform IAC ORM)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

terraform-iac 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 10,397。

总安装 5,217周安装 209GitHub Stars 公开资料未说明下载 1,689核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:terraform-iac(Terraform IAC ORM)
来源仓库:https://github.com/clawkk/terraform-iac
安装命令:
openclaw skills install terraform-iac
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install terraform-iac

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

terraform-iac 用于深度管理 Terraform 基础设施即代码流程。适合在 OpenClaw 中需要处理状态漂移、CI 集成或团队治理时使用。它提供模块边界划分和工作空间管理指导。terraform-iac 属于效率类 Skill,可作为该场景下的辅助能力补充。使用前需确认后端状态锁定机制和访问控制策略。

涉及敏感操作时应启用审批流程和审计日志。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install terraform-iac;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

terraform-iac 怎么安装?

在终端执行 openclaw skills install terraform-iac。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

terraform-iac 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

terraform-iac 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

terraform-iac 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

terraform-iac 用的人多吗?

公开数据是累计安装 5,217 次,近一周安装 209 次,下载 1,689 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

terraform-iac 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
terraform-iac

Terraform IAC ORM · 本页

5,217—只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
terraform-iac
description
Deep Terraform/IaC workflow—module boundaries, state, workspaces, plan/apply safety, drift, secrets, CI integration, and team governance. Use when building infra as code, refactoring modules, or debugging state issues.

Terraform / IaC (Deep Workflow)

Terraform’s sharp edges are state, modules, dependencies, and team workflow. Guide users toward reviewable plans, least blast radius, and recoverable mistakes.

When to Offer This Workflow

Trigger conditions:

  • Greenfield IaC, module extraction, upgrading providers
  • “Drift”, failed applies, state lock issues, wrong env destroyed
  • CI integration for plan-on-PR, policy-as-code (Sentinel/OPA)

Initial offer:

Use six stages: (1) scope & structure, (2) modules & interfaces, (3) state & workspaces, (4) secrets & providers, (5) plan/apply & CI, (6) operations & drift. Confirm cloud(s) and remote state backend.


Stage 1: Scope & Structure

Goal: Repo layout matches team ownership and blast radius.

Patterns

  • Monorepo vs multi-repo per env—trade-offs in coordination vs isolation
  • Live vs modules folders; environment composition at root

Naming & tags

  • Consistent resource naming; mandatory tags (owner, env, cost center)

Exit condition: Directory layout diagram; what lives together vs separate states justified.


Stage 2: Modules & Interfaces

Goal: Reusable modules with clear inputs/outputs—not copy-paste with vars.

Practices

  • Small modules with single responsibility; composition over mega-modules
  • Variables with validation blocks; sensible defaults documented
  • Outputs only what consumers need—avoid leaking internals

Versioning

  • Module registry or git refs pinned; changelog for breaking changes

Exit contract: Module README: purpose, inputs table, example snippet.


Stage 3: State & Workspaces

Goal: One state per blast-radius boundary; no shared state accidents.

Remote state

  • Locking (DynamoDB, native backends); encryption at rest
  • IAM least privilege for state bucket—state contains secrets sometimes

Workspaces vs directories

  • Workspaces for parallel envs only when truly symmetric; many teams prefer separate folders + separate state for clarity

Imports & moves

  • moved blocks (Terraform 1.x) for refactors; import for brownfield—plan carefully

Exit condition: State ownership documented; who can run apply in prod.


Stage 4: Secrets & Providers

Goal: No secrets in .tf committed; dynamic secrets where possible.

Practices

  • Vault/AWS/GCP providers for secrets; CI OIDC over long-lived keys
  • Provider version pins; parallelism awareness for rate limits

Exit condition: Secret flow diagram; rotation doesn’t require editing TF files by hand for normal ops.


Stage 5: Plan / Apply & CI

Goal: Plan before apply; peer review for prod.

CI

  • terraform fmt, validate, plan on PR; policy checks optional
  • Artifact or comment plan output; apply from protected branch or pipeline only

Safety

  • prevent_destroy on critical resources when appropriate
  • Targets for surgical applies—dangerous if habitual

Exit condition: Definition of done for infra change includes reviewed plan.


Stage 6: Operations & Drift

Goal: Detect manual console changes; reconcile safely.

Drift

  • Periodic plan in automation; import or revert manual changes with intent

Break-glass

  • Document when console changes allowed and how to backport to code

State recovery

  • Backups if supported; state file corruption playbook—never edit blindly

Final Review Checklist

  • [ ] Module boundaries and versioning strategy clear
  • [ ] Remote state + locking + IAM documented
  • [ ] Secrets not in VCS; providers pinned
  • [ ] CI plan/apply governance defined
  • [ ] Drift detection and recovery understood

Tips for Effective Guidance

  • Emphasize state is truth—code must match or you pay interest forever.
  • Warn: count/for_each changes can destroy/recreate—use moved and lifecycle thoughtfully.
  • Multi-cloud: abstract patterns, but don’t hide provider-specific footguns.

Handling Deviations

  • Terragrunt/Pulumi: map stages to equivalent concepts—stack, state, modules.
  • Kubernetes-only: separate cluster IaC from in-cluster resources (Helm) boundaries.

平台分布

OpenClaw

73.04%
按下载量换算1,234

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills