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.
npx skills add terramate-io/agent-skills --skill terramate-best-practicesgit clone --depth 1 https://github.com/terramate-io/agent-skillsWrote 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/skills/terramate-io/agent-skills/terramate-best-practices)<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.
<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>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.00049 | $0.01490 |
| Opus 5.5 | $0.00020 | $0.00596 |
| Sonnet 5.5 | $0.00010 | $0.00298 |
| Haiku 4.5 | $0.00005 | $0.00149 |
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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 121 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 in a clear directory tree with one state per stackcli-stack-config- Configure identity, ordering and change triggers in the stack blockcli-stack-metadata- Give stacks stable ids and tags and select stacks with tag filters
2. CLI Orchestration (HIGH)
cli-orchestration-run- Run commands across stacks with scoped selections and safeguardscli-orchestration-change-detection- Limit execution to changed stacks with change detection, watch and triggerscli-orchestration-parallel- Run independent stacks in parallel while keeping the order of executioncli-orchestration-dependencies- Declare order with after/before and select dependencies and dependents with the dependency flags
3. CLI Code Generation (HIGH)
What ships with it
25 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 146 KB
- rules/advanced-codegen-patterns.md 8.6 KB
- rules/advanced-workflows.md 7.6 KB
- rules/catalyst-bundles.md 8.7 KB
- rules/catalyst-components.md 8.0 KB
- rules/catalyst-instantiation.md 6.4 KB
- rules/cicd-deployment-workflows.md 8.6 KB
- rules/cicd-github-actions.md 6.4 KB
- rules/cicd-preview-workflows.md 7.2 KB
- rules/cli-codegen-file.md 5.6 KB
- rules/cli-codegen-hcl.md 5.9 KB
- rules/cli-codegen-provider.md 5.3 KB
- rules/cli-config-globals.md 4.8 KB
- rules/cli-config-lets.md 4.1 KB
- rules/cli-config-metadata.md 5.1 KB
- rules/cli-orchestration-change-detection.md 6.7 KB
- rules/cli-orchestration-dependencies.md 7.5 KB
- rules/cli-orchestration-parallel.md 3.9 KB
- rules/cli-orchestration-run.md 5.3 KB
- rules/cli-stack-config.md 4.4 KB
- rules/cli-stack-metadata.md 4.6 KB
- rules/cli-stack-structure.md 4.5 KB
- rules/cloud-drift-management.md 5.7 KB
- rules/cloud-integration.md 5.0 KB
- rules/cloud-observability.md 5.5 KB
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.
- yesterday Changed · -4 lines b470cfa5fe2d
- 2d ago Changed · +16 lines 152b283ba05b
- 3mo ago First seen · 109 lines · 49 tokens per session scan A 18991af029c3
terramate-best-practices is a skill published in the GitHub repository terramate-io/agent-skills (35 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,490 once invoked, about $0.0002 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-08-30.
terramate-best-practices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terramate-best-practicesterramate-io/agent-skills | Skill | 35 | 2d ago | MIT | A | 49 | Claude Code, Codex |
| terraform-skillbest-of-ai/best-of-ai | Skill | 791 | yesterday | none | A | 52 | Claude Code, Codex |
| terraform-iacchainlesschain/chainlesschain | Skill | 11 | 16d ago | none | A | 41 | Claude Code |
| tf-plan-reviewcacheforge-ai/cacheforge-skills | Skill | 10 | 9mo ago | MIT | A | 51 | Claude Code, Codex |
| cost-optimizationwshobson/agents | Skill | 43k | yesterday | MIT | A | 48 | Claude Code |
| istio-traffic-managementwshobson/agents | Skill | 43k | yesterday | MIT | A | 40 | Claude Code |
| linkerd-patternswshobson/agents | Skill | 43k | yesterday | MIT | A | 41 | Claude Code |