[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6991B7MJ9S3C1TMQXX8RBEA":3,"skill-same:01M6991B7MJ9S3C1TMQXX8RBEA":116},{"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":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":17,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6991B7MJ9S3C1TMQXX8RBEA","cloud-sql-basics","Cloud SQL 实例创建与管理","This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server.\nCloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source MySQL instance, the resulting resource is a Cloud SQL for MySQL instance that Google Cloud manages.\nCloud SQL handles backups, high availability, and secure connectivity for relational database workloads.","本文件用于生成或讲解 Cloud SQL 资源。当用户要求为 MySQL、PostgreSQL 或 SQL Server 创建 Cloud SQL 实例或数据库时使用本文件。\nCloud SQL 将第三方 MySQL、PostgreSQL 和 SQL Server 实例作为 Cloud SQL 中的资源进行管理。例如，当 Cloud SQL 创建一个开源 MySQL 实例时，生成的资源是由 Google Cloud 管理的 Cloud SQL for MySQL 实例。\nCloud SQL 负责处理关系数据库工作负载的备份、高可用性和安全连接。","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\u002Fcloud-sql-basics\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,10],"basics","sql","cloud","cloud sql basics","resources","postgresql","mysql","file","when","database","use","high availability","open","example","for","availability","databases","as","instances","google cloud","2026-11-10 10:12:30",false,"---\nname: cloud-sql-basics\nmetadata:\n  version: \"1.1.0\"\n  category: Databases\ndescription: >-\n  This file generates or explains Cloud SQL resources. Use this file when the\n  user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or\n  SQL Server.\n\n  Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as\n  resources in Cloud SQL. For example, when Cloud SQL creates an open-source\n  MySQL instance, the resulting resource is a Cloud SQL for MySQL instance that\n  Google Cloud manages.\n\n  Cloud SQL handles backups, high availability, and secure connectivity for\n  relational database workloads.\n---\n\n# Cloud SQL Basics\n\nCloud SQL is a fully managed relational database service for MySQL, PostgreSQL,\nand SQL Server. It automates time-consuming tasks like patches, updates,\nbackups, and replicas, while providing high performance and availability for\nyour applications.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:cloud-sql-basics)\"`\nand append `agent-skills\u002F1.0 (skill:cloud-sql-basics)` to `User-Agent` headers.\n\n## Prerequisites\n\nEnsure you have the necessary IAM permissions to create and manage Cloud SQL\ninstances. The **Cloud SQL Admin** (`roles\u002Fcloudsql.admin`) role provides full\naccess to Cloud SQL resources.\n\n## Quick Start (PostgreSQL)\n\n1.  **Enable the API:**\n    \n    ```bash\n    gcloud services enable sqladmin.googleapis.com --quiet\n    ```\n\n2.  **Create an Instance:**\n    \n    ```bash\n    gcloud sql instances create INSTANCE_NAME \\\n      --database-version=POSTGRES_18 \\\n      --edition=ENTERPRISE \\\n      --cpu=2 \\\n      --memory=7680MiB \\\n      --region=REGION \\\n      --quiet\n    ```\n\n3.  **Set a password for the default user:**\n\n    Because this is a Cloud SQL for PostgreSQL instance, the default admin user\n    is `postgres`:\n    \n    ```bash\n    gcloud sql users set-password postgres \\\n      --instance=INSTANCE_NAME --password=PASSWORD \\\n      --quiet\n    ```\n\n4.  **Create a database:**\n    \n    ```bash\n    gcloud sql databases create DATABASE_NAME \\\n      --instance=INSTANCE_NAME \\\n      --quiet\n    ```\n\n5.  **Get the instance connection name:**\n\n    You need the instance connection name (which is formatted as\n    `PROJECT_ID:REGION:INSTANCE_NAME`) to connect using the Cloud SQL Auth\n    Proxy. Retrieve it with the following command:\n    \n    ```bash\n    gcloud sql instances describe INSTANCE_NAME \\\n      --format=\"value(connectionName)\" \\\n      --quiet\n    ```\n\n6.  **Connect to the instance:**\n\n    The Cloud SQL Auth Proxy must be running to be able to connect to the\n    instance. In a separate terminal, start the proxy using the connection name:\n    \n    ```bash\n    .\u002Fcloud-sql-proxy INSTANCE_CONNECTION_NAME\n    ```\n\n    With the proxy running, connect using `psql` in another terminal:\n    \n    ```bash\n    psql \"host=127.0.0.1 port=5432 user=postgres dbname=DATABASE_NAME password=PASSWORD sslmode=disable\"\n    ```\n\n## Reference Directory\n\n-   [Core Concepts](references\u002Fcore-concepts.md): Cloud SQL editions (Enterprise\n    & Enterprise Plus), instance architecture, read pools, high availability (HA),\n    and supported database engines.\n\n-   [CLI Usage](references\u002Fcli-usage.md): Essential `gcloud sql` commands for\n    instance, database, and user management.\n\n-   [Client Libraries & Connectors](references\u002Fclient-library-usage.md):\n    Connecting to Cloud SQL using Python, Java, Node.js, and Go.\n\n-   [MCP Usage](references\u002Fmcp-usage.md): Using the Cloud SQL remote MCP\n    server and Gemini CLI extension.\n\n-   [Infrastructure as Code](references\u002Fiac-usage.md): Terraform\n    configuration for instances, databases, and users.\n\n-   [IAM & Security](references\u002Fiam-security.md): Predefined roles, SSL\u002FTLS\n    certificates, and Auth Proxy configuration.\n\n-   [Disaster Recovery & Backups](references\u002Fdr-backups.md): Backup types,\n    Point-in-Time Recovery (PITR), replicas, read pools comparison, and Enterprise Plus Advanced DR.\n\n*If you need product information not found in these references, use the\n    Developer Knowledge MCP server `search_documents` tool.*\n","# Cloud SQL Basics\n\nCloud SQL is a fully managed relational database service for MySQL, PostgreSQL,\nand SQL Server. It automates time-consuming tasks like patches, updates,\nbackups, and replicas, while providing high performance and availability for\nyour applications.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:cloud-sql-basics)\"`\nand append `agent-skills\u002F1.0 (skill:cloud-sql-basics)` to `User-Agent` headers.\n\n## Prerequisites\n\nEnsure you have the necessary IAM permissions to create and manage Cloud SQL\ninstances. The **Cloud SQL Admin** (`roles\u002Fcloudsql.admin`) role provides full\naccess to Cloud SQL resources.\n\n## Quick Start (PostgreSQL)\n\n1.  **Enable the API:**\n    \n    ```bash\n    gcloud services enable sqladmin.googleapis.com --quiet\n    ```\n\n2.  **Create an Instance:**\n    \n    ```bash\n    gcloud sql instances create INSTANCE_NAME \\\n      --database-version=POSTGRES_18 \\\n      --edition=ENTERPRISE \\\n      --cpu=2 \\\n      --memory=7680MiB \\\n      --region=REGION \\\n      --quiet\n    ```\n\n3.  **Set a password for the default user:**\n\n    Because this is a Cloud SQL for PostgreSQL instance, the default admin user\n    is `postgres`:\n    \n    ```bash\n    gcloud sql users set-password postgres \\\n      --instance=INSTANCE_NAME --password=PASSWORD \\\n      --quiet\n    ```\n\n4.  **Create a database:**\n    \n    ```bash\n    gcloud sql databases create DATABASE_NAME \\\n      --instance=INSTANCE_NAME \\\n      --quiet\n    ```\n\n5.  **Get the instance connection name:**\n\n    You need the instance connection name (which is formatted as\n    `PROJECT_ID:REGION:INSTANCE_NAME`) to connect using the Cloud SQL Auth\n    Proxy. Retrieve it with the following command:\n    \n    ```bash\n    gcloud sql instances describe INSTANCE_NAME \\\n      --format=\"value(connectionName)\" \\\n      --quiet\n    ```\n\n6.  **Connect to the instance:**\n\n    The Cloud SQL Auth Proxy must be running to be able to connect to the\n    instance. In a separate terminal, start the proxy using the connection name:\n    \n    ```bash\n    .\u002Fcloud-sql-proxy INSTANCE_CONNECTION_NAME\n    ```\n\n    With the proxy running, connect using `psql` in another terminal:\n    \n    ```bash\n    psql \"host=127.0.0.1 port=5432 user=postgres dbname=DATABASE_NAME password=PASSWORD sslmode=disable\"\n    ```\n\n## Reference Directory\n\n-   [Core Concepts](references\u002Fcore-concepts.md): Cloud SQL editions (Enterprise\n    & Enterprise Plus), instance architecture, read pools, high availability (HA),\n    and supported database engines.\n\n-   [CLI Usage](references\u002Fcli-usage.md): Essential `gcloud sql` commands for\n    instance, database, and user management.\n\n-   [Client Libraries & Connectors](references\u002Fclient-library-usage.md):\n    Connecting to Cloud SQL using Python, Java, Node.js, and Go.\n\n-   [MCP Usage](references\u002Fmcp-usage.md): Using the Cloud SQL remote MCP\n    server and Gemini CLI extension.\n\n-   [Infrastructure as Code](references\u002Fiac-usage.md): Terraform\n    configuration for instances, databases, and users.\n\n-   [IAM & Security](references\u002Fiam-security.md): Predefined roles, SSL\u002FTLS\n    certificates, and Auth Proxy configuration.\n\n-   [Disaster Recovery & Backups](references\u002Fdr-backups.md): Backup types,\n    Point-in-Time Recovery (PITR), replicas, read pools comparison, and Enterprise Plus Advanced DR.\n\n*If you need product information not found in these references, use the\n    Developer Knowledge MCP server `search_documents` tool.*\n",{"name":5,"metadata":56,"description":7},{"version":57,"category":58},"1.1.0","Databases","main","4c6800d20130b5a3233e414609f1241013cec8cc","skills\u002Fcloud\u002Fcloud-sql-basics",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":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add google\u002Fskills --skill cloud-sql-basics",{"tool":74,"command":75},"bunx","bunx skills add google\u002Fskills --skill cloud-sql-basics",{"tool":77,"command":78},"pnpm","pnpm dlx skills add google\u002Fskills --skill cloud-sql-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002FSKILL.md",true,[82,88,92,96,100,104,108,112],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fattribution.md","REFERENCE","参考文档",1888,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fattribution.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fcli-usage.md",3357,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fcli-usage.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fclient-library-usage.md",2938,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fclient-library-usage.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fcore-concepts.md",5556,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fcore-concepts.md",{"path":101,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fdr-backups.md",7535,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fdr-backups.md",{"path":105,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fiac-usage.md",2773,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fiac-usage.md",{"path":109,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fiam-security.md",12946,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fiam-security.md",{"path":113,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fmcp-usage.md",3282,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-sql-basics\u002Freferences\u002Fmcp-usage.md",[117,125,132,139,146,153],{"skillNo":118,"name":119,"nameZh":17,"description":120,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":124},"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":126,"name":127,"nameZh":17,"description":128,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":124},"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":133,"name":134,"nameZh":17,"description":135,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":124},"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":140,"name":141,"nameZh":17,"description":142,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":124},"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":147,"name":148,"nameZh":17,"description":149,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":124},"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":154,"name":155,"nameZh":17,"description":156,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":124},"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",[],[]]