# agent-skills — HashiCorp Skills Marketplace > A curated infra skills marketplace (Terraform, Packer, etc.). Install via `npx skills add` and use it in Claude Code or any Agent Skills client. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use 1. Install / run: ```bash npx skills add hashicorp/agent-skills ``` 2. Start / smoke test: ```bash npx skills add hashicorp/agent-skills/terraform/code-generation/skills/terraform-style-guide ``` 3. Verify: - Ask your assistant to generate a small Terraform module and confirm it follows the installed style guide and validation rules. ## Intro A curated infra skills marketplace (Terraform, Packer, etc.). Install via `npx skills add` and use it in Claude Code or any Agent Skills client. - **Best for:** Infra teams who want agents to follow consistent Terraform/Packer conventions and generate safer infrastructure code - **Works with:** Agent Skills spec clients + Node.js (npx) installs (per README) - **Setup time:** 6 minutes ## How to Use It Well - Setup time ~6 minutes (npx install + install one skill path) - GitHub stars + forks (verified): see Source & Thanks - Skills are installable by path for tighter scoping (avoid installing everything) The fastest win is to standardize “what good looks like” for your infra code. Install a style guide skill, then ask the agent to generate modules with that spec—and reject output that fails formatting, linting, or policy checks. ### FAQ **Q: What is a “skill” here?** A: A packaged set of instructions, references, and examples that a coding assistant can load on demand. **Q: Can I install only Terraform?** A: Yes—use the per-skill path form shown in the README. **Q: How do I keep it safe?** A: Treat skills like code review inputs: scope them narrowly and verify any generated output with Terraform plan/apply gates. ## Source & Thanks > Source: https://github.com/hashicorp/agent-skills > License: MPL-2.0 > GitHub stars: 611 · forks: 74 --- ## 快速使用 1. 安装 / 运行: ```bash npx skills add hashicorp/agent-skills ``` 2. 启动 / 冒烟测试: ```bash npx skills add hashicorp/agent-skills/terraform/code-generation/skills/terraform-style-guide ``` 3. 验证: - Ask your assistant to generate a small Terraform module and confirm it follows the installed style guide and validation rules. ## 简介 HashiCorp 维护的技能市场,覆盖 Terraform/Packer 等方向;可用 `npx skills add` 安装,适用于支持 Agent Skills 规范的 Claude Code 等助手。 - **适合谁:** 希望 agent 遵循一致的 Terraform/Packer 规范、生成更安全基础设施代码的团队 - **可搭配:** 支持 Agent Skills 规范的客户端 + Node.js(npx 安装,见 README) - **准备时间:** 6 分钟 ## 实战建议 - 跑通约 6 分钟(npx 安装 + 装一个具体 skill) - GitHub stars + forks(已核验):见「来源与感谢」 - 支持按路径安装,便于更小范围地引入能力(避免全量安装) 最快的收益是把“好代码的标准”固化下来:先安装 style guide skill,再让 agent 按规范生成模块,并用格式化、lint、策略校验把不合规输出挡住。 ### FAQ **这里的 skill 是什么?** A: 是一组可被助手按需加载的说明、参考资料与示例代码包。 **能只装 Terraform 相关吗?** A: 可以,按 README 的路径形式安装具体 skill 即可。 **如何更安全?** A: 把 skill 当作“代码评审输入”:尽量小范围安装,并用 plan/apply 等流程门禁校验输出。 ## 来源与感谢 > Source: https://github.com/hashicorp/agent-skills > License: MPL-2.0 > GitHub stars: 611 · forks: 74 --- Source: https://tokrepo.com/en/workflows/agent-skills-hashicorp-skills-marketplace Author: Skill Factory