New to Claude Skills? Learn how to install them →

jeremylongshore on GitHub

Validator Expert

Free

Ensure your Vertex AI deployments are production-ready.

Get this skill

Free · Opens the source repo

What Validator Expert does

Validator Expert is a bash-based skill designed to assess the production readiness of Vertex AI Agent Engine deployments. It performs a comprehensive evaluation across five critical categories: security, monitoring, performance, compliance, and best practices. Each category contributes a weighted score to a composite score ranging from 0 to 100%, allowing users to gauge the overall readiness of their deployments. The skill not only identifies potential weaknesses but also generates actionable remediation plans to address any issues found during the validation process.

To use Validator Expert, users must have the gcloud CLI authenticated with specific roles and access to the target Google Cloud project. The skill retrieves deployment configurations and runs a series of checks tailored to each category. For example, in the security category, it verifies IAM roles, checks for encryption settings, and ensures that monitoring and alerting policies are in place. The performance checks assess auto-scaling configurations, resource limits, and caching strategies, while compliance checks focus on audit logging and data residency requirements.

This skill is particularly useful for developers and teams working with Vertex AI who need to ensure that their agents are secure, compliant, and performant before going live. It is also valuable for conducting regular audits, especially in environments where compliance with standards such as SOC 2 is essential. By providing a detailed breakdown of scores and a prioritized remediation plan, Validator Expert helps teams maintain high standards for their AI deployments and mitigate risks effectively.

When to use it

Use Validator Expert when preparing to launch a new Vertex AI agent or when conducting regular audits of existing deployments.

When not to use it

This skill is not suitable for validating non-Vertex AI deployments or for users without the necessary gcloud permissions and project access.

What you can build with it

Pre-Launch Validation

Validate a new ADK agent before production launch by running all five validation categories to ensure readiness.

Post-Incident Security Audit

Re-validate the security posture after an incident, focusing on IAM roles and VPC-SC perimeter integrity.

Quarterly Compliance Review

Execute compliance and monitoring validation suites for SOC 2 audit preparation, verifying audit logging and data residency.

How to install Validator Expert

View source

1. Install with the skills CLI

npx skills add jeremylongshore/claude-code-plugins-plus-skills/validator-expert --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by jeremylongshore

Validator Expert

Current State

!gcloud config get-value project 2>/dev/null || echo 'no active project' !gcloud auth list --filter=status:ACTIVE --format="value(account)" 2>/dev/null || echo 'not authenticated'

Overview

Validate production readiness of Vertex AI Agent Engine deployments by executing weighted checks across five categories: security (30 points), monitoring (20 points), performance (25 points), compliance (15 points), and best practices (10 points). This skill produces a 0-100% composite score with pass/fail per check and prioritized remediation recommendations.

Prerequisites

  • gcloud CLI authenticated with roles/aiplatform.viewer, roles/iam.securityReviewer, and roles/monitoring.viewer
  • Access to the target Google Cloud project and Vertex AI Agent Engine deployment
  • Cloud Monitoring API and Cloud Logging API enabled in the project
  • Knowledge of the deployment's expected SLOs (latency targets, error rate thresholds)
  • Read-only access to IAM policies, VPC-SC configurations, and service account bindings

Instructions

  1. Retrieve the deployment configuration using the Python SDK (vertexai.Client().agent_engines.get(name)) or REST API (GET https://{LOCATION}-aiplatform.googleapis.com/v1/projects/{PROJECT}/locations/{LOCATION}/reasoningEngines/{ID}) and parse model, scaling, and feature settings
  2. Run the security validation suite (see security checklist):
    • Check if Agent Identity is enabled (recommended over service accounts for 2025+ deployments)
    • If using service accounts, verify IAM roles follow least-privilege (roles/aiplatform.expressUser, not roles/aiplatform.admin)
    • Confirm VPC Service Controls perimeter is active and correctly scoped
    • Check encryption at rest (CMEK or Google-managed) and in-transit (TLS 1.3)
    • Scan configuration files and environment variables for hardcoded secrets
    • Validate Model Armor is enabled with roles/modelarmor.user granted
    • Check Memory Bank IAM Conditions for multi-tenant agents
  3. Run the monitoring validation suite:
    • Verify Cloud Monitoring dashboards exist with required panels (request count, error rate, latency)
    • Confirm alerting policies cover error rate spikes, latency SLO breaches, and cost thresholds
    • Check token usage tracking is enabled with per-model granularity
    • Validate structured logging with severity levels and correlation IDs
    • Confirm latency SLOs are defined with p95 and p99 targets
  4. Run the performance validation suite:
    • Verify auto-scaling is configured with appropriate min/max instance counts
    • Check resource limits (CPU, memory) match expected workload profile
    • Confirm caching strategy is implemented for repeated prompts or embeddings
    • Validate Code Execution Sandbox TTL is set between 7-14 days
    • Check Memory Bank retention policy (min 100 memories, auto-cleanup enabled)
  5. Run the compliance validation suite:
    • Confirm audit logging is enabled for all admin and data access operations
    • Verify data residency meets regional requirements
    • Check privacy policies and data retention schedules
    • Validate backup and disaster recovery configuration
  6. Calculate weighted scores per category and compute the overall production readiness percentage
  7. Generate a prioritized recommendation list sorted by score impact per remediation effort

Output

  • Production readiness score: 0-100% with status (READY >= 85%, NEEDS WORK 70-84%, NOT READY < 70%)
  • Per-category breakdown: security (x/30), monitoring (x/20), performance (x/25), compliance (x/15), best practices (x/10)
  • Pass/fail table for each individual check with evidence notes
  • Prioritized remediation plan: action items ranked by score improvement per effort
  • Comparison to previous validation run (if available) showing score delta

Error Handling

ErrorCauseSolution
Insufficient IAM permissionsViewer roles not granted on target projectRequest roles/aiplatform.viewer and roles/iam.securityReviewer from project admin
Agent deployment not foundIncorrect agent ID or deployment deletedVerify agent ID with vertexai.Client().agent_engines.list() or REST GET .../reasoningEngines; confirm deployment region
Monitoring API returns no dataAPI not enabled or agent has zero trafficEnable Monitoring API; generate synthetic traffic to populate baseline metrics
VPC-SC configuration inaccessibleOrganization policy restricts VPC-SC readsRequest roles/accesscontextmanager.policyReader at organization level
Compliance check inconclusiveAudit logs not enabled or retention too shortEnable Data Access audit logs; set log retention to minimum 365 days

Examples

Scenario 1: Pre-Launch Validation -- Validate a new ADK agent before production launch. Run all five validation categories. Target score: 85%+ overall, with security score at 28/30 minimum. Generate remediation plan for any failing checks.

Scenario 2: Post-Incident Security Audit -- After a permission escalation incident, re-validate security posture. Focus on IAM least-privilege, service account bindings, and VPC-SC perimeter integrity. Compare scores against the last passing validation.

Scenario 3: Quarterly Compliance Review -- Execute compliance and monitoring validation suites for SOC 2 audit preparation. Verify audit logging coverage, data residency compliance, and backup/DR configuration. Export results as evidence artifacts.

Resources

Validation checklists (read the relevant one during each validation step):

Official Google Cloud documentation:

Frequently asked questions about Validator Expert

Similar skills