# TerraShark

> Keep your agent's Terraform and OpenTofu correct: a failure-mode workflow against state churn, leaked secrets, blast radius and CI drift.

TerraShark is an open-source agent skill by Lukas Niessen for writing and reviewing Terraform and OpenTofu. It gives your agent a step-by-step workflow built around the ways infrastructure code usually goes wrong, with good, bad and neutral examples, and it's based mainly on HashiCorp's recommended practices.

What you can do with it
- Generate modules and stacks that avoid identity churn: unstable resource addresses, count-to-for_each moves and missing moved blocks
- Review code for secret exposure and security and governance gaps
- Plan changes with the blast radius in mind, such as splitting state per environment
- Set up CI and delivery: plan on pull requests, gated applies and drift detection
- Add compliance gates and a testing matrix for your infrastructure code
- Follow migration playbooks and module architecture guidance

How it connects
- In Claude Code, run /plugin marketplace add LukasNiessen/terrashark, then /plugin install terrashark. You can also clone it into your skills folder for Claude Code, Antigravity or Gemini CLI, or reference it from AGENTS.md in Codex.
- It activates for Terraform and OpenTofu tasks, or call it directly with /terrashark.

Good to know
- Its answers end with the assumptions, trade-offs and checks behind them.
- The skill keeps its guidance short and loads reference files only when a task needs them.
- It's open source under the MIT licence.

- Type: Skill
- Made by: LukasNiessen
- Category: Cloud & DevOps
- Formats: Skills
- Version: 108c4e8
- Website: https://github.com/LukasNiessen/terrashark
- Source: https://github.com/lukasniessen/terrashark
- Page: https://pluginboard.ai/skills/terrashark

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the terrashark folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Claude

In Claude (web or desktop): Download the terrashark folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Gemini

In Gemini: Download the terrashark folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.copilot/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Cursor

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.cursor/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Claude Code

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.claude/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

Or as a Claude Code plugin:

```text
/plugin marketplace add LukasNiessen/terrashark
/plugin install terrashark@terrashark
```

### Codex

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.agents/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Antigravity

In Antigravity: Copy the terrashark folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Gemini CLI

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.gemini/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Replit

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark .agents/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### OpenClaw

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.openclaw/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### OpenCode

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.config/opencode/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

### Hermes Agent

Run in your terminal:

```shell
npx -y degit LukasNiessen/terrashark ~/.hermes/skills/terrashark
```

View the folder on GitHub: https://github.com/LukasNiessen/terrashark

---
From Pluginboard (https://pluginboard.ai).
