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.
curl -O https://raw.githubusercontent.com/rockexe0000/my-awesome-copilot/main/.github/agents/terraform.agent.mdgit clone --depth 1 https://github.com/rockexe0000/my-awesome-copilotWrote 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.
[](https://agentmods.dev/agents/rockexe0000/my-awesome-copilot/terraform)<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.
<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>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.
| Model | Per session | Once 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 |
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: ["*"] 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:
- Registry Intelligence: Query public and private Terraform registries for latest versions, compatibility, and best practices
- Code Generation: Create compliant Terraform configurations using approved modules and providers
- Module Testing: Create test cases for Terraform modules using Terraform Test
- Workflow Automation: Manage HCP Terraform workspaces, runs, and variables programmatically
- 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
- For providers: call
- 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):
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.
- 9d ago First seen · 392 lines · 61 tokens per session scan B 3e1ecd7e3de3
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.
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…
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.
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.
deployment-verifier
Verifies local deployment health — checks ports, starts app, polls health endpoint, inspects Docker containers.
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.
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.