finding-google-skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Inspects Google Cloud Filestore capacity and utilization, evaluates storage scaling rules, and performs capacity autoscaling (scale UP for low free space or scale DOWN for cost optimization). Use when monitoring Filestore instance headroom, resizing instance shares, configuring
$ npx -y skills add google/skills --skill google-cloud-filestore-autoscale --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/google-cloud-filestore-autoscaleContext preview
The summary Claude sees to decide when to auto-load this skill.
Inspects Google Cloud Filestore capacity and utilization, evaluates storage scaling rules, and performs capacity autoscaling (scale UP for low free space or scale DOWN for cost optimization). Use when monitoring Filestore instance headroom, resizing instance shares, configuring
name: google-cloud-filestore-autoscale metadata: category: Storage description: >- Inspects Google Cloud Filestore capacity and utilization, evaluates storage scaling rules, and performs capacity autoscaling (scale UP for low free space or scale DOWN for cost optimization). Use when monitoring Filestore instance headroom, resizing instance shares, configuring automated growth/shrink thresholds (custom thresholds apply globally across projects in session memory), or preventing out-of-space outages. Don't use for Cloud Storage (GCS) buckets, Persistent Disk block storage, or NetApp Volumes.
This skill enables agents to inspect, evaluate, and modify Google Cloud Filestore instance capacities across GCP projects based on configured thresholds.
Before an agent or user can execute this skill, their runtime Service Account must possess the following IAM roles on the target project(s):
up/down updates)
capacity metrics `used_bytes`)
1. Ensure `gcloud` is installed. See [gcloud installation guide](https://cloud.google.com/sdk/docs/install) if needed. 2. Enable essential APIs:
gcloud services enable file.googleapis.com monitoring.googleapis.com --quiet
3. Inspect fleet capacity and free space (see "Discovery & Read Operations" below). 4. Evaluate against configured up/down capacity thresholds. 5. Scale target instances and apply attribution tags.
Tag every Cloud Filestore command or API request provided or executed. Prefix `gcloud` commands with the correct metrics environment targeting this skill:
CLOUDSDK_METRICS_ENVIRONMENT="gcs-skills gcs-skills/1.0 (skill:google-cloud-filestore-autoscale)" \ gcloud filestore instances update ...
On direct HTTP calls to the REST API, append the `User-Agent`:
User-Agent: gcs-skills/1.0 (skill:google-cloud-filestore-autoscale)
For purely conceptual, educational, or informational questions (e.g., "What are Filestore scaling limits?", "Can Basic instances scale down?", "Explain Filestore Tiers"):
If the user prompt contains constraints like "Do not execute commands", "without executing", or "read-only":
1. First, check if Filestore MCP tools (`list_instances`, `get_instance`) are available and use them (these are API calls, not command executions). 2. If MCP tools are not available, search local markdown documentation files (e.g., `references/instance-tiers-specs.md`) for any mock instance definitions or project details matching the request. (Do NOT attempt to read evaluation config files such as `EVAL.yaml` or `EVAL.txtpb` during evaluation runs as access is restricted). 3. If no data can be found, explain the required steps and formulas, and output the exact commands the user should run, without executing them yourself.
Filestore tiers enforce specific boundaries and behaviors. The skill must accept both modern UI names (`Basic`, `Zonal`, `Regional`) and legacy API enums interchangeably.
See `references/instance-tiers-specs.md` for the full Tier & Capacity Limits Matrix (Min/Max capacities, step increments).
**Critical Thresholds:**
`list_instances(parent='projects/{project_id}/locations/-')` or CLI `gcloud filestore instances list --project={project_id}` to discover all Filestore instances in the target project. Read the `capacityGb` and `tier` directly from the instances returned.
discovering instances, query the Cloud Monitoring API for the `file.googleapis.com/nfs/server/used_bytes` metric across the entire project in a single request (see `references/monitoring-metrics.md` for runtime-specific options including GCP REST API, `gcloud`, `curl`, and MCP tools).
**CRITICAL**: Make exactly ONE bulk metric request for the entire project. **NEVER emit multiple per-instance queries or loops.** Do NOT filter by zone or region.
`metric.labels.instance_name`) in the returned `timeSeries` data to extract its latest `int64Value` bytes.
its `used_bytes` to 0.
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Repo: google/skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.…
Provides expert guidance on authenticating and authorizing to Google Cloud services and APIs, covering human users, service identities, Application Default…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client…