TerraShark
A Terraform skill for Claude Code, Codex, Antigravity and Gemini CLI: cuts hallucinations and keeps code on HashiCorp's official practices
Low risk
We rate an entry low when it mostly gives the agent instructions and reference material.
Why this level
- The skill is practices and examples and does not apply infrastructure itself
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/terrasharkDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add lukasniessen/terrashark --skill terrashark -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Install the skill: git clone https://github.com/LukasNiessen/terrashark.git ~/.claude/skills/terrashark, or in Claude Code /plugin marketplace add LukasNiessen/terrashark and /plugin install terrashark.
Other ways from the author
git clone https://github.com/LukasNiessen/terrashark.git ~/.claude/skills/terrasharkFor Gemini CLI and Antigravity clone into ~/.gemini/skills or ~/.gemini/antigravity/skills.
This is third-party code. Review the repository files before installing.
What it does
TerraShark is a skill that helps an agent write correct Terraform and OpenTofu. It gathers best practices with good, bad and neutral examples so the model avoids common mistakes and defaults to modular, reusable, security-first code. The material is based primarily on HashiCorp's official recommendations, and when guidance conflicts it prioritizes them. The skill is deliberately compacted and de-duplicated to give maximum value per token rather than dumping the whole Terraform docs again.
Who it is for. For devops engineers and developers who write infrastructure as code through an agent.
Good fit when
- The agent hallucinates Terraform resources and syntax
- You want modular, security-first Terraform or OpenTofu
- You want practices grounded in HashiCorp's official recommendations
Not a fit when
- You do not work with Terraform or OpenTofu
- You want a tool that applies infrastructure rather than a practices reference
Example request
Build a Terraform VPC module per HashiCorp practices and point out where common mistakes areLimitations
It is a reference skill: it guides the agent with practices and examples but does not replace infrastructure review and does not run terraform apply itself. The material follows HashiCorp's recommendations, and provider-specific details should be checked separately.
How to disable. Remove the terrashark folder from the agent's skills directory or uninstall the plugin via /plugin.
Security check
- The skill is practices and examples and does not apply infrastructure itself
README in short
The README presents TerraShark as a Terraform skill for Claude Code, Codex, Antigravity and Gemini CLI that fights model hallucinations. It includes practices with good, bad and neutral examples and nudges toward modular, secure code by default. The material is based on HashiCorp's official recommendations and is deliberately de-duplicated to save tokens. Install is via git clone into the target agent's skills directory or via /plugin marketplace add and /plugin install in Claude Code.
FAQ
Does it only work in Claude Code?
No. There are install paths for Claude Code, Codex, Antigravity and Gemini CLI, cloning the folder into the matching skills directory.
Terraform or OpenTofu?
Both. The practices and examples cover Terraform and OpenTofu, and HashiCorp's recommendations win on conflicts.
Related
An MCP server built into the Netdata agent: metrics, logs, alerts and live process, service and container data for an AI assistant
GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent
Agent Skills for Google products
Agent Skills for Google products and technologies
Official Google skill collection for working with Google Cloud, BigQuery, GKE, ads and analytics from an agent
AWS's official MCP server suite: docs, IaC, containers, serverless, databases, cost and monitoring