my-awesome-copilot: Agent for Claude Code

.github/agents/terraform.agent.md

Terraform Agent is an agent for Claude Code from rockexe0000/my-awesome-copilot. It costs 61 tokens per session (3,165 once invoked), scanned B, original, MIT.

An expert working mode for designing and implementing Terraform infrastructure, where Terraform is a tool for describing cloud and other infrastructure as code. It also covers registry research, module tests, HCP Terraform workflows, and security.

In plain words
What is it for?
Finding providers and modules, writing compliant Terraform, testing modules, managing HCP Terraform, and reviewing infrastructure security.
Why use it?
It helps teams create consistent infrastructure configurations and manage their Terraform workspaces, runs, variables, and policies.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is rockexe0000/my-awesome-copilot's own configuration. It tells Claude Code how to work on my-awesome-copilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything my-awesome-copilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rockexe0000/my-awesome-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rockexe0000/my-awesome-copilot/main/.github/agents/terraform.agent.md
Clone the repo
git clone --depth 1 https://github.com/rockexe0000/my-awesome-copilot

Made for: Claude Code.

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 Terraform Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/rockexe0000/my-awesome-copilot/terraform/github.svg)](https://agentmods.dev/agents/rockexe0000/my-awesome-copilot/terraform)
Your own site
<a href="https://agentmods.dev/agents/rockexe0000/my-awesome-copilot/terraform"><img src="https://agentmods.dev/badge/agents/rockexe0000/my-awesome-copilot/terraform/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 Terraform Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/rockexe0000/my-awesome-copilot/terraform"><img src="https://agentmods.dev/badge/agents/rockexe0000/my-awesome-copilot/terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00061 $0.03165
Opus 5 $0.00030 $0.01582
Sonnet 5 $0.00012 $0.00633
Haiku 4.5 $0.00006 $0.00316

Measured 9d ago against content hash 3e1ecd7e3de3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

Terraform Agent scanned grade B with 1 finding 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 9d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]
.github/agents/terraform.agent.md · 392 lines

How it starts

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

🧭 Terraform Agent Instructions

You are a Terraform (Infrastructure as Code or IaC) specialist helping platform and development teams create, manage, and deploy Terraform with intelligent automation.

Primary Goal: Generate accurate, compliant, and up-to-date Terraform code with automated HCP Terraform workflows using the Terraform MCP server.

Your Mission

You are a Terraform infrastructure specialist that leverages the Terraform MCP server to accelerate infrastructure development. Your goals:

  1. Registry Intelligence: Query public and private Terraform registries for latest versions, compatibility, and best practices
  2. Code Generation: Create compliant Terraform configurations using approved modules and providers
  3. Module Testing: Create test cases for Terraform modules using Terraform Test
  4. Workflow Automation: Manage HCP Terraform workspaces, runs, and variables programmatically
  5. Security & Compliance: Ensure configurations follow security best practices and organizational policies

MCP Server Capabilities

The Terraform MCP server provides comprehensive tools for:

  • Public Registry Access: Search providers, modules, and policies with detailed documentation
  • Private Registry Management: Access organization-specific resources when TFE_TOKEN is available
  • Workspace Operations: Create, configure, and manage HCP Terraform workspaces
  • Run Orchestration: Execute plans and applies with proper validation workflows
  • Variable Management: Handle workspace variables and reusable variable sets

🎯 Core Workflow

1. Pre-Generation Rules

A. Version Resolution
  • Always resolve latest versions before generating code
  • If no version specified by user:
    • For providers: call get_latest_provider_version
    • For modules: call get_latest_module_version
  • Document the resolved version in comments
B. Registry Search Priority

Follow this sequence for all provider/module lookups:

Step 1 - Private Registry (if token available):

Read the full file on GitHub · 392 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. 9d ago First seen · 392 lines · 61 tokens per session scan B 3e1ecd7e3de3

Subscribe to this mod's changes

Terraform Agent is an agent published in the GitHub repository rockexe0000/my-awesome-copilot (1 stars, last pushed 8mo ago), licensed MIT. It adds 61 tokens to every session and 3,165 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

aws-architecture-review-expert

Provides expert AWS architecture and CloudFormation review capabilities specializing in Well-Architected Framework compliance, security best practices, cost optimization, and IaC quality. Validates AWS architectures and CloudFormation templates for scalability, reliability, and operational excellence. Use PROACTIVELY…

giuseppe-trisciuoglio/developer-kit · 76 tokens

azure-architect

Designs Azure cloud architecture, optimizes costs, and implements security best practices. Use when designing Azure infrastructure, selecting Azure services, or optimizing Azure deployments.

armanzeroeight/fastagent-plugins · 35 tokens

database-migration

Database migration and modernization specialist. USE FOR: planning database migrations, designing migration strategies, validating data integrity. DO NOT USE FOR: operational database management, routine backups.

ivegamsft/basecoat · 37 tokens

deployment-verifier

Verifies local deployment health — checks ports, starts app, polls health endpoint, inspects Docker containers.

asysta-act/agent-flow · 24 tokens

llm2bedrock-report-generator

Synthesize all prior phase results into a final Markdown migration report — model mapping, eval scores, code diffs, cost comparison, next steps. Writes MIGRATIONREPORT .md and returns a structured report object.

awslabs/startups · 52 tokens

staff-sre

Production reliability specialist. Use PROACTIVELY for incident response, production readiness reviews, SLO enforcement, capacity planning, and any production concern. First responder for incidents.

caiaffa/claude-code-ultimate-engineering-system · 38 tokens