Skip to main content
skill CX Codex

vertex-infra-expert — Claude Code skill: Vertex AI and Terraform

vertex-infra-expert — a skill for provisioning Vertex AI infrastructure via Terraform. Deploys Gemini endpoints, vector search indices, ML pipelines, and production AI services with encryption, auto-scaling, and least-privilege IAM.

MIT 154 installs ★ 2,935 updated 2026-11-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jeremylongshore/tons-of-skills-marketplace --skill vertex-infra-expert -a claude-code
Open on GitHub

What vertex-infra-expert does

Available for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Generates baseline Terraform configurations for Vertex AI components: deploys Model Garden models, configures endpoints with auto-scaling, builds embedding indices, sets up ML pipelines. Includes deployment validation and a summary of applied changes.

Requires a Google Cloud project with Vertex AI API enabled, Terraform 1.0+, and gcloud CLI with appropriate permissions. KMS keys are needed for encryption; GCS buckets store model artifacts. Triggers on phrases like "vertex ai terraform", "deploy gemini terraform", "model garden infrastructure", "vertex ai endpoints terraform", or "vector search terraform".

Manages configuration files, creates or modifies .tf files, runs terraform and gcloud commands for validation and deployment. Returns a report detailing changes and their rationale.

What it helps with

  • deploy Gemini endpoints with auto-scaling in Vertex AI
  • create vector search indices for embeddings in Vertex AI
  • configure ML pipelines and services with KMS encryption
  • apply least-privilege IAM policies to AI services
  • validate and document Vertex AI Terraform deployments

Example prompts for the agent

  • Deploy a Gemini endpoint in Vertex AI with auto-scaling via Terraform
  • Create a vector search index for 768-dimensional embeddings in Vertex AI
  • Set up an ML pipeline in Vertex AI with data encryption and monitoring

How to install vertex-infra-expert

1Skills CLI (Vercel)

npx skills add jeremylongshore/tons-of-skills-marketplace --skill vertex-infra-expert -a claude-code

2Manually: put the files in place

~/.claude/skills/vertex-infra-expert/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/vertex-infra-expert/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about vertex-infra-expert

How do I install vertex-infra-expert in Claude Code?

Run npx skills add jeremylongshore/tons-of-skills-marketplace --skill vertex-infra-expert -a claude-code, then open ~/.claude/skills/vertex-infra-expert/SKILL.md.

What does vertex-infra-expert do?

Generates and applies Terraform configurations for Vertex AI: deploys model endpoints, creates vector search indices, configures ML pipelines with encryption and auto-scaling, sets up IAM and monitoring.

What do I need before using this skill?

You need a Google Cloud project with Vertex AI API enabled, Terraform 1.0+, gcloud CLI installed with Vertex AI permissions, KMS keys for encryption (if required), and GCS buckets for model artifacts.

Source text

SKILL.md · MIT
---
name: vertex-infra-expert
description: 'Execute use when provisioning Vertex AI infrastructure with Terraform.
  Trigger with phrases like "vertex ai terraform", "deploy gemini terraform", "model
  garden infrastructure", "vertex ai endpoints terraform", or "vector search terraform".
  Provisions Model Garden models, Gemini endpoints, vector search indices, ML pipelines,
  and production AI services with encryption and auto-scaling.

  '
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(terraform:*), Bash(gcloud:*)
version: 2.23.0
author: Jeremy Longshore <[email protected]>
license: MIT
tags:
- devops
- deployment
- terraform
- ml
compatibility: Designed for Claude Code
---
# Vertex Infra Expert

## Overview

Provision Vertex AI infrastructure with Terraform (endpoints, deployed models, vector search indices, pipelines) with production guardrails: encryption, autoscaling, IAM least privilege, and operational validation steps. Use this skill to generate a minimal working Terraform baseline and iterate toward enterprise-ready deployments.

## Prerequisites

Before using this skill, ensure:

- Google Cloud project with Vertex AI API enabled
- Terraform 1.0+ installed
- gcloud CLI authenticated with appropriate permissions
- Understanding of Vertex AI services and ML models
- KMS keys created for encryption (if required)
- GCS buckets for model artifacts and embeddings

## Instructions

1. **Define AI Services**: Identify required Vertex AI components (endpoints, vector search, pipelines)
2. **Configure Terraform**: Set up backend and define project variables
3. **Provision Endpoints**: Deploy Gemini or custom model endpoints with auto-scaling
4. **Set Up Vector Search**: Create indices for embeddings with appropriate dimensions
5. **Configure Encryption**: Apply KMS encryption to endpoints and data
6. **Implement Monitoring**: Set up Cloud Monitoring for model performance
7. **Apply IAM Policies**: Grant least privilege access to AI services
8. **Validate Deployment**: Test endpoints and verify model availability

## Output

- Configuration files or code changes applied to the project
- Validation report confirming correct implementation
- Summary of changes made and their rationale

See Terraform implementation details for output format specifications.

## Error Handling

See [`references/errors.md`](references/errors.md) for comprehensive error handling.

## Examples

See [`references/examples.md`](references/examples.md) for detailed examples.

## Resources

- Vertex AI Terraform: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/vertex_ai_endpoint
- Vertex AI documentation: https://cloud.google.com/vertex-ai/docs
- Model Garden: https://cloud.google.com/model-garden
- Vector Search guide:
- Terraform examples in ${CLAUDE_SKILL_DIR}/vertex-examples/

© Jeremy Longshore · MIT · jeremylongshore/tons-of-skills-marketplace

Similar skills

All skills for DevOps and infrastructure →

From the same set139

The whole set →
swagger-doc-creator swagger-doc-creator automates Swagger and OpenAPI documentation tasks, generating schema configurations and validating API definitions against standard patterns. CX Codex +1 239installs aggregating-crypto-news aggregating-crypto-news — a skill for Claude Code and five other platforms that pulls articles from CoinDesk, CoinTelegraph, The Block, and Decrypt RSS feeds, then filters by coin, category, and time window. CX Codex +1 238installs forecasting-time-series-data forecasting-time-series-data is a Claude Code skill that predicts future values from historical time series. It activates for tasks such as estimating sales or website traffic over time. CX Codex +1 206installs mermaid-flowchart-generator mermaid-flowchart-generator — a skill that gives an agent step-by-step guidance for Mermaid flowchart work. It activates on its own when the prompt mentions mermaid. CX Codex +1 174installs plantuml-diagram-generator plantuml-diagram-generator automates creating PlantUML diagrams and visual documentation. It triggers automatically whenever you mention PlantUML or diagram generation in your prompt. CX Codex +1 123installs ansible-playbook-generator The ansible-playbook-generator skill creates Ansible playbooks, checks their configuration, and helps diagnose common setup errors. It fits DevOps and infrastructure work. CX Codex +1 116installs docker-compose-creator docker-compose-creator is a Claude Code skill that helps write Docker Compose setups and check configuration files for missing settings during Docker or container setup discussions. CX Codex +1 108installs jmeter-test-plan-creator The jmeter-test-plan-creator skill helps create JMeter test plans, code, and configurations for performance work. It fits requests about load tests and JMeter setup. CX Codex +1 107installs

More in the catalog

Project sponsors

Companies that keep this analytics open