Skip to content
Skill

Terravision cloud diagrams

Draws AWS, Azure or GCP architecture diagrams with official icons from Terraform or a JSON

Terravision cloud diagrams is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.7K
Last commit
License
AGPL-3.0-only
Listing updated

Similar skills

About Terravision cloud diagrams

This skill teaches an agent to produce cloud architecture diagrams with the TerraVision tool, using the official AWS, Azure and Google Cloud icon sets. Resources are grouped into VPCs, subnets, resource groups, regions and zones, and output can be PNG, SVG, PDF, DOT or an editable draw.io file.

The agent chooses between two paths. With Terraform code, it runs terraform plan through TerraVision and draws what the code deploys. Without Terraform, it writes a small JSON graph of node addresses and renders that. The skill includes validation of the graph, rules for how containers and shared services are drawn, and checks that the agent should run on each render before presenting it.

It expects Python 3.11 or newer, Graphviz and Git, and Terraform or OpenTofu for the Terraform path. It is licensed under AGPL-3.0.

When your agent uses it

Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision. Use whenever the user asks to draw, diagram, sketch or visualize a system on AWS, Azure or Google Cloud, or one built from their services (Lambda, DynamoDB, S3, EC2, EKS, RDS, API Gateway, Azure Functions, App Service, AKS, Cosmos DB, Cloud Run, GKE, BigQuery and the like), even if they never say 'cloud', 'diagram' or a tool name; also for a diagram of Terraform code. Prefer it over Mermaid, PlantUML, hand-written SVG or ASCII, which cannot use the official icons or VPC/subnet grouping. Not for diagrams that are not cloud infrastructure: sequence diagrams, flowcharts, class or ER diagrams, code or module structure, org charts, on-premises-only networks; use Mermaid or similar for those. Works with or without Terraform: with Terraform code the diagram comes from terraform plan; without it, write a small JSON graph and render it.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 154 files (578 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the terravision-cloud-diagrams plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add patrickchugh/terravision
/plugin install terravision-cloud-diagrams@terravision

Or copy only this skill to ~/.claude/skills/terravision-cloud-diagrams:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/patrickchugh/terravision.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/terravision-cloud-diagrams &&
cp -R "$tmp/skills/terravision-cloud-diagrams" ~/.claude/skills/terravision-cloud-diagrams &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/terravision-cloud-diagrams inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/terravision-cloud-diagrams to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/patrickchugh/terravision.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/terravision-cloud-diagrams &&
cp -R "$tmp/skills/terravision-cloud-diagrams" ~/.agents/skills/terravision-cloud-diagrams &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/terravision-cloud-diagrams inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/terravision-cloud-diagrams to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/patrickchugh/terravision.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/terravision-cloud-diagrams &&
cp -R "$tmp/skills/terravision-cloud-diagrams" ~/.cursor/skills/terravision-cloud-diagrams &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/terravision-cloud-diagrams inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/patrickchugh/terravision.git --path skills/terravision-cloud-diagrams

Or copy the folder to ~/.gemini/skills/terravision-cloud-diagrams yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/terravision-cloud-diagrams:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/patrickchugh/terravision.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/terravision-cloud-diagrams &&
cp -R "$tmp/skills/terravision-cloud-diagrams" ~/.copilot/skills/terravision-cloud-diagrams &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/terravision-cloud-diagrams inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/patrickchugh/terravision.git

Then copy terravision/skills/terravision-cloud-diagrams into your agent's skills folder as terravision-cloud-diagrams. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Official cloud icons
Renders AWS, Azure and GCP resources with each provider's own icon set.
Network grouping
Places resources inside VPCs, subnets, zones and resource groups as an architect would.
Terraform-based diagrams
Draws an architecture directly from Terraform code via terraform plan.
JSON graph rendering
Lets the agent write a node graph by hand when no Terraform exists.
Graph validation
Checks graph addresses and mixed providers before rendering and flags drawing issues.
Editable output
Exports draw.io files and SVG or PNG images for further editing.

Good for

  • Draw a diagram of a three-tier web app on AWS
  • Visualise the resources in my Terraform folder as an architecture diagram
  • Sketch an event-driven system with Lambda, SQS and DynamoDB
  • Produce an editable draw.io diagram of a Google Cloud serverless API
  • Show how traffic flows through an Azure App Service and Cosmos DB setup

Terravision cloud diagrams FAQ

What does the skill need installed?

TerraVision needs Python 3.11 or newer, plus Graphviz and Git. The Terraform path also needs Terraform or OpenTofu on the PATH.

When should the agent not use Terravision cloud diagrams?

It is not meant for sequence diagrams, flowcharts, class or ER diagrams, code structure, org charts or on-premises-only networks. Mermaid or similar tools are recommended for those.

Can Terravision cloud diagrams draw diagrams without Terraform code?

Yes. The agent writes a JSON graph of node addresses and renders it with TerraVision, without running Terraform.

Which AI clients does Terravision cloud diagrams work with?

The content does not tie it to specific clients beyond a Claude Code plugin marketplace entry, so it is listed for all supported agent skill clients.

How do I install Terravision cloud diagrams in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/terravision-cloud-diagrams to use it in all your projects, or to .claude/skills/terravision-cloud-diagrams in one project. Or install the terravision-cloud-diagrams plugin, which includes it: /plugin marketplace add patrickchugh/terravision, then /plugin install terravision-cloud-diagrams@terravision.

Does Terravision cloud diagrams run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Terravision cloud diagrams?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Terravision cloud diagrams?

The closest alternatives to Terravision cloud diagrams are Architecture diagram generation, Google cloud solution build deploy agents, Terraform, Ni live panel and Azure resource visualizer.

Where this comes from

  • Description: from the skill's own SKILL.md.