/ Annuaire / Playground / HashiCorp Agent Skills
● Officiel hashicorp ⚡ Instantané

HashiCorp Agent Skills

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

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

hashicorp-agent-skills.replay ▶ prêt
0/0

Installer

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

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

~/.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 utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la 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
    }
  }
}

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "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
    }
  }
}

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

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

Continue utilise un tableau d'objets serveur plutôt qu'une 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"
        ]
      }
    }
  }
}

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

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

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : HashiCorp Agent Skills

Author a reusable Terraform module the HashiCorp way

👤 Platform engineers ⏱ ~15 min intermediate

Quand l'utiliser : You want a module that won't get torched in code review.

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

Résultat : Module that matches HashiCorp's published conventions.

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

Coût et limites

Coût d'exécution

Quota d'API
See provider docs for rate limits
Tokens par appel
Varies by tool
Monétaire
See repo README for pricing details
Astuce
Cache tool results and avoid repeated identical calls.

Sécurité

Permissions, secrets, portée

Stockage des identifiants : Use environment variables; never commit secrets
Sortie de données : Tool calls go to the provider's API as documented

Dépannage

Erreurs courantes et correctifs

skill references deprecated argument

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

Vérifier : git log --oneline | head
provider version conflict

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

Vérifier : terraform init succeeds

Alternatives

HashiCorp Agent Skills vs autres

AlternativeQuand l'utiliserCompromis
Generic Terraform examplesYou want community modules instead of authoringNo authoring guidance

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills