terramate-best-practices

terramate-best-practices is a skill for Claude Code, Codex from terramate-io/agent-skills. It costs 49 tokens per session (945 once invoked), scanned A, original, MIT.

A reference guide for using Terramate, a tool for organizing and coordinating infrastructure configuration across stacks. It covers Terramate CLI, Terramate Cloud, and Catalyst components.

In plain words
What is it for?
Managing Terramate stacks, coordinating commands, generating configuration, handling dependencies, and using Terramate Cloud or Catalyst.
Why use it?
It gives consistent guidance for structuring stacks, ordering operations, generating configuration, and connecting workflows to CI/CD systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Managing Terramate stacks, coordinating commands, generating configuration, handling dependencies, and using Terramate Cloud or Catalyst.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terramate-io/agent-skills/terramate-best-practices
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.

Any agent
npx skills add terramate-io/agent-skills --skill terramate-best-practices
Clone the repo
git clone --depth 1 https://github.com/terramate-io/agent-skills

Made for: Claude Code, Codex.

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 terramate-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/terramate-io/agent-skills/terramate-best-practices/github.svg)](https://agentmods.dev/skills/terramate-io/agent-skills/terramate-best-practices)
Your own site
<a href="https://agentmods.dev/skills/terramate-io/agent-skills/terramate-best-practices"><img src="https://agentmods.dev/badge/skills/terramate-io/agent-skills/terramate-best-practices/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 terramate-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/terramate-io/agent-skills/terramate-best-practices"><img src="https://agentmods.dev/badge/skills/terramate-io/agent-skills/terramate-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 945 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.00049 $0.00945
Opus 5 $0.00024 $0.00473
Sonnet 5 $0.00010 $0.00189
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

terramate-best-practices 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 11d 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.

skills/terramate-best-practices/SKILL.md · 109 lines

How it starts

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

Terramate Best Practices

Comprehensive guide for Terramate CLI, Cloud, and Catalyst, maintained by Terramate. Contains best practices and usage patterns for stack management, orchestration, code generation, Cloud integration, and Catalyst components/bundles.

When to Apply

Reference these guidelines when:

  • Creating and organizing Terramate stacks
  • Orchestrating commands across multiple stacks
  • Using code generation to keep configurations DRY
  • Integrating with Terramate Cloud for observability
  • Creating Catalyst components and bundles
  • Setting up CI/CD workflows with Terramate
  • Managing stack dependencies and execution order

Rule Categories by Priority

Priority Category Impact Prefix
1 CLI Fundamentals CRITICAL cli-
2 CLI Orchestration HIGH cli-orchestration-
3 CLI Code Generation HIGH cli-codegen-
4 CLI Configuration MEDIUM-HIGH cli-config-
5 Terramate Cloud MEDIUM-HIGH cloud-
6 Terramate Catalyst MEDIUM catalyst-
7 CI/CD Integration MEDIUM cicd-
8 Advanced Patterns LOW-MEDIUM advanced-

Quick Reference

1. CLI Fundamentals (CRITICAL)

  • cli-stack-structure - Organize stacks with clear directory structure
  • cli-stack-config - Configure stacks with proper stack blocks
  • cli-stack-metadata - Use metadata for stack identification and filtering

2. CLI Orchestration (HIGH)

  • cli-orchestration-run - Run commands across stacks efficiently
  • cli-orchestration-change-detection - Use change detection to limit execution scope
  • cli-orchestration-parallel - Leverage parallel execution for independent stacks
  • cli-orchestration-dependencies - Manage stack dependencies and execution order

3. CLI Code Generation (HIGH)

  • cli-codegen-hcl - Use generate_hcl for DRY Terraform code
  • cli-codegen-file - Use generate_file for file generation patterns
  • cli-codegen-provider - Generate provider configurations dynamically

Read the full file on GitHub · 109 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. 11d ago First seen · 109 lines · 49 tokens per session scan A 18991af029c3

Subscribe to this mod's changes

terramate-best-practices is a skill published in the GitHub repository terramate-io/agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 945 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

terraform-iac

Terraform and OpenTofu infrastructure as code best practices - generate HCL configurations, module patterns, state management, CI/CD workflows, and cloud provider templates for AWS, GCP, Azure.

chainlesschain/chainlesschain · 41 tokens

tf-plan-review

Analyze Terraform plans for risk before you apply. Classifies every change as safe, moderate, dangerous, or critical. Detects destroys, IAM changes, data-loss risks, and blast radius. Entirely read-only — never runs apply.

cacheforge-ai/cacheforge-skills · 51 tokens

cost-optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

terraform-module-library

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

wshobson/agents · 44 tokens

linkerd-patterns

Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.

wshobson/agents · 41 tokens