Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
gcp-architecture-diagram logo

gcp-architecture-diagram

gcp-architecture-diagram

developmentClaude Codeby MisterTK

Summary

Generate professional GCP architecture diagrams with official Google Cloud icons. Write a declarative JSON spec, get pixel-perfect SVG output with 45 bundled icons. Supports layers, containers, split rows, multi-tenant bridges, and legends.

Install to Claude Code

/plugin install gcp-architecture-diagram@gcp-architecture-diagram

Run in Claude Code. Add the marketplace first with /plugin marketplace add MisterTK/gcp-architecture-diagram if you haven't already.

README.md

GCP Architecture Diagram Skill

A skill for AI coding agents that generates professional, pixel-perfect GCP architecture diagrams as SVG using official Google Cloud icons.

The agent writes a declarative JSON spec describing the diagram. A bundled Python renderer validates it and produces pixel-perfect SVG with 45 official icons embedded as inline vectors.

!Example Output

What It Does

  • Declarative JSON spec — the agent writes data, not code (~30 lines vs ~150 lines of Python)
  • 45 official GCP icons (19 product + 26 category) pre-bundled as Iconify JSON
  • Pixel-perfect SVG output with inline vector icons — no base64 bloat, no Mermaid
  • Built-in validation catches bad icon IDs, invalid colors, and structural errors before rendering
  • 6 element types: layers, arrows, containers, splits, bridges, legends
  • Zero external dependencies — Python 3 stdlib only
  • Optional HTML output — auto-wraps SVG in an HTML viewer for easy sharing

Installation

Claude Desktop (ZIP upload)

1. ⬇ Download gcp-architecture-diagram.zip 2. In Claude Desktop, go to Customize → Skills → Add Skill 3. Upload the ZIP file

> This link always points to the latest build — updated automatically on every push via GitHub Actions.

Skills CLI (Claude Code, Cursor, Codex, ADK, and more)

# Install into current project
npx skills add MisterTK/gcp-architecture-diagram

# Install globally
npx skills add -g MisterTK/gcp-architecture-diagram

Claude Code Plugin

# Install into current project
claude plugin add MisterTK/gcp-architecture-diagram

# Install globally
claude plugin add -g MisterTK/gcp-architecture-diagram

Google ADK

from google.adk.tools.skill_toolset import SkillToolset

# After cloning the repo or running npx skills add
toolset = SkillToolset(skill_dir="path/to/skills/gcp-architecture-diagram")

Or via skills CLI (installs to ./agent/skills/gcp-architecture-diagram):

npx skills add MisterTK/gcp-architecture-diagram

Manual

# Claude Code plugin (project-level)
git clone https://github.com/MisterTK/gcp-architecture-diagram.git .claude/plugins/gcp-architecture-diagram

# Claude Code plugin (global)
git clone https://github.com/MisterTK/gcp-architecture-diagram.git ~/.claude/plugins/gcp-architecture-diagram

Usage

Ask your AI agent to create a GCP architecture diagram:

> Create a GCP architecture diagram showing Cloud Run connecting to
  BigQuery and Cloud Storage, with a VPC wrapper

> Diagram our GCP ML pipeline: Cloud Storage -> Dataflow -> Vertex AI -> Cloud Run

> Generate a multi-tenant architecture with Customer and Shared Services tenants

The skill will: 1. Map services to official GCP icon IDs 2. Write a JSON spec file describing the layout 3. Validate the spec against the icon pack 4. Render pixel-perfect SVG using render.py 5. Optionally convert to PNG or HTML

How It Works

User describes architecture
        ↓
Agent writes JSON spec (~30 lines)
        ↓
render.py validates spec (icon refs, colors, structure)
        ↓
render.py calculates heights (recursive first pass)
        ↓
render.py renders SVG (recursive second pass)
        ↓
Pixel-perfect SVG with inline vector icons

Why Not Graphviz or Mermaid?

  • Graphviz (Python diagrams library) is a graph layout engine, not a page layout engine — it can't do grid layouts and clusters float unpredictably
  • Mermaid architecture-beta is non-deterministic — layouts change on reload and the grid engine is fragile with complex diagrams
  • This skill generates SVG directly with absolute pixel coordinates — deterministic, precise, professional

Examples

Simple Web App

!Simple Web App

ML Pipeline

!ML Pipeline

Multi-Tenant SaaS

!Multi-Tenant

Split Row

!Split Row

JSON Spec Format

{
  "title": "My GCP Architecture",
  "subtitle": "Production Environment",
  "elements": [
    {"type": "legend", "items": [{"color": "blue", "label": "Compute"}]},
    {"type": "layer", "label": "COMPUTE", "color": "blue", "services": [
      {"icon": "cloud-run", "label": "Cloud Run", "sublabel": "API"}
    ]},
    {"type": "arrow", "color": "green"},
    {"type": "container", "label": "VPC", "color": "green", "elements": [...]},
    {"type": "split", "ratios": [3, 1], "elements": [...]},
    {"type": "bridge", "label": "A2A Protocol", "color": "red"}
  ]
}

Available Icons

19 Product icons: Cloud Run, Cloud SQL, Cloud Spanner, Cloud Storage, BigQuery, Compute Engine, GKE, Vertex AI, AlloyDB, Apigee, Anthos, Looker, Hyperdisk, Distributed Cloud, AI Hypercomputer, Mandiant, Security Command Center, Security Operations, Threat Intelligence

26 Category icons: AI/ML, Agents, BI, Collaboration, Compute, Containers, Data Analytics, Databases, DevOps, Developer Tools, Hybrid/Multicloud, Integration Services, Management Tools, Maps/Geospatial, Marketplace, Media Services, Migration, Mixed Reality, Networking, Observability, Operations, Security/Identity, Serverless, Storage, Web/Mobile, Web3

For services without a dedicated icon (Cloud Functions, Pub/Sub, Dataflow, etc.), the skill maps to the closest category icon.

Updating Icons

If Google releases new icons:

python skills/gcp-architecture-diagram/scripts/update_icons.py

This downloads the latest official icon ZIP and regenerates skills/gcp-architecture-diagram/assets/gcp-icons.json.

Structure

gcp-architecture-diagram/
├── README.md                    # This file
├── LICENSE                      # MIT
├── .claude-plugin/
│   └── plugin.json              # Plugin manifest
├── skills/
│   └── gcp-architecture-diagram/
│       ├── SKILL.md             # Agent instructions with spec format and icon catalog
│       ├── assets/
│       │   └── gcp-icons.json   # 45 official GCP icons (Iconify JSON, 82KB)
│       ├── scripts/
│       │   ├── render.py        # JSON spec → SVG/HTML renderer (stdlib only)
│       │   └── update_icons.py  # Download + convert fresh icons
│       └── references/
│           └── advanced-layouts.md  # Complex layout patterns
├── examples/                    # Example diagram outputs
└── evals/
    └── evals.json               # 5 test cases with assertions

License

MIT. GCP icons are property of Google LLC, subject to Google Cloud brand guidelines.

Related plugins

Browse all →