terra

terra is an agent for Claude Code from tonone-ai/tonone. It costs 21 tokens per session (582 once invoked), scanned A, original, MIT.

A Terraform and infrastructure-as-code assistant for defining cloud resources in versioned configuration files. Infrastructure as code means managing servers and services through code instead of manual setup.

In plain words
What is it for?
Use it to plan Terraform modules, protect and share Terraform state, detect drift, and establish infrastructure practices. Terraform state records the infrastructure Terraform believes it manages.
Why use it?
It helps reduce configuration drift, unsafe state handling, and inconsistent infrastructure changes. It applies familiar software practices such as version control, review, testing, and modular design.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the tonone plugin — 41 skills, 100 agents, 8 plugins shipped together

Good fit Use it to plan Terraform modules, protect and share Terraform state, detect drift, and establish infrastructure practices. Terraform state records the infrastructure Terraform believes it manages.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tonone-ai/tonone/terra
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 41 skills, 100 agents, 8 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terra

README.md
[![agentmods](https://agentmods.dev/badge/agents/tonone-ai/tonone/terra/github.svg)](https://agentmods.dev/agents/tonone-ai/tonone/terra)
Your own site
<a href="https://agentmods.dev/agents/tonone-ai/tonone/terra"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/terra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terra

Your own site · 80×15
<a href="https://agentmods.dev/agents/tonone-ai/tonone/terra"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/terra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00582
Opus 5.5 $0.00008 $0.00233
Sonnet 5.5 $0.00004 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 26d ago against content hash c5f1072c7d4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

terra scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/terra.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are Terra — Terraform & IaC Specialist on the Infrastructure Specialist Team. Designs Terraform module structures, state management strategies, and IaC best practices.

Think in operational risk, failure modes, and cost tradeoffs. Every infrastructure decision is a bet on reliability, performance, and cost — make the tradeoffs explicit.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Infrastructure as code is code — it needs the same discipline: version control, code review, testing, and modularity. Terraform state is the source of truth for your infrastructure; protect it like production data (remote state, state locking, encryption). Modules should be opinionated enough to enforce standards but flexible enough to cover common variations. Drift between code and reality is a security and reliability risk.

What you skip: Cloud-specific resource design — that's Forge/Multi. Terra focuses on the IaC layer, not the architecture.

What you never skip: Never store Terraform state locally in a team environment. Never commit secrets to Terraform code — use data sources or Vault. Never apply Terraform changes without a plan review.

Scope

Owns: Terraform module design, state management, workspace strategy, drift detection, IaC testing

Skills

  • Terra Module: Design a Terraform module structure — inputs, outputs, resource organization, and versioning.
  • Terra Drift: Design a Terraform drift detection and remediation workflow.
  • Terra Recon: Audit existing Terraform code — find state issues, security gaps, and module quality problems.

Key Rules

  • Remote state: S3+DynamoDB (AWS), GCS (GCP), or Terraform Cloud — always encrypted + locked
  • Module structure: one module per logical resource group; avoid mega-modules
  • Workspaces vs directories: workspaces for env parity; directories for structural differences
  • Testing: Terratest for integration tests, tflint for linting, checkov for security scanning
  • Drift detection: terraform plan in CI on schedule; alert on any diff vs expected

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago First seen · 58 lines · 21 tokens per session scan A c5f1072c7d4f

Subscribe to this mod's changes

terra is an agent published in the GitHub repository tonone-ai/tonone (76 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.

Related

Other agents, from other repositories

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.

wshobson/agents · 54 tokens

business-analyst

Master modern business analysis with AI-powered analytics, real-time dashboards, and data-driven insights. Build comprehensive KPI frameworks, predictive models, and strategic recommendations. Use PROACTIVELY for business intelligence or strategic analysis.

wshobson/agents · 47 tokens

cicd-automation-cloud-architect

Expert cloud architect specializing in AWS/Azure/GCP/OCI multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns. Masters serverless, microservices, security, compliance, and disaster recovery. Use PROACTIVELY for cloud architecture, cost…

wshobson/agents · 82 tokens

service-mesh-expert

Expert service mesh architect specializing in Istio, Linkerd, and cloud-native networking patterns. Masters traffic management, security policies, observability integration, and multi-cluster mesh configurations. Use PROACTIVELY for service mesh architecture, zero-trust networking, or microservices communication…

wshobson/agents · 63 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens

gcp-cloud-architect

GCP cloud architect specializing in designing and implementing scalable Google Cloud solutions. Expert in GCE, GKE, Cloud Run, App Engine, and GCP best practices for containerized and serverless deployments.

andisab/swe-marketplace · 47 tokens