/ Verzeichnis / Playground / HashiCorp Agent Skills
● Offiziell hashicorp ⚡ Sofort

HashiCorp Agent Skills

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

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

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

Installieren

Wählen Sie Ihren Client

~/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
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.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 nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

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

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "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
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

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

Continue nutzt ein Array von Serverobjekten statt einer 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"
        ]
      }
    }
  }
}

In context_servers hinzufügen. Zed lädt beim Speichern neu.

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

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: HashiCorp Agent Skills

Author a reusable Terraform module the HashiCorp way

👤 Platform engineers ⏱ ~15 min intermediate

Wann einsetzen: You want a module that won't get torched in code review.

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

Ergebnis: Module that matches HashiCorp's published conventions.

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

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
See provider docs for rate limits
Tokens pro Aufruf
Varies by tool
Kosten in €
See repo README for pricing details
Tipp
Cache tool results and avoid repeated identical calls.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: Use environment variables; never commit secrets
Datenabfluss: Tool calls go to the provider's API as documented

Fehlerbehebung

Häufige Fehler und Lösungen

skill references deprecated argument

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

Prüfen: git log --oneline | head
provider version conflict

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

Prüfen: terraform init succeeds

Alternativen

HashiCorp Agent Skills vs. andere

AlternativeWann stattdessenKompromiss
Generic Terraform examplesYou want community modules instead of authoringNo authoring guidance

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen