gcp-knowledge-patch
GCP changes since training cutoff — Gen AI SDK replaces Vertex AI SDK, Gemini 2.5/3.x models, Cloud Run worker pools, Artifact Registry migration, ADK. Load before working with GCP.
What this skill does
# Google Cloud Platform Knowledge Patch
Claude's baseline knowledge covers GCP through ~2024. This skill provides changes from 2025 onwards: the Gen AI SDK replacing Vertex AI, new Gemini models, Cloud Run improvements, Container Registry shutdown, and the Agent Development Kit.
## Reference Index
- `references/gen-ai-sdk.md` — Google Gen AI SDK (replaces Vertex AI SDK): installation, client setup, migration patterns, API changes
- `references/gemini-models.md` — Current Gemini model lineup, image generation, embeddings
- `references/cloud-run.md` — Worker pools, Compose deployment, IAP without load balancer
- `references/artifact-registry.md` — Container Registry shutdown, migration to Artifact Registry
- `references/agent-development-kit.md` — ADK framework for multi-agent AI systems
## Quick Reference
### Gen AI SDK — Migration Summary
The `vertexai.generative_models` module is **deprecated** (removal after June 24, 2026). Use the Google Gen AI SDK.
| Language | Old package | New package |
|----------|------------|-------------|
| Python | `google-cloud-aiplatform` | `pip install google-genai` |
| Node.js | `@google-cloud/vertexai` | `npm install @google/genai` |
| Go | `cloud.google.com/go/vertexai/genai` | `go get google.golang.org/genai` |
| Java | `com.google.cloud:google-cloud-vertexai` | `com.google.genai:google-genai` |
```python
from google import genai
from google.genai.types import HttpOptions
client = genai.Client(http_options=HttpOptions(api_version="v1"))
response = client.models.generate_content(
model="gemini-2.5-flash",
contents="Hello",
)
print(response.text)
```
**Vertex AI env vars:**
```bash
export GOOGLE_CLOUD_PROJECT=my-project
export GOOGLE_CLOUD_LOCATION=us-central1
export GOOGLE_GENAI_USE_VERTEXAI=True
```
**Node.js:**
```javascript
import { GoogleGenAI } from '@google/genai';
const ai = new GoogleGenAI({
vertexai: true,
project: process.env.GOOGLE_CLOUD_PROJECT,
location: process.env.GOOGLE_CLOUD_LOCATION,
});
const response = await ai.models.generateContent({
model: 'gemini-2.5-flash',
contents: 'Hello',
});
console.log(response.text);
```
**Go:**
```go
client, _ := genai.NewClient(ctx, genai.ClientConfig{
HTTPOptions: genai.HTTPOptions{APIVersion: "v1"},
})
resp, _ := client.Models.GenerateContent(ctx,
"gemini-2.5-flash",
genai.Text("Hello"),
nil,
)
fmt.Println(resp.Text())
```
**Vertex AI Express Mode** — use API key instead of ADC:
```python
client = genai.Client(vertexai=True, api_key="YOUR_API_KEY")
```
**Key API pattern changes:**
- Config via typed objects: `config=types.GenerateContentConfig(system_instruction=..., temperature=0.3)`
- Function calling — pass Python functions directly: `config=types.GenerateContentConfig(tools=[my_function])`
- Embeddings: `client.models.embed_content(model="gemini-embedding-001", contents="text", config=EmbedContentConfig(task_type="RETRIEVAL_DOCUMENT"))`
- Caching: `client.caches.create(model=..., config=CreateCachedContentConfig(contents=..., ttl="86400s"))`
- Chat: `chat = client.chats.create(model="gemini-2.5-flash", config=...)`
See `references/gen-ai-sdk.md` for full before/after migration examples.
### Gemini Models (March 2026)
| Model | ID | Status |
|-------|----|--------|
| Gemini 2.0 Flash | `gemini-2.0-flash` | GA (retires June 2026) |
| Gemini 2.5 Pro | `gemini-2.5-pro` | GA |
| Gemini 2.5 Flash | `gemini-2.5-flash` | GA |
| Gemini 2.5 Flash-Lite | `gemini-2.5-flash-lite` | GA |
| Gemini 3 Flash | `gemini-3-flash` | Preview |
| Gemini 3.1 Pro | `gemini-3.1-pro` | Preview |
| Gemini 3.1 Flash-Lite | `gemini-3.1-flash-lite-preview` | Preview |
- **Image generation**: Use `gemini-2.5-flash-image` or `gemini-3.1-flash-image` (preview). Imagen endpoints deprecated.
- **Embeddings**: Use `gemini-embedding-001` (replaces `text-embedding-005` series).
See `references/gemini-models.md` for details.
### Container Registry → Artifact Registry
Container Registry **shut down March 18, 2025**. All images must use Artifact Registry.
- Domain: `pkg.dev` (e.g., `us-docker.pkg.dev/my-project/my-repo/image:tag`)
- `gcr.io` URLs now redirect to Artifact Registry if you set up gcr.io repositories
- Commands: `gcloud artifacts repositories create` / `gcloud artifacts docker images list` (not `gcloud container images`)
### Cloud Run
**Worker pools** — new resource type for non-request workloads (background processing, queue consumers). Unlike services, worker pools don't listen for HTTP requests:
```bash
gcloud run worker-pools deploy my-worker \
--image=us-docker.pkg.dev/my-project/repo/worker:latest \
--region=us-central1
```
Supports GPU, VPC Direct, Cloud Storage volume mounts.
**Compose deployment (GA):**
```bash
gcloud run deploy --compose=docker-compose.yaml
```
**IAP without load balancer (GA):** Configure Identity-Aware Proxy directly on Cloud Run services.
See `references/cloud-run.md` for details.
### Agent Development Kit (ADK)
```bash
pip install google-adk # Python
npm install @google/adk # TypeScript
```
Cloud Run auto-detects ADK entrypoints for Python source deployments.
See `references/agent-development-kit.md` for details.
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.