[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6995B50TJ9B5VY619QXCQC7":3,"skill-same:01M6995B50TJ9B5VY619QXCQC7":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":17,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6995B50TJ9B5VY619QXCQC7","google-cloud-filestore-autoscale","Google Cloud Filestore 容量自动扩缩","Inspects Filestore capacity and utilization on Google Cloud, 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\u002Fshrink 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.","检查 Google Cloud 上 Filestore 的容量与利用率，评估存储扩缩容规则，并执行容量自动扩缩（空间不足时扩容，成本优化时缩容）。适用于监控 Filestore 实例剩余空间、调整实例共享容量、配置自动增长\u002F收缩阈值（自定义阈值在会话内存中跨项目全局生效）或防止空间耗尽导致的中断。不适用于 Cloud Storage（GCS）存储桶、Persistent Disk 块存储或 NetApp Volumes。","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",[31,32,10,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"google cloud","google cloud filestore autoscale","autoscale","cloud","down","thresholds","storage","session memory","across","monitoring","disk","when","free","autoscaling","Cloud Storage","up","scaling","projects","memory","2026-11-10 10:12:30",false,"---\nname: google-cloud-filestore-autoscale\nmetadata:\n  version: \"1.0.3\"\n  category: Storage\ndescription: >-\n  Inspects Filestore capacity and utilization on Google Cloud, evaluates storage\n  scaling rules, and performs capacity autoscaling (scale UP for low free space\n  or scale DOWN for cost optimization). Use when monitoring Filestore instance\n  headroom, resizing instance shares, configuring automated growth\u002Fshrink\n  thresholds (custom thresholds apply globally across projects in session memory),\n  or preventing out-of-space outages. Don't use for Cloud Storage (GCS) buckets,\n  Persistent Disk block storage, or NetApp Volumes.\n---\n\n# Filestore Autoscale\n\nThis skill enables agents to inspect, evaluate, and modify Filestore\ninstance capacities across Google Cloud projects based on configured\nthresholds.\n\n## Prerequisites \u002F IAM Requirements\n\nBefore an agent or user can execute this skill, their runtime Service Account\nmust possess the following IAM roles on the target project(s):\n\n-   **`roles\u002Ffile.editor`** (Required for listing instances and triggering scale\n    up\u002Fdown updates)\n-   **`roles\u002Fmonitoring.viewer`** (Required for reading Cloud Monitoring\n    capacity metrics `used_bytes`)\n-   **`roles\u002Fmcp.toolUser`** (Required if utilizing backend Filestore MCP tools)\n\n## Quick Start\n\n1.  Ensure `gcloud` is installed. See\n    [gcloud installation guide](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) if\n    needed.\n2.  Enable essential APIs:\n\n    ```bash\n    gcloud services enable file.googleapis.com monitoring.googleapis.com --quiet\n    ```\n3.  Inspect fleet capacity and free space (see \"Discovery & Read Operations\"\n    below).\n4.  Evaluate against configured up\u002Fdown capacity thresholds.\n5.  Scale target instances and apply attribution tags.\n\n## Usage Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read and follow the instructions in\n[Usage Attribution](references\u002Fattribution.md).\n\n## Conceptual & Informational Queries (CRITICAL)\n\nFor purely conceptual, educational, or informational questions (e.g., \"What are Filestore scaling limits?\",\n\"Can Basic instances scale down?\", \"Explain Filestore Tiers\"):\n\n*   **Rule**: **Answer immediately using your pre-trained knowledge and the matrix below.**\n*   **Constraint**: **Do not execute external tool calls or API requests** for basic knowledge questions.\n\n## Handling \"No-Command\" Constraints (CRITICAL)\n\nIf the user prompt contains constraints like \"Do not execute commands\", \"without executing\", or \"read-only\":\n\n*   **Rule**: **Strictly avoid calling the `run_command` tool** to execute any\n    shell, `gcloud`, or code search (`cs`) commands (including read-only\n    list\u002Fdescribe commands).\n*   **Discovery**:\n    1.  Whenever outputting or recommending a `gcloud` command (including when\n        evaluating instance values provided directly in the user prompt), read\n        [Usage Attribution](references\u002Fattribution.md) first so the command\n        includes the required attribution prefix; do not search for additional\n        unrelated files when instance tier, capacity, and utilization are\n        already in the prompt.\n    2.  Otherwise, check if Filestore MCP tools (`list_instances`,\n        `get_instance`) are available and use them (these are API calls, not\n        command executions).\n    3.  If MCP tools are not available, check\n        `references\u002Finstance-tiers-specs.md` for any mock instance definitions\n        or project details matching the request. (Do NOT run repository-wide\n        searches or attempt to read evaluation config files such as `EVAL.yaml`\n        or `EVAL.txtpb` during evaluation runs as access is restricted).\n    4.  If no data can be found, explain the required steps and formulas, and\n        output the attributed `gcloud` terminal commands for the user to confirm\n        and run, without executing them yourself.\n*   **Mandatory User Confirmation Requirement**: Even when the user prompt asks not to execute commands or asks only for command syntax\u002Frecommendations, your response MUST STILL end with a clear question prompting the user for confirmation before executing any capacity resizing commands (e.g., *\"Would you like me to proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to execute.\"*).\n\n## Tier & Capacity Limits Matrix\n\nFilestore tiers enforce specific boundaries and behaviors. The skill must accept both modern UI names (`Basic`, `Zonal`, `Regional`) and legacy API enums interchangeably.\n\nSee `references\u002Finstance-tiers-specs.md` for the full Tier & Capacity Limits Matrix (Min\u002FMax capacities, step increments).\n\n**Critical Thresholds:**\n\n- **Basic HDD \u002F Basic SSD**: Can scale up, but **cannot scale down**.\n- **Zonal \u002F Regional**: Can scale down, but cannot shrink below their minimum\n  floor (100 GiB for Regional Small Band, 1 TiB for Zonal Small Band, or 10 TiB\n  for Large Band) AND cannot shrink below current `used_bytes`.\n\n## Core Operational Workflow\n\n### 1. Discovery & Read Operations\n\n-   **Step 1 (Fleet Discovery)**: Call the MCP tool\n    `list_instances(parent='projects\u002F{project_id}\u002Flocations\u002F-')` or CLI `gcloud\n    filestore instances list --project={project_id}` to discover all Filestore\n    instances in the target project. Read the `capacityGb` and `tier` directly\n    from the instances returned.\n-   **Step 2 (Single Bulk Utilization Metric Query)**: Immediately after\n    discovering instances, query the Cloud Monitoring API for the\n    `file.googleapis.com\u002Fnfs\u002Fserver\u002Fused_bytes` metric across the entire project\n    in a single request (see `references\u002Fmonitoring-metrics.md` for\n    runtime-specific options including GCP REST API, `gcloud`, `curl`, and MCP\n    tools).\n\n    **CRITICAL**: Make exactly ONE bulk metric request for the entire project.\n    **NEVER emit multiple per-instance queries or loops.** Do NOT filter by zone\n    or region.\n\n-   **Step 3 (Metric Extraction & Calculation)**:\n\n    -   Match each instance's short name (or `resource.labels.instance_name` \u002F\n        `metric.labels.instance_name`) in the returned `timeSeries` data to\n        extract its latest `int64Value` bytes.\n    -   If an instance is not listed in `timeSeries` or has no points, default\n        its `used_bytes` to 0.\n    -   Calculate `used_bytes_gb = used_bytes \u002F (1024^3)`.\n    -   Calculate `Free Space % = ((capacityGb - used_bytes_gb) \u002F capacityGb) *\n        100`.\n    -   NEVER leave `Used Bytes` or `Free Space %` as \"N\u002FA\". Populate actual\n        numbers into the output summary table.\n\n### 2. Autoscale Needed Matrix\n\nThe skill must categorize each evaluated instance into one of 5 definitive verdicts. On the initial analysis\u002Ffleet inspection run, the skill suggests the required scaling action with target capacity and update commands, and **prompts for user confirmation before executing any autoscale modifications**. State the value of the \"Autoscale Needed\" column clearly as one of the following:\n\n-   **Yes (Scale Up)**: Triggered when free space percentage is below the\n    scale-up safety threshold (\u003C 15% free space remaining). The evaluation\n    response MUST explicitly state that the current free space percentage is\n    below the 15% scale-up safety threshold. Capacity must be increased by 10%\n    (default) or step-size minimum, rounded to the tier's step increment (1 GiB\n    for Regional Small Band [100 GiB-10,239 GiB] or Basic, 256 GiB for Zonal\n    Small Band [1-9.75 TiB] or Enterprise [1-10 TiB],\n    2.5 TiB for Large Band [10-100 TiB],\n    as specified in `references\u002Finstance-tiers-specs.md`), not exceeding the\n    maximum capacity. Always explicitly state the calculated target capacity in\n    **both TiB and GiB** (for example, for a 1 TiB [1024 GiB] Basic instance\n    increased by +10%, explicitly state `1.1 TiB` alongside its 1 GiB\n    step-aligned equivalent `1126 GiB` \u002F `1127 GiB`). Suggest target capacity,\n    provide the attributed `gcloud`\n    update command, and MUST conclude the response with a clear question\n    prompting the user for confirmation to execute (e.g., *\"Would you like me to\n    proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to\n    execute.\"*).\n-   **Yes (Scale Down)**: Triggered when free space exceeds the scale-down\n    threshold (> 30% free space remaining) and the instance is eligible for\n    downscaling (Zonal or Regional \u002F Enterprise tiers). Apply the default step\n    reduction of -10% of current capacity, aligned to the tier's step increment\n    (1 GiB for Regional Small Band [100 GiB-10,239 GiB], 256 GiB for Zonal\n    Small Band [1-9.75 TiB] or Enterprise [1-10 TiB],\n    2.5 TiB for Large Band [10-100 TiB],\n    as specified in `references\u002Finstance-tiers-specs.md`). For example, for a\n    2 TiB (2048 GiB) Enterprise \u002F Zonal Small Band instance, rounding to the\n    256 GiB step yields a proposed target capacity of 1.75 TiB (1792 GiB, or\n    1.8 TiB). The response MUST explicitly verify that the proposed target\n    capacity (e.g. 1.75 TiB \u002F 1792 GiB or 1.8 TiB) remains strictly above both\n    the tier's minimum capacity floor (100 GiB for Regional Small Band, 1 TiB\n    for Zonal Small Band \u002F Enterprise, or 10 TiB for Large Band) and currently\n    used space (e.g. 0.9 TiB). Do NOT reduce directly to the floor in a single\n    step. Suggest target capacity, estimated cost savings, provide the\n    attributed `gcloud` update command, and prompt the user for confirmation to\n    execute.\n-   **No (Healthy)**: Triggered when the instance's free space is within the\n    optimal operating range (15% – 30%). No action required.\n-   **No (At min capacity limit)**: Triggered when free space is > 30%, but the\n    instance is already at the minimum allowed tier capacity floor (100 GiB for\n    Regional Small Band, 1 TiB for Zonal Small Band \u002F Enterprise, or 10 TiB for\n    Large Band) or currently used space limit. No action can be taken.\n-   **No (Tier cannot scale down)**: Triggered when free space is > 30%, but the\n    instance is on a Basic tier (Basic HDD \u002F Basic SSD) which does not support\n    downscaling. The agent must explicitly inform the user that scale-down is\n    not supported and suggest data migration instead. No action can be taken.\n\n### Output Format\n\n**Every status report, evaluation, or recommendation response MUST include a markdown table summarizing the evaluated instances.** Even if evaluating a single instance, format it as a table.\nThe table MUST contain the following columns:\n\n*   `Instance`\n*   `Service Tier`\n*   `Provisioned Capacity`\n*   `Used Bytes`\n*   `Free Space %`\n*   `Autoscale Needed` (MUST contain one of: `Yes (Scale Up)`, `Yes (Scale Down)`, `No (Healthy)`, `No (At min capacity limit)`, or `No (Tier cannot scale down)`)\n\nExample standard output table:\n\n```markdown\n| Instance | Service Tier | Provisioned Capacity | Used Bytes | Free Space % | Autoscale Needed | Proposed Action |\n|---|---|---|---|---|---|---|\n| `[instance-name]` | REGIONAL | 2048 GiB | 900 GiB | 56.05% | Yes (Scale Down) | Scale down to 1792 GiB. `gcloud filestore instances update ...` |\n```\n\n### 3. Execution & Confirmation Workflow\n\n1. **Analysis & Recommendation (First Run \u002F Inspection)**:\n   - Calculate step-aligned target capacity adhering to tier ceilings, floors, and basic scale-up only rules.\n   - Present the summary table and proposed actions.\n   - **MANDATORY USER CONFIRMATION PROMPT**: Whenever recommending target capacity or providing a `gcloud filestore instances update` command, your response MUST explicitly include a clear question asking the user to confirm execution before any modifications are made (e.g. *\"Would you like me to proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to execute.\"*) to prevent accidental billing spikes or capacity exhaustion.\n   - **Do not execute autoscale commands without user confirmation.**\n2. **Execution upon Confirmation**:\n   - Once the user confirms (e.g., \"Yes, proceed with scaling\", \"Scale instance X\"), execute the attributed `gcloud filestore instances update` command on the confirmed instance(s).\n3. **Fallback**:\n   - If execution fails due to Prod mutation restrictions, output the failure reason and provide the user with the exact attributed `gcloud` command to run manually, reminding them to confirm before manual execution.\n\n### Custom Thresholds\n\nWhen the user configures or passes custom threshold values in prompts (e.g.\n\"Scale up if free space drops below 10% with a 20% step\", or custom\nmax_threshold \u002F up_increment):\n\n1.  **Global Session Memory Confirmation**: The response MUST accept and\n    acknowledge the custom thresholds and MUST explicitly confirm that custom\n    thresholds apply globally across projects in session memory, explicitly\n    mentioning the target project IDs evaluated or active in session memory to\n    prevent accidental cross-project misconfiguration.\n2.  **Configuration Summary**: The response MUST display the updated active\n    configuration summary showing all active thresholds and step increments.\n3.  **Preserve Overrides**: The response MUST NOT revert to default thresholds\n    (15% \u002F 10%) when custom overrides are provided.\n\n## Reference Directory\n\nFor progressive disclosure of deeper topics, consult the `references\u002F` directory:\n\n- [Usage Attribution](references\u002Fattribution.md)\n- [Instance Tiers & Specs](references\u002Finstance-tiers-specs.md)\n- [Monitoring Metrics Formulas](references\u002Fmonitoring-metrics.md)\n- [Troubleshooting & Errors](references\u002Ftroubleshooting-errors.md)\n","# Filestore Autoscale\n\nThis skill enables agents to inspect, evaluate, and modify Filestore\ninstance capacities across Google Cloud projects based on configured\nthresholds.\n\n## Prerequisites \u002F IAM Requirements\n\nBefore an agent or user can execute this skill, their runtime Service Account\nmust possess the following IAM roles on the target project(s):\n\n-   **`roles\u002Ffile.editor`** (Required for listing instances and triggering scale\n    up\u002Fdown updates)\n-   **`roles\u002Fmonitoring.viewer`** (Required for reading Cloud Monitoring\n    capacity metrics `used_bytes`)\n-   **`roles\u002Fmcp.toolUser`** (Required if utilizing backend Filestore MCP tools)\n\n## Quick Start\n\n1.  Ensure `gcloud` is installed. See\n    [gcloud installation guide](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) if\n    needed.\n2.  Enable essential APIs:\n\n    ```bash\n    gcloud services enable file.googleapis.com monitoring.googleapis.com --quiet\n    ```\n3.  Inspect fleet capacity and free space (see \"Discovery & Read Operations\"\n    below).\n4.  Evaluate against configured up\u002Fdown capacity thresholds.\n5.  Scale target instances and apply attribution tags.\n\n## Usage Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read and follow the instructions in\n[Usage Attribution](references\u002Fattribution.md).\n\n## Conceptual & Informational Queries (CRITICAL)\n\nFor purely conceptual, educational, or informational questions (e.g., \"What are Filestore scaling limits?\",\n\"Can Basic instances scale down?\", \"Explain Filestore Tiers\"):\n\n*   **Rule**: **Answer immediately using your pre-trained knowledge and the matrix below.**\n*   **Constraint**: **Do not execute external tool calls or API requests** for basic knowledge questions.\n\n## Handling \"No-Command\" Constraints (CRITICAL)\n\nIf the user prompt contains constraints like \"Do not execute commands\", \"without executing\", or \"read-only\":\n\n*   **Rule**: **Strictly avoid calling the `run_command` tool** to execute any\n    shell, `gcloud`, or code search (`cs`) commands (including read-only\n    list\u002Fdescribe commands).\n*   **Discovery**:\n    1.  Whenever outputting or recommending a `gcloud` command (including when\n        evaluating instance values provided directly in the user prompt), read\n        [Usage Attribution](references\u002Fattribution.md) first so the command\n        includes the required attribution prefix; do not search for additional\n        unrelated files when instance tier, capacity, and utilization are\n        already in the prompt.\n    2.  Otherwise, check if Filestore MCP tools (`list_instances`,\n        `get_instance`) are available and use them (these are API calls, not\n        command executions).\n    3.  If MCP tools are not available, check\n        `references\u002Finstance-tiers-specs.md` for any mock instance definitions\n        or project details matching the request. (Do NOT run repository-wide\n        searches or attempt to read evaluation config files such as `EVAL.yaml`\n        or `EVAL.txtpb` during evaluation runs as access is restricted).\n    4.  If no data can be found, explain the required steps and formulas, and\n        output the attributed `gcloud` terminal commands for the user to confirm\n        and run, without executing them yourself.\n*   **Mandatory User Confirmation Requirement**: Even when the user prompt asks not to execute commands or asks only for command syntax\u002Frecommendations, your response MUST STILL end with a clear question prompting the user for confirmation before executing any capacity resizing commands (e.g., *\"Would you like me to proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to execute.\"*).\n\n## Tier & Capacity Limits Matrix\n\nFilestore tiers enforce specific boundaries and behaviors. The skill must accept both modern UI names (`Basic`, `Zonal`, `Regional`) and legacy API enums interchangeably.\n\nSee `references\u002Finstance-tiers-specs.md` for the full Tier & Capacity Limits Matrix (Min\u002FMax capacities, step increments).\n\n**Critical Thresholds:**\n\n- **Basic HDD \u002F Basic SSD**: Can scale up, but **cannot scale down**.\n- **Zonal \u002F Regional**: Can scale down, but cannot shrink below their minimum\n  floor (100 GiB for Regional Small Band, 1 TiB for Zonal Small Band, or 10 TiB\n  for Large Band) AND cannot shrink below current `used_bytes`.\n\n## Core Operational Workflow\n\n### 1. Discovery & Read Operations\n\n-   **Step 1 (Fleet Discovery)**: Call the MCP tool\n    `list_instances(parent='projects\u002F{project_id}\u002Flocations\u002F-')` or CLI `gcloud\n    filestore instances list --project={project_id}` to discover all Filestore\n    instances in the target project. Read the `capacityGb` and `tier` directly\n    from the instances returned.\n-   **Step 2 (Single Bulk Utilization Metric Query)**: Immediately after\n    discovering instances, query the Cloud Monitoring API for the\n    `file.googleapis.com\u002Fnfs\u002Fserver\u002Fused_bytes` metric across the entire project\n    in a single request (see `references\u002Fmonitoring-metrics.md` for\n    runtime-specific options including GCP REST API, `gcloud`, `curl`, and MCP\n    tools).\n\n    **CRITICAL**: Make exactly ONE bulk metric request for the entire project.\n    **NEVER emit multiple per-instance queries or loops.** Do NOT filter by zone\n    or region.\n\n-   **Step 3 (Metric Extraction & Calculation)**:\n\n    -   Match each instance's short name (or `resource.labels.instance_name` \u002F\n        `metric.labels.instance_name`) in the returned `timeSeries` data to\n        extract its latest `int64Value` bytes.\n    -   If an instance is not listed in `timeSeries` or has no points, default\n        its `used_bytes` to 0.\n    -   Calculate `used_bytes_gb = used_bytes \u002F (1024^3)`.\n    -   Calculate `Free Space % = ((capacityGb - used_bytes_gb) \u002F capacityGb) *\n        100`.\n    -   NEVER leave `Used Bytes` or `Free Space %` as \"N\u002FA\". Populate actual\n        numbers into the output summary table.\n\n### 2. Autoscale Needed Matrix\n\nThe skill must categorize each evaluated instance into one of 5 definitive verdicts. On the initial analysis\u002Ffleet inspection run, the skill suggests the required scaling action with target capacity and update commands, and **prompts for user confirmation before executing any autoscale modifications**. State the value of the \"Autoscale Needed\" column clearly as one of the following:\n\n-   **Yes (Scale Up)**: Triggered when free space percentage is below the\n    scale-up safety threshold (\u003C 15% free space remaining). The evaluation\n    response MUST explicitly state that the current free space percentage is\n    below the 15% scale-up safety threshold. Capacity must be increased by 10%\n    (default) or step-size minimum, rounded to the tier's step increment (1 GiB\n    for Regional Small Band [100 GiB-10,239 GiB] or Basic, 256 GiB for Zonal\n    Small Band [1-9.75 TiB] or Enterprise [1-10 TiB],\n    2.5 TiB for Large Band [10-100 TiB],\n    as specified in `references\u002Finstance-tiers-specs.md`), not exceeding the\n    maximum capacity. Always explicitly state the calculated target capacity in\n    **both TiB and GiB** (for example, for a 1 TiB [1024 GiB] Basic instance\n    increased by +10%, explicitly state `1.1 TiB` alongside its 1 GiB\n    step-aligned equivalent `1126 GiB` \u002F `1127 GiB`). Suggest target capacity,\n    provide the attributed `gcloud`\n    update command, and MUST conclude the response with a clear question\n    prompting the user for confirmation to execute (e.g., *\"Would you like me to\n    proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to\n    execute.\"*).\n-   **Yes (Scale Down)**: Triggered when free space exceeds the scale-down\n    threshold (> 30% free space remaining) and the instance is eligible for\n    downscaling (Zonal or Regional \u002F Enterprise tiers). Apply the default step\n    reduction of -10% of current capacity, aligned to the tier's step increment\n    (1 GiB for Regional Small Band [100 GiB-10,239 GiB], 256 GiB for Zonal\n    Small Band [1-9.75 TiB] or Enterprise [1-10 TiB],\n    2.5 TiB for Large Band [10-100 TiB],\n    as specified in `references\u002Finstance-tiers-specs.md`). For example, for a\n    2 TiB (2048 GiB) Enterprise \u002F Zonal Small Band instance, rounding to the\n    256 GiB step yields a proposed target capacity of 1.75 TiB (1792 GiB, or\n    1.8 TiB). The response MUST explicitly verify that the proposed target\n    capacity (e.g. 1.75 TiB \u002F 1792 GiB or 1.8 TiB) remains strictly above both\n    the tier's minimum capacity floor (100 GiB for Regional Small Band, 1 TiB\n    for Zonal Small Band \u002F Enterprise, or 10 TiB for Large Band) and currently\n    used space (e.g. 0.9 TiB). Do NOT reduce directly to the floor in a single\n    step. Suggest target capacity, estimated cost savings, provide the\n    attributed `gcloud` update command, and prompt the user for confirmation to\n    execute.\n-   **No (Healthy)**: Triggered when the instance's free space is within the\n    optimal operating range (15% – 30%). No action required.\n-   **No (At min capacity limit)**: Triggered when free space is > 30%, but the\n    instance is already at the minimum allowed tier capacity floor (100 GiB for\n    Regional Small Band, 1 TiB for Zonal Small Band \u002F Enterprise, or 10 TiB for\n    Large Band) or currently used space limit. No action can be taken.\n-   **No (Tier cannot scale down)**: Triggered when free space is > 30%, but the\n    instance is on a Basic tier (Basic HDD \u002F Basic SSD) which does not support\n    downscaling. The agent must explicitly inform the user that scale-down is\n    not supported and suggest data migration instead. No action can be taken.\n\n### Output Format\n\n**Every status report, evaluation, or recommendation response MUST include a markdown table summarizing the evaluated instances.** Even if evaluating a single instance, format it as a table.\nThe table MUST contain the following columns:\n\n*   `Instance`\n*   `Service Tier`\n*   `Provisioned Capacity`\n*   `Used Bytes`\n*   `Free Space %`\n*   `Autoscale Needed` (MUST contain one of: `Yes (Scale Up)`, `Yes (Scale Down)`, `No (Healthy)`, `No (At min capacity limit)`, or `No (Tier cannot scale down)`)\n\nExample standard output table:\n\n```markdown\n| Instance | Service Tier | Provisioned Capacity | Used Bytes | Free Space % | Autoscale Needed | Proposed Action |\n|---|---|---|---|---|---|---|\n| `[instance-name]` | REGIONAL | 2048 GiB | 900 GiB | 56.05% | Yes (Scale Down) | Scale down to 1792 GiB. `gcloud filestore instances update ...` |\n```\n\n### 3. Execution & Confirmation Workflow\n\n1. **Analysis & Recommendation (First Run \u002F Inspection)**:\n   - Calculate step-aligned target capacity adhering to tier ceilings, floors, and basic scale-up only rules.\n   - Present the summary table and proposed actions.\n   - **MANDATORY USER CONFIRMATION PROMPT**: Whenever recommending target capacity or providing a `gcloud filestore instances update` command, your response MUST explicitly include a clear question asking the user to confirm execution before any modifications are made (e.g. *\"Would you like me to proceed with scaling `[instance]` from [A] TiB to [B] TiB? Please confirm to execute.\"*) to prevent accidental billing spikes or capacity exhaustion.\n   - **Do not execute autoscale commands without user confirmation.**\n2. **Execution upon Confirmation**:\n   - Once the user confirms (e.g., \"Yes, proceed with scaling\", \"Scale instance X\"), execute the attributed `gcloud filestore instances update` command on the confirmed instance(s).\n3. **Fallback**:\n   - If execution fails due to Prod mutation restrictions, output the failure reason and provide the user with the exact attributed `gcloud` command to run manually, reminding them to confirm before manual execution.\n\n### Custom Thresholds\n\nWhen the user configures or passes custom threshold values in prompts (e.g.\n\"Scale up if free space drops below 10% with a 20% step\", or custom\nmax_threshold \u002F up_increment):\n\n1.  **Global Session Memory Confirmation**: The response MUST accept and\n    acknowledge the custom thresholds and MUST explicitly confirm that custom\n    thresholds apply globally across projects in session memory, explicitly\n    mentioning the target project IDs evaluated or active in session memory to\n    prevent accidental cross-project misconfiguration.\n2.  **Configuration Summary**: The response MUST display the updated active\n    configuration summary showing all active thresholds and step increments.\n3.  **Preserve Overrides**: The response MUST NOT revert to default thresholds\n    (15% \u002F 10%) when custom overrides are provided.\n\n## Reference Directory\n\nFor progressive disclosure of deeper topics, consult the `references\u002F` directory:\n\n- [Usage Attribution](references\u002Fattribution.md)\n- [Instance Tiers & Specs](references\u002Finstance-tiers-specs.md)\n- [Monitoring Metrics Formulas](references\u002Fmonitoring-metrics.md)\n- [Troubleshooting & Errors](references\u002Ftroubleshooting-errors.md)\n",{"name":5,"metadata":55,"description":7},{"version":56,"category":57},"1.0.3","Storage","main","4c6800d20130b5a3233e414609f1241013cec8cc","skills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add google\u002Fskills --skill google-cloud-filestore-autoscale",{"tool":73,"command":74},"bunx","bunx skills add google\u002Fskills --skill google-cloud-filestore-autoscale",{"tool":76,"command":77},"pnpm","pnpm dlx skills add google\u002Fskills --skill google-cloud-filestore-autoscale","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002FSKILL.md",true,[81,87,91,95],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fattribution.md","REFERENCE","参考文档",1944,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002Freferences\u002Fattribution.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Finstance-tiers-specs.md",3021,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002Freferences\u002Finstance-tiers-specs.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fmonitoring-metrics.md",3407,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002Freferences\u002Fmonitoring-metrics.md",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Ftroubleshooting-errors.md",1627,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-filestore-autoscale\u002Freferences\u002Ftroubleshooting-errors.md",[100,108,115,122,129,136],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":110,"nameZh":17,"description":111,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":107},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":107},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":107},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":107},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":107},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]