Terravision Cloud Diagrams
patrickchugh/terravision
Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.
Generate a Tirith policy set for an existing Terraform or OpenTofu repository, covering organization standards such as required tags, naming conventions, allowed regions, permitted resource types…
$ npx skills add StackGuardian/tirith --skill tirith-standards -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install StackGuardian/tirith tirith-standards --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tirith-standards .claude/skills/tirith-standards && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .claude/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standardsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add StackGuardian/tirith --skill tirith-standards -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install StackGuardian/tirith tirith-standards --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/tirith-standards .agents/skills/tirith-standards && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .agents/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add StackGuardian/tirith --skill tirith-standards -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install StackGuardian/tirith tirith-standards --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/tirith-standards .cursor/skills/tirith-standards && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .cursor/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/StackGuardian/tirith.git --path .claude/skills/tirith-standards--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add StackGuardian/tirith --skill tirith-standards -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install StackGuardian/tirith tirith-standards --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/tirith-standards .gemini/skills/tirith-standards && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .gemini/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install StackGuardian/tirith tirith-standardsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add StackGuardian/tirith --skill tirith-standards -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/tirith-standards .github/skills/tirith-standards && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .github/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add StackGuardian/tirith --skill tirith-standards -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install StackGuardian/tirith tirith-standards --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/StackGuardian/tirith.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/tirith-standards .opencode/skills/tirith-standards && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tirith-standards" agent skill from https://github.com/StackGuardian/tirith/tree/main/.claude/skills/tirith-standards into .opencode/skills/tirith-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tirith-standards", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tirith-standardsGenerate a Tirith policy set for an existing Terraform or OpenTofu repository, covering organization standards such as required tags, naming conventions, allowed regions, permitted resource types…
Tirith Standards is an agent skill from StackGuardian/tirith. Generate a Tirith policy set for an existing Terraform or OpenTofu repository, covering organization standards such as required tags, naming conventions, allowed regions, permitted resource types, sizes and encryption defaults. Use when asked to add guardrails to a repository that has no policies yet, to enforce a tagging or naming standard, to codify a team convention, or to produce a starting policy set from existing IaC. Requires the tirith-policies skill for the vocabulary.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files (for example `examples/org-standards/README.md`, `examples/org-standards/naming.json` and `examples/org-standards/no-bucket.json`).
It sits in DevOps & Cloud, covering Infrastructure as code. It works with Terraform, Amazon Web Services and Microsoft Azure. The repository describes itself as: Plug IaC governance into any IaC pipeline. Evaluate plans with Tirith, protect sensitive values, enforce centralised policies, and surface actionable results before… The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4a3411e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
terraformFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
stackguardian.github.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tirith Standards loads about 2k tokens when it runs. Until then it costs about 125 tokens; SKILL.md has 1,039 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from StackGuardian/tirith at commit 4a3411e, republished under its Apache-2.0 licence (© StackGuardian). 1,039 words, ~1,989 tokens.
.claude/skills/tirith-standards/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.A catalogue of generic checks is not what stops your incidents. The rules that do are the ones only your organization can state: the tag your finance team reconciles against, the module registry you are allowed to pull from, the two regions your data residency answer depends on.
This skill turns a repository you already have into that policy set.
tirith-policiesDo not write policy JSON from memory. Read ../tirith-policies/reference/schema.md for the
closed list of providers, operations, argument keys and the thirteen condition types. If that
skill is not installed, fetch https://stackguardian.github.io/tirith/llms.txt and follow it to
the schema page. Everything below assumes that vocabulary.
You read .tf and .tofu files to discover what to write policies about. The policies
themselves never see that HCL. They evaluate terraform show -json output, where:
| In your code | In the plan |
|---|---|
var.environment, local.tags, ${} interpolation | already resolved to a value, or null when it is not known until apply |
a module block | its resources, at addresses like module.vpc.aws_subnet.this[0] |
count / for_each | one resource instance per element |
| a computed name | null, because the plan does not know it yet |
dynamic blocks | the blocks they expanded into |
So: never write a policy about a variable, a local, or a module block. Write it about the
resource attribute the plan will carry. A standard that is only enforceable in HCL (for example
"always use our module rather than the raw resource") is expressible as
direct_references or as a provider_config check, or not at all. Say which, rather than
producing a policy that reads nothing.
severity > error_tolerance -> the check FAILS
otherwise -> the check is SKIPPEDDEFAULT_ERROR_TOLERANCE is 0, and the plan provider raises severity 1 when the resource
type is absent from the plan and 2 when the attribute is absent from the resource.
Therefore a policy scoped to one resource type has no green outcome on a plan that does not touch that type. Both tolerance settings are red, in different ways, and this is the single most common defect in a generated standards set:
error_tolerance | Plan has no resource of that type | Reads as |
|---|---|---|
omitted, so 0 | 1 > 0, the check fails, exit 3 | your infrastructure violates a policy |
1 | the check is skipped, so every check is skipped, final_result: null, exit 1 | Tirith could not reach a verdict |
count behaves differently from attribute on an absent type: it returns 0 rather than
raising severity 1. So it can gate the rule.
{
"evaluators": [
{"id": "not_applicable",
"provider_args": {"operation_type": "count", "terraform_resource_type": "aws_s3_bucket"},
"condition": {"type": "Equals", "value": 0}},
{"id": "the_rule", "provider_args": {"...": "..."},
"condition": {"type": "RegexMatch", "value": "...", "error_tolerance": 1}}
],
"eval_expression": "not_applicable || the_rule"
}Verified on the engine: exit 3 when a bucket breaks the rule, 0 when they all satisfy it,
0 when the plan touches no bucket at all. examples/org-standards/ is that policy with its
three plans.
Keep error_tolerance: 1 on the rule alongside the guard, so the not-applicable case is
skipped rather than failed and then masked by the ||. Both give exit 0; only one leaves
a clean result document.
| Standard | Scope | Shape |
|---|---|---|
| Presence, all types | "*" | no guard needed, omit the tolerance. A plan always contains something |
| Anything scoped to a type | aws_s3_bucket | guard + error_tolerance: 1 |
| Anything | any | never 2. It forgives the missing attribute, which is the thing you were checking |
Deletes are safe by default: a destroyed resource is severity 0, which the default tolerance
skips rather than fails.
Inventory the repository. List every distinct resource "TYPE" "NAME" across .tf and
.tofu files. Group by provider (aws_, azurerm_, google_). Note which types are used
more than once: those are where a standard pays for itself. Note the modules in use and where
they are sourced from.
Extract the conventions already there. Read the existing code before proposing rules. What tag keys appear on most resources? What naming pattern do the existing names follow? Which regions and instance sizes appear? A standard the repository already follows is a rule you can enforce today without a migration; a standard it does not follow yet is a change request, and you must say so rather than shipping a policy that fails on day one.
Propose before writing. Give the user a table: standard, the resource types it would cover, how many resources in the repository would pass today, and how many would fail. Let them choose. Do not generate thirty policies unasked.
Write one file per standard, under .tirith/policies/, named for the rule
(required-tags.json, naming-s3.json). One concern per file: a single policy combining tags
and naming reports one verdict for two unrelated problems, and the person who has to fix it
cannot tell which fired.
Prove each one. For every policy, produce a plan document that violates it and confirm
tirith -policy-path P -input-path should-fail.json --fail-on-error exits 3, then one that
satisfies it and confirm exit 0. A policy that has only been seen passing is untested. Run
tirith lint over the directory first: it catches an invented condition type or a misplaced
error_tolerance without needing any plan at all.
Report what you could not express. Name the standard, name what Tirith would need, and stop. A policy that approximates a rule without saying so is worse than an absent one.
reference/standards.md carries one row per standard: the exact provider_args, the condition,
the tolerance, and the trap specific to that standard. Read it before writing any of them. It
covers required tags, tag value shape, naming conventions, allowed regions, permitted and
forbidden resource types, size ceilings, encryption and public-access defaults, provider version
pinning, and module source restrictions.
| Why | |
|---|---|
| A policy per resource instance | Standards are about types, not addresses. terraform_resource_type already quantifies over every instance |
A policy about var. or local. | Neither survives into the plan. See the boundary table above |
error_tolerance: 2 on a presence check | It forgives exactly the case the check exists to catch |
| A rule the repository does not already follow, shipped silently | It fails on the first run and gets disabled. Propose it as a change first |
| Thirty policies from one request | Propose the set, ship what is agreed |
examples/org-standards/ holds a naming policy with the plan that violates it and the plan that
satisfies it, including the error_tolerance: 1 that keeps it quiet on unrelated changes.
© StackGuardian, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in .claude/skills/tirith-standards of StackGuardian/tirith.
Open the folder on GitHubat commit 4a3411e
Tirith Standards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tirith Standards this skillStackGuardian/tirith | 167 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Terravision Cloud Diagramspatrickchugh/terravision | 1.6k | — | ~5.6k | Automated safety check: Notes | AGPL-3.0-only | |
| TerrasharkLukasNiessen/terrashark | 715 | — | ~843 | Automated safety check: Pass | MIT | |
| Provider Verificationmondoohq/mql | 411 | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Terraform Module Librarywshobson/agents | 40k | 10 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Atmos Migrationcloudposse/atmos | 1.4k | — | ~5.1k | Automated safety check: Warn | Apache-2.0 |
patrickchugh/terravision
Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.
LukasNiessen/terrashark
Prevent Terraform/OpenTofu hallucinations by diagnosing and fixing failure modes: identity churn, secret exposure, blast-radius mistakes, CI drift, and compliance gate gaps.
mondoohq/mql
Verify mql provider resource/field changes against real cloud infrastructure.
wshobson/agents
Build reusable, tested Terraform modules for AWS, Azure, GCP and OCI, with a standard file layout, an AWS VPC example, versioning rules and Terratest checks.
cloudposse/atmos
Migrate to Atmos from native Terraform, Terraform Workspaces, Terramate, Terragrunt, Make, Just, or Task; migrate tool versions from mise or Aqua CLI; migrate AWS/GCP/Azure CLI configs, Leapp…
TheSoftwareHouse/copilot-collections
Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices.
StackGuardian/tirith
Translate existing policy-as-code into Tirith policies. An agent skill from StackGuardian/tirith.
StackGuardian/tirith
Write, validate, run and debug Tirith IaC governance policies, install Tirith, and add it to a CI pipeline (GitHub Actions, GitLab CI, Bitbucket Pipelines, Jenkins, Azure DevOps, CircleCI or any…
Categories
Generate a Tirith policy set for an existing Terraform or OpenTofu repository, covering organization standards such as required tags, naming conventions, allowed regions, permitted resource types…. Tirith Standards is an agent skill from StackGuardian/tirith. Generate a Tirith policy set for an existing Terraform or OpenTofu repository, covering organization standards such as required tags, naming conventions, allowed regions, permitted resource types, sizes and encryption defaults.
Tirith Standards fits situations like: asked to add guardrails to a repository that has no policies yet; enforce a tagging; naming standard; codify a team convention.
Run `npx skills add StackGuardian/tirith --skill tirith-standards -a claude-code`. Or copy the skill folder (.claude/skills/tirith-standards in StackGuardian/tirith) into .claude/skills/tirith-standards in your project. Claude Code loads it when a task matches its description.
Run `npx skills add StackGuardian/tirith --skill tirith-standards -a codex`. Or copy the skill folder (.claude/skills/tirith-standards in StackGuardian/tirith) into .agents/skills/tirith-standards in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add StackGuardian/tirith --skill tirith-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tirith-standards, .gemini/skills/tirith-standards, .github/skills/tirith-standards and .opencode/skills/tirith-standards in your project.
Going by SKILL.md and its folder, Tirith Standards needs the command-line tools its instructions call (terraform).
SKILL.md names 1 domain. In commands or code: stackguardian.github.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tirith Standards is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tirith Standards: Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars), Terrashark (LukasNiessen/terrashark, 715 stars), Provider Verification (mondoohq/mql, 411 stars) and Terraform Module Library (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
StackGuardian (a GitHub organization) maintains it in StackGuardian/tirith, which has 167 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.
Source: StackGuardian/tirith on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.