/rsturla-skills:vertex-aifrom rsturla-skills
Query and call Claude models on Vertex AI. Model reference, endpoint patterns, and quick API calls. Use when the user asks about Vertex AI, model availability, wants to call Claude via GCP, or mentions rawPredict, Vertex endpoints, or GCP AI — even if they just say "which Claude model", "newest model", "latest model", "call Claude from Go/Rust/Python", or ask about model IDs without mentioning Vertex AI.
Ships in rsturla-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This table is the ONLY source of truth for model IDs. Do NOT use model IDs from your training data — they are
wrong for this project. Do NOT add date suffixes, @date patterns, or version suffixes of any kind.
| Model | Model ID | Notes |
|---|---|---|
| Opus 4.7 | claude-opus-4-7 | Most capable, slowest |
| Sonnet 4.6 | claude-sonnet-4-6 | Balanced speed/quality |
| Haiku 4.5 | claude-haiku-4-5 | Fastest, cheapest |
These are the ONLY three models available. There are no other Claude models in this project.
All of the following patterns are WRONG and will return 404:
claude-opus-4-7-20250219 — no date suffixclaude-sonnet-4-6-20250514 — no date suffixclaude-haiku-4-5-20251001 — no date suffixclaude-opus-4@20250514 — no @date patternclaude-sonnet-4-20250514 — wrong naming scheme entirelyclaude-3-5-sonnet@20240620 — old model, not availableclaude-3-5-sonnet-v2@20241022 — old model, not availableclaude-3-5-haiku@20241022 — old model, not availableWhen the user asks for model IDs, respond ONLY with the three IDs from the table above. Do not invent or recall
any other model IDs. This applies everywhere: in tables, in prose, in endpoint URLs, in code examples. The model
ID in the rawPredict URL path must also be the short name (e.g., .../models/claude-opus-4-7:rawPredict).
Project: itpc-gcp-core-pe-eng-claude | Location: global
Always use the global endpoint — it is cheaper than regional endpoints (no 10% premium) and has better availability via dynamic routing.
POST https://aiplatform.googleapis.com/v1/projects/${PROJECT}/locations/global/publishers/anthropic/models/${MODEL}:rawPredict
Authorization: Bearer $(gcloud auth print-access-token)
Request body requires "anthropic_version": "vertex-2023-10-16".
TOKEN=$(gcloud auth print-access-token) && \
curl -s -X POST \
"https://aiplatform.googleapis.com/v1/projects/itpc-gcp-core-pe-eng-claude/locations/global/publishers/anthropic/models/${MODEL}:rawPredict" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json; charset=utf-8" \
-d "$(jq -n --arg prompt "$PROMPT" '{
anthropic_version: "vertex-2023-10-16",
messages: [{"role": "user", "content": $prompt}],
max_tokens: 1024,
stream: false
}')"
Parse response: jq -r '.content[0].text'
TOKEN=$(gcloud auth print-access-token) && \
curl -s -X POST \
"https://aiplatform.googleapis.com/v1/projects/itpc-gcp-core-pe-eng-claude/locations/global/publishers/anthropic/models/${MODEL}:rawPredict" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"anthropic_version":"vertex-2023-10-16","messages":[{"role":"user","content":"hi"}],"max_tokens":8}' \
| jq -r 'if .error then "NO: " + .error.message else "YES" end'
@date patterns return 404.aiplatform.googleapis.com with locations/global), NOT regional endpoints
(us-east5-aiplatform.googleapis.com). Regional endpoints have a 10% pricing premium.<commit> tag extraction as fallback.gcloud auth print-access-token tokens expire after 1 hour. Re-fetch for long-running scripts.content[0].text, not at top level.See REFERENCE.md for structured outputs and org policy details.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (rsturla/skills) — no native marketplace selected
npx claudepluginhub p/rsturla-rsturla-skills13 skills in this plugin
/build-agentBuild TypeScript AI agents with eval framework, provider abstraction, and production guardrails. Uses Vercel AI SDK for model-agnostic tool-use loops, Zod for structured outputs, Vitest for evals, and OpenTelemetry for observability. Covers prompt caching, extended thinking, RAG pipelines, structured output enforcement, tool annotations, seed tool calls, toolcall regression evals, and duplicate call detection. Use when the user wants to build an agent, create an AI assistant, implement tool-use, or scaffold an agentic system — even if they just say "build a bot", "add AI to this", or "make it agentic."
/code-reviewComprehensive code review using multiple specialized agents. Checks architecture, error handling, naming, testing, and style against project conventions. Use when the user asks for a code review, says "review this", "check my code", or wants feedback on changes — even if they just say "what do you think?" about a diff.
/commit-message