# Terravision cloud diagrams

> Terravision cloud diagrams is an open-source agent skill for cloud and infrastructure. Draws AWS, Azure or GCP architecture diagrams with official icons from Terraform or a JSON. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/patrickchugh/terravision/tree/main/skills/terravision-cloud-diagrams
- **Repository:** https://github.com/patrickchugh/terravision
- **GitHub stars:** 1,703
- **License:** AGPL-3.0-only
- **Skill name:** terravision-cloud-diagrams
- **Collection:** https://github.com/patrickchugh/terravision
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/patrickchugh/terravision/tree/HEAD/skills/terravision-cloud-diagrams)
- [No network calls found in its scripts](https://github.com/patrickchugh/terravision/tree/HEAD/skills/terravision-cloud-diagrams)
- [License: AGPL-3.0-only](https://github.com/patrickchugh/terravision/tree/HEAD/skills/terravision-cloud-diagrams)

## Features

- **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

## Install

### Claude Code

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):

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Architecture diagram generation](https://ai-powered.com/skills/architecture-diagram-generation): Architecture diagram generation is an open-source agent skill for cloud and infrastructure.
- [Google cloud solution build deploy agents](https://ai-powered.com/skills/google-cloud-solution-build-deploy-agents): Google cloud solution build deploy agents is an open-source agent skill for cloud and infrastructure.
- [Terraform](https://ai-powered.com/skills/terraform-sorah): Terraform is an open-source agent skill for cloud and infrastructure.
- [Ni live panel](https://ai-powered.com/skills/ni-live-panel): Ni live panel is an open-source agent skill for developer tools.
- [Azure resource visualizer](https://ai-powered.com/skills/azure-resource-visualizer): Azure resource visualizer is an open-source agent skill for cloud and infrastructure.
- [Azure resource visualizer](https://ai-powered.com/skills/azure-resource-visualizer-microsoft): Azure resource visualizer is an open-source agent skill for cloud and infrastructure.
- [Cloud solution architect](https://ai-powered.com/skills/cloud-solution-architect): Cloud solution architect is an open-source agent skill for cloud and infrastructure.
- [Draw io diagram generator](https://ai-powered.com/skills/draw-io-diagram-generator): Draw io diagram generator is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/terravision-cloud-diagrams
