/ Diretório / Playground / HashiCorp Agent Skills
● Oficial hashicorp ⚡ Instantâneo

HashiCorp Agent Skills

por hashicorp · hashicorp/agent-skills

Official HashiCorp Claude Code plugins + agent skills for Terraform, Vault, Nomad.

HashiCorp's official agent skills bundle: Terraform module authoring, Vault policy generation, Nomad job specs, Consul service mesh. These encode the canonical 'right way' for each tool rather than letting the LLM hallucinate HCL.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

hashicorp-agent-skills.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "hashicorp-agent-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hashicorp/agent-skills",
        "~/.claude/skills/agent-skills"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "hashicorp-agent-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hashicorp/agent-skills",
        "~/.claude/skills/agent-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "hashicorp-agent-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hashicorp/agent-skills",
        "~/.claude/skills/agent-skills"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "hashicorp-agent-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hashicorp/agent-skills",
        "~/.claude/skills/agent-skills"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "hashicorp-agent-skills",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hashicorp/agent-skills",
        "~/.claude/skills/agent-skills"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "hashicorp-agent-skills": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/hashicorp/agent-skills",
          "~/.claude/skills/agent-skills"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add hashicorp-agent-skills -- git clone https://github.com/hashicorp/agent-skills ~/.claude/skills/agent-skills

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: HashiCorp Agent Skills

Author a reusable Terraform module the HashiCorp way

👤 Platform engineers ⏱ ~15 min intermediate

Quando usar: You want a module that won't get torched in code review.

Pré-requisitos
  • Server/skill installed and authenticated — See repo README
Fluxo
  1. Scaffold
    Use the HashiCorp Terraform skill to scaffold a module for an AWS RDS Postgres with backups and CMK encryption.✓ Copiado
    → Module skeleton with variables, outputs, README, examples/
  2. Validate
    Run tflint and the skill's checklist. Fix anything that fails.✓ Copiado
    → Clean tflint + checklist green

Resultado: Module that matches HashiCorp's published conventions.

Armadilhas
  • Versions drift fast. Re-pull the skill quarterly — Versions drift fast. Re-pull the skill quarterly — provider major versions change argument names.

Custo e limites

O que custa rodar

Cota de API
See provider docs for rate limits
Tokens por chamada
Varies by tool
Monetário
See repo README for pricing details
Dica
Cache tool results and avoid repeated identical calls.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: Use environment variables; never commit secrets
Saída de dados: Tool calls go to the provider's API as documented

Solução de problemas

Erros comuns e correções

skill references deprecated argument

Update the skill (git pull in ~/.claude/skills/hashicorp-agent-skills) and re-read its docs.

Verificar: git log --oneline | head
provider version conflict

The skill suggests required_providers blocks; align your root module to the same major version.

Verificar: terraform init succeeds

Alternativas

HashiCorp Agent Skills vs. outros

AlternativaQuando usarTroca
Generic Terraform examplesYou want community modules instead of authoringNo authoring guidance

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills