kubernetes-skill
The #1 Kubernetes skill for Claude Code and Codex, measured by GitHub stars.
The #1 Terraform skill for Claude Code and Codex, measured by GitHub stars.
> /plugin marketplace add LukasNiessen/terrashark> /plugin install terrashark@terrashark
The #1 Kubernetes skill for Claude Code and Codex, measured by GitHub stars.
FAQ
terrashark is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes terrashark. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Repo: LukasNiessen/terrashark
The #1 Terraform skill for Claude Code and Codex, measured by GitHub stars.
LLMs hallucinate a lot when it comes to Terraform. This skill fixes it. It includes best practices for Terraform and OpenTofu - good, bad, and neutral examples so the AI avoids common mistakes. Using TerraShark, the AI keeps proven practices in mind, eliminates hallucinations, and defaults to modular, reusable, security-first design.
Most Terraform skills dump huge text-of-walls onto the agent and burn expensive tokens - with no upside. LLMs don't need the entire Terraform docs again. TerraShark was aggressively de-duplicated and optimized for maximum quality per token.
TerraShark is primarily based on HashiCorp official recommended practices. When guidance conflicts, it prioritizes HashiCorp's recommendations.
Quick Start โข Why TerraShark? โข Token Strategy โข What's Included โข How It Works โข Sponsor โข Philosophy
macOS / Linux:
git clone https://github.com/LukasNiessen/terrashark.git ~/.claude/skills/terrashark
Windows (Powershell):
git clone https://github.com/LukasNiessen/terrashark.git "$env:USERPROFILE\.claude\skills\terrashark"
Windows (Command Prompt):
git clone https://github.com/LukasNiessen/terrashark.git "%USERPROFILE%\.claude\skills\terrashark"
That's it. Claude Code auto-discovers skills in ~/.claude/skills/ - no restart needed.
Claude Code has a built-in plugin system with marketplace support. Instead of cloning manually, you can add TerraShark's marketplace and install directly from the CLI:
/plugin marketplace add LukasNiessen/terrashark
/plugin install terrashark
Or use the interactive plugin manager - run /plugin, switch to the Discover tab, and install from there. The marketplace reads the .claude-plugin/marketplace.json in this repo to register TerraShark as an installable plugin.
Codex has no global skill system - setup is per-project. Clone TerraShark into your repo and reference it from your AGENTS.md:
# Clone into your project root
git clone https://github.com/LukasNiessen/terrashark.git .terrashark
Then add to your AGENTS.md (or create one in the repo root):
## Terraform
When working with Terraform or OpenTofu, follow the workflow in `.terrashark/SKILL.md`.
Load references from `.terrashark/references/` as needed.
macOS / Linux:
git clone https://github.com/LukasNiessen/terrashark.git ~/.gemini/antigravity/skills/terrashark
Windows (PowerShell):
git clone https://github.com/LukasNiessen/terrashark.git "$env:USERPROFILE\.gemini\antigravity\skills\terrashark"
Antigravity auto-discovers skills in the skills directory โ no restart needed.
Gemini CLI discovers skills in several standard locations.
Global Installation (All Workspaces):
git clone https://github.com/LukasNiessen/terrashark.git ~/.gemini/skills/terrashark
Local Installation (Current Workspace):
git clone https://github.com/LukasNiessen/terrashark.git .gemini/skills/terrashark
Gemini CLI auto-discovers skills in these directories. Run /skills list in the CLI to verify.
Done. Now ask Claude Code / Codex / Antigravity / Gemini CLI any Terraform question. TerraShark responses follow the 7-step failure-mode workflow and include an output contract with assumptions, tradeoffs, and rollback notes.
Invoke explicitly:
/terrashark Create a multi-region S3 module with replication
/terrashark Refactor our EKS stack into separate state files per environment, add moved blocks to avoid recreation, set up a GitHub Actions pipeline with plan on PR and gated apply on merge, and wire in Checkov for compliance scanning
Or just ask naturally - TerraShark activates automatically for any Terraform/OpenTofu task:
Review my main.tf for security issues
Migrate this module from count to for_each
https://github.com/user-attachments/assets/2bc4c9ff-9f54-4a49-8bf0-5cfc0f26dec6
Here's how TerraShark compares to other Terraform and OpenTofu agent skills:
| Feature | TerraShark | Anton Babenko terraform-skill | terraform-patterns |
|---|---|---|---|
| Core Architecture | โ Failure-mode workflow | โ ๏ธ Static reference manual | โ ๏ธ Pattern checklist |
| SKILL.md Activation Cost | โ ~600 tokens | โ ๏ธ ~4,400 tokens | โ ๏ธ Single broad reference |
| Reference Granularity | โ 19 focused files | โ ๏ธ 6 large files | โ No focused reference library |
| Token Burn Per Query | โ Low (load 1-2 small refs) | โ ๏ธ High for deep references | โ ๏ธ Loads broad guidance |
| Diagnoses Before Generating | โ Step 2 requires diagnosis | โ No | โ No |
| Hallucination Prevention | โ Core design goal | โ ๏ธ Indirect via best practices | โ ๏ธ Indirect via patterns |
| Output Contract | โ Assumptions, tradeoffs, rollback | โ No | โ No |
| Failure-Mode Coverage | โ Identity, secrets, blast radius, CI, compliance | โ ๏ธ General state/security advice | โ ๏ธ General anti-pattern summary |
| Migration Playbooks | โ 5 dedicated playbooks | โ ๏ธ Partial inline snippets | โ ๏ธ Import and moved-block notes |
| Good/Bad/Neutral Examples | โ 3 dedicated files | โ ๏ธ Inline DO/DON'T examples | โ ๏ธ Inline BAD/GOOD snippets |
| Do/Don't Checklist | โ Dedicated file | โ ๏ธ Inline only | โ ๏ธ Inline only |
| Compliance Framework Mapping | โ ISO 27001, SOC 2, FedRAMP, GDPR, PCI DSS, HIPAA | โ ๏ธ Scanner-oriented guidance | โ No |
| Trusted Module Awareness | โ AWS, Azure, GCP, OCI, IBM loaded conditionally | โ ๏ธ AWS module context | โ No |
| MCP Integration Guidance | โ Dedicated reference | โ ๏ธ Optional Terraform MCP mention |
As you see in the table, there are some features that are only supported by us. Here is a brief highlight of those that we believe are the most critical of them:
Failure-mode workflow: TerraShark does not just give the agent Terraform facts. It forces the agent to identify the likely failure mode first, then load the exact reference material needed for that risk.
Output contract: TerraShark responses include assumptions, remediation choices, tradeoffs, validation steps, and rollback notes. Other skills leave that structure to the model.
Token efficiency: TerraShark keeps the activation path tiny and moves depth into focused references. This gives the agent the right Terraform context without turning every request into a large reference dump.
Compliance mapping: TerraShark includes explicit mappings for ISO 27001, SOC 2, FedRAMP, GDPR, PCI DSS, and HIPAA. Other skills focus more on scanners than audit-ready control mapping.
Trusted module awareness: TerraShark knows when to prefer mature vendor and community modules for AWS, Azure, GCP, Oracle Cloud, and IBM Cloud, reducing the surface area for hallucinated raw resources.
LLM-specific hallucination prevention: TerraShark is designed around the ways AI agents fail at infrastructure code: unstable identity, leaked secrets, wide blast radius, CI drift, and weak compliance gates.
The key difference is architectural. terraform-skill is a static reference manual: it dumps ~4,400 tokens into context on every activation, then loads additional reference files that can be over 1,000 lines each. It gives Claude information but never tells it how to think about a problem. There's no diagnosis step, no risk assessment, and no structured output - Claude reads the reference and generates whatever it thinks fits.
TerraShark takes the opposite approach. The core SKILL.md is an 86-line operational workflow that costs ~600 tokens on activation - over 7x leaner. Instead of front-loading a wall of text, it forces Claude through a diagnostic sequence: capture context โ identify failure modes โ load only the relevant references โ propose fixes with explicit risk controls โ validate โ deliver a structured output contract.
This matters for three reasons:
Token efficiency. terraform-skill burns ~4,400 tokens just to activate, before any reference files. A single reference file like module-patterns.md (1,126 lines, ~7,000 tokens) can double the cost again. TerraShark's activation is ~600 tokens, and its 19 granular reference files mean Claude loads only what's needed - typically one or two small, focused docs instead of one massive dump.
Hallucination prevention. terraform-skill provides good patterns but never asks Claude to diagnose what could go wrong. TerraShark's Step 2 forces failure-mode identification before any code is generated. Step 4 requires explicit risk controls for every fix. Step 7 enforces an output contract with assumptions, tradeoffs, and rollback notes. This is the difference between giving someone a cookbook and giving them a diagnostic checklist.
Reference coverage. TerraShark ships 19 focused reference files covering failure modes, backend-specific state safety, migration playbooks, good/bad/neutral examples, do/don't checklists, compliance framework mappings, and MCP integration. terraform-skill has 6 larger files that go deep on testing and module patterns but lack migration playbooks, explicit anti-pattern banks, compliance mappings beyond a few frameworks, and MCP guidance.
In short: TerraShark is the better skill due to 7x leaner activation, failure-mode-first diagnostic workflow, output contracts, granular references, and LLM-specific hallucination prevention. terraform-skill wins on HCL example depth and testing docs, but TerraShark's architecture is fundamentally better designed for the core use case of LLM-assisted IaC generation.
SKILL.md procedural and compactSee references/token-balance-rationale.md for the full decision and tradeoffs.
Hand-rolled resource blocks are one of the largest hallucination surfaces for LLMs; attribute names, defaults, and iteration shapes are where models drift. TerraShark recognizes the major vendor-maintained and community module registries and defaults to using them instead of generating raw resources, whenever a mature module covers the requested service.
for_each drift; the exact spots where LLMs slipreferences/conditional/trusted-modules.md is pulled into context only when the detected provider is one of the supported clouds. AWS-only projects never pay the token cost for Azure or GCP guidance, and vice versa, matching TerraShark's core token-efficiency design.
| Cloud | Registry namespace | Program |
|---|---|---|
| AWS | terraform-aws-modules | Community standard |
| Azure | Azure | Azure Verified Modules (AVM) |
| GCP | terraform-google-modules | Cloud Foundation Toolkit |
| Oracle Cloud | oracle-terraform-modules | Vendor-maintained |
| IBM Cloud | terraform-ibm-modules | IBM Deployable Architectures |
Other ecosystems (Alibaba Cloud, DigitalOcean, Hetzner, etc.) are intentionally not included yet, their module programs are still small or early-stage, so recommending them as defaults would trade one failure mode (hallucinated attributes) for another (unmaintained wrappers). If a provider's ecosystem matures, it can be added later.
SKILL.md execution flowHere an overview of the repository layout.
| File | Description |
|---|---|
SKILL.md | Operational workflow for TerraShark |
PHILOSOPHY.md | Design strategy, architecture decisions, token experiment |
references/identity-churn.md | Address stability, count/for_each, moved safety |
references/secret-exposure.md | Preventing secret leakage through state/logs/artifacts |
references/blast-radius.md | State boundaries, environment isolation, apply impact control |
references/ci-drift.md | Production CI drift prevention and plan/apply integrity |
references/compliance-gates.md | Policy gates, approvals, evidence, framework mappings |
references/structure-and-state.md | State, boundaries, and apply safety |
references/conditional/backend-state-safety.md | Backend-specific state safety and migration guardrails |
references/module-architecture.md | Module role model and composition rules |
references/coding-standards.md | Naming, typing, iteration, versioning |
references/migration-playbooks.md | moved/import/refactor/upgrade playbooks |
references/testing-matrix.md | Test tiering, native test caveats, Terratest guidance |
references/ci-delivery-patterns.md | CI stages and production-oriented pipeline templates |
references/security-and-governance.md | Security controls and operational governance |
references/quick-ops.md | Command sequence and troubleshooting shortcuts |
references/examples-good.md | Strong implementation examples |
references/examples-bad.md | Anti-pattern examples |
references/examples-neutral.md | Context-based tradeoff examples |
references/do-dont-patterns.md |
The skill runs as a failure-mode workflow whenever Claude Code, Codex, Antigravity, or Gemini CLI handles Terraform or OpenTofu tasks:
Q: Does this work with OpenTofu?
Yes. TerraShark supports both Terraform and OpenTofu. The workflow captures runtime/version first and adapts guidance accordingly.
Q: Will this slow down my AI interactions?
No. The skill is designed for low token overhead. Only relevant references should be loaded for a given failure mode.
Q: Can I use this outside Claude Code?
Yes. The references are plain Markdown and can be used from any workflow or AI assistant, including Codex, Antigravity, and Gemini CLI. The trigger behavior in SKILL.md is optimized for skill-enabled environments.
Q: How was the content validated?
We started with much larger references and a large automated test suite, then repeatedly removed sections and re-tested. If quality dropped, content was restored. If quality stayed stable, content remained out.
We highly appreciate contributions. See CONTRIBUTING.md and use the PR template for failure-mode and validation details.
โข LukasNiessen - Creator and main maintainer
โข janMagnusHeimann - Main maintainer
โข TristanKruse - Main maintainer
Found a bug? Want to discuss features?
If TerraShark helps your project, please consider:
This project is under the MIT license.
Version: v2.3.0
Website: https://terraformskill.com/
GitHub Pages: https://lukasniessen.github.io/terrashark/
TerraShark adheres to Conditional Reference Retrieval (CRR): conditional references live under references/conditional/, are loaded only when concrete signals are detected, and neighboring conditional references are not loaded unless the task spans multiple detected routes.
.claude/
.claude-plugin/
marketplace.json
settings.local.json
.github/
CODEOWNERS
dependabot.yml
FUNDING.yml
PULL_REQUEST_TEMPLATE.md
workflows/
deploy-docs.yml
stale.yml
validate.yml
.gitignore
assets/
logo.png
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docs/
.gitignore
advanced/
comparison.md
token-efficiency.md
architecture/
backend-state-safety.md
coding-standards.md
module-architecture.md
structure-and-state.md
book.json
changelog.md
contributing.md
core-concepts/
failure-modes.md
philosophy.md
workflow.md
examples/
bad-patterns.md
do-dont-checklist.md
good-patterns.md
neutral-patterns.md
failure-modes/
blast-radius.md
ci-drift.md
compliance-gates.md
identity-churn.md
secret-exposure.md
getting-started/
installation.md
quick-start.md
guides/
ci-delivery.md
migration-playbooks.md
quick-ops.md
security-governance.md
testing.md
integrations/
mcp-integration.md
package-lock.json
package.json
README.md
SUMMARY.md
LICENSE
PHILOSOPHY.md
README.md
references/
blast-radius.md
ci-delivery-patterns.md
ci-drift.md
coding-standards.md
compliance-gates.md
conditional/
backend-state-safety.md
trusted-modules.md
do-dont-patterns.md
examples-bad.md
examples-good.md
examples-neutral.md
identity-churn.md
mcp-integration.md
migration-playbooks.md
module-architecture.md
quick-ops.md
secret-exposure.md
security-and-governance.md
structure-and-state.md
testing-matrix.md
token-balance-rationale.md
SKILL.mdยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic
| โ No |
| Claude + Codex Support | โ First-class Claude Code and Codex setup | โ ๏ธ Broad multi-agent setup | โ ๏ธ Claude plugin oriented |
| Security-First Defaults | โ Built into the workflow | โ ๏ธ Checklist-style | โ ๏ธ Style-guide based |
| CI/CD Templates | โ GitHub Actions, GitLab CI, Atlantis, Infracost | โ GitHub Actions, GitLab CI | โ ๏ธ Pipeline rules only |
| License | โ MIT | โ ๏ธ Apache 2.0 | โ Not highlighted in skill listing |
| Do/Don't pattern checklist |
references/mcp-integration.md | MCP integration guidance |
references/conditional/trusted-modules.md | Canonical community/vendor modules per cloud (conditional) |
references/token-balance-rationale.md | Why the skill stays lean and where depth is kept |
.github/workflows/validate.yml | CI validation for skill structure and links |
.github/PULL_REQUEST_TEMPLATE.md | PR quality and failure-mode checklist |
.claude-plugin/marketplace.json | Plugin metadata |