[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D69QRNWMDCGNSNX47X8SBM":3,"skill-same:01M7D69QRNWMDCGNSNX47X8SBM":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":28,"commitSha":29,"skillDirectory":5,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7D69QRNWMDCGNSNX47X8SBM","cloud-monitoring-promql-query",null,"Generates valid PromQL queries from Cloud Monitoring metric descriptors and resource parameters. Use when asked to create, generate, write, or format PromQL queries, PromQL strings, or PromQL aggregations for Cloud Monitoring metrics and resources. Don't use for raw metric discovery or metric selection.","tangyixiao\u002Ftangyixiao-skills","tangyixiao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115929632?v=4","01M7D582YK6A4M63CAK4CSY4EW","Tang Yixiao","01M7D582Z64DMRSYR872SR34SA",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloud-monitoring-promql-query\nmetadata:\n  version: 1.0.1\n  category: CloudObservabilityAndMonitoring\ndescription: Generates valid PromQL queries from Cloud Monitoring metric descriptors\n  and resource parameters. Use when asked to create, generate, write, or format PromQL\n  queries, PromQL strings, or PromQL aggregations for Cloud Monitoring metrics and\n  resources. Don't use for raw metric discovery or metric selection.\n---\n\n# Cloud Monitoring PromQL Generator\n\nUse this skill to generate a valid PromQL query from any Cloud Monitoring metric\ntype. This guide applies to all Cloud Monitoring metric types by mapping Cloud\nMonitoring metric and resource descriptors to PromQL structures.\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-monitoring-promql-query)\"`\nand append `agent-skills\u002F1.0 (skill:cloud-monitoring-promql-query)` to `User-Agent` headers.\n\n## Workflow\n\n### Resolve Project ID (CRITICAL & BLOCKING)\n\nBefore performing any other actions (such as searching code, reading references,\nor running validation), you MUST verify whether the Google Cloud Project ID is\navailable:\n\n1.  **Check Prompt\u002FPayload**: Look for the Project ID in the user's prompt or\n    input.\n2.  **Check Environment**: If the Project ID is not present in the prompt, you\n    MUST run `gcloud config get-value project` to attempt to resolve it from the\n    environment.\n3.  **Ask for Clarification (BLOCKING)**: If the Project ID is not in the prompt\n    AND the `gcloud` command fails, returns an empty string, or is unavailable,\n    you MUST immediately stop. Do NOT generate a PromQL query, do not run the\n    validation script, and do not use placeholders (like `YOUR_PROJECT_ID`). You\n    must refuse to proceed and ask the user to provide the Project ID.\n\n### Inspect Metric and Resource Descriptors\n\n1.  **Use Provided Descriptors First**: If the user's prompt already includes\n    metric descriptor details (such as `metric.type`, `metricKind`, `valueType`,\n    or `monitoredResourceTypes`) or specific resource filter values, use those\n    values directly instead of calling the Cloud Monitoring API.\n2.  **Discover Missing Descriptors**: If exact metric descriptors\n    (`metric.type`, `metricKind`, `valueType`) are missing or underspecified,\n    resolve the target metric type's descriptor using one of these paths:\n    *   **Vague Query**: If the prompt is vague (for example, `\"VM CPU usage\"`),\n        use the `cloud-monitoring-metric-selection` skill first to identify the\n        specific metric type.\n    *   **Known Metric Type**: If you already have the specific metric type name\n        (for example, `compute.googleapis.com\u002Finstance\u002Fcpu\u002Futilization`) but\n        need its descriptor, call the\n        `google-cloud-monitoring:list_metric_descriptors` MCP tool. If the tool\n        is missing, refer to the `cloud-monitoring-metric-selection` skill to\n        configure the Cloud Monitoring MCP server.\n    *   **Fallback**: If the MCP tool cannot be configured, fall back to making\n        a direct Cloud Monitoring API call.\n3.  **Identify Key Fields**: From the retrieved descriptor, identify four key\n    schema attributes:\n    *   **`type`**: The Cloud Monitoring metric type string.\n    *   **`metricKind`**: `GAUGE`, `DELTA`, or `CUMULATIVE`.\n    *   **`valueType`**: `INT64`, `DOUBLE`, `DISTRIBUTION`, or `BOOL`.\n    *   **`monitoredResourceTypes`**: Compatible `resource.type` strings\n        required for resource scoping and grouping.\n\n### Resolve Resource Filters & Discovery Protocol\n\nTo filter data by a specific resource instance, apply these resource rules and\ndiscovery protocols:\n\n1.  **Monitored Resource Filter**: Always include the\n    `monitored_resource=\"\u003Ctype>\"` filter in your query to prevent collisions\n    across services that share metric names.\n    *   **Example**: `monitored_resource=\"gae_app\"`\n2.  **Preserve User Literals (CRITICAL)**: ALWAYS use the literal resource\n    names, namespaces, and IDs provided in the user's prompt. Do **NOT**\n    override or replace these values with active resource names found during\n    Cloud Monitoring discovery unless the user explicitly asked you to find\n    active resources. Telemetry discovery must only be used to identify metric\n    type names and label keys, not to override user input.\n3.  **Resource Identifier Mapping**:\n    *   **Direct & Specific Keys**: Use the most specific resource identifier\n        available. **Example**: `version_id`, `cluster_name`.\n    *   **Name-to-ID Resolution**: If the user filters by a resource *name*\n        (such as `\"instance-1\"`), but the resource schema uses numeric IDs (like\n        `instance_id`), use PromQL string name labels instead of numeric ID\n        labels. **Example**: `instance_name`, `metadata_system_name`.\n    *   **Composite Identifiers**: For resources with hierarchical identifiers\n        (such as Cloud SQL databases), format the filter as a single composite\n        key. Do NOT split them into separate `project_id` and sub-resource\n        labels. **Example**: `database_id=\"{project_id}:{instance_name}\"`.\n4.  **Resource Label Discovery**: The\n    `google-cloud-monitoring:list_metric_descriptors` tool only returns\n    metric-specific labels. If the label schema for a monitored resource is\n    unknown, fetch the resource descriptor directly from the Cloud Monitoring v3\n    REST API (`projects.monitoredResourceDescriptors.get`):\n\n    ```bash\n    TOKEN=$(gcloud auth application-default print-access-token 2>\u002Fdev\u002Fnull || gcloud auth print-access-token)\n    curl -s -H \"Authorization: Bearer ${TOKEN}\" \\\n    \"https:\u002F\u002Fmonitoring.googleapis.com\u002Fv3\u002Fprojects\u002F{project_id}\u002FmonitoredResourceDescriptors\u002F{monitored_resource_type}\"\n    ```\n\n    An HTTP 200 OK response returns the `MonitoredResourceDescriptor` object\n    containing the `labels` array with the exact resource label keys for that\n    resource.\n\n### Choose Aggregation Structure & Defaults\n\nThe query structure and aggregation functions (such as `rate`,\n`histogram_quantile`, `sum`, or `avg`) depend on the metric type and how it is\nvisualized.\n\n1.  **Consult the Reference**: Consult the\n    [Cloud Monitoring to PromQL Basic Aggregations Reference](references\u002Fbasic_aggregations.md)\n    as the single source of truth to map Cloud Monitoring properties (Metric\n    Kind, Value Type, Aligner, Reducer) to their PromQL structures.\n2.  **SRE Aggregation & Visualization Rules**:\n    *   **Do NOT sum or average ratio\u002Fpercentage utilization metrics** (like CPU\n        % or Memory limit utilization) across resource instances. Instead, keep\n        them unaggregated (raw metric), group by instance, or wrap in `topk(30,\n        avg_over_time(...))`.\n    *   **State Label Filtering (CRITICAL)**: Only the metrics\n        `agent.googleapis.com\u002Fmemory\u002Fpercent_used` and\n        `agent.googleapis.com\u002Fdisk\u002Fpercent_used` require `{state!=\"free\"}`. Do\n        **NOT** filter by `{state=\"used\"}`.\n\n### Format & Validate Query\n\nBefore presenting any PromQL queries, validate them using the linter:\n\n#### Python Dependencies\n\nBefore executing the validation script (`scripts\u002Fvalidate_promql.py`), install\nthe required Python dependencies:\n\n```bash\npython3 -c \"import promql_parser\" || pip install promql-parser\n```\n\n#### Validation Procedure\n\n1.  **Format Constraints**:\n    *   **Metric Name Normalization**: Convert Cloud Monitoring metric types to\n        PromQL metric names using this recipe:\n        1.  **Split Domain and Path**: Split the Cloud Monitoring metric type by\n            the first slash (`\u002F`) to separate the domain from the path.\n            *   **Example**:\n                `storage.googleapis.com\u002Fnetwork\u002Freceived_bytes_count` -> domain\n                `storage.googleapis.com`, path `network\u002Freceived_bytes_count`\n        2.  **Normalize Domain**: Replace all periods (`.`) in the domain with\n            underscores (`_`).\n            *   **Example**: `storage.googleapis.com` ->\n                `storage_googleapis_com`\n        3.  **Normalize Path**: Replace all periods (`.`) and slashes (`\u002F`) in\n            the path with underscores (`_`).\n            *   **Example**: `network\u002Freceived_bytes_count` ->\n                `network_received_bytes_count`\n        4.  **Join with Colon**: Join the normalized domain and normalized path\n            with a colon (`:`).\n            *   **Example**:\n                `storage_googleapis_com:network_received_bytes_count`\n        5.  **Native Prometheus Metrics**: If the metric type has no slash, keep\n            it as-is.\n            *   **Example**: `up` -> `up`, `http_requests_total` ->\n                `http_requests_total`\n        6.  **Distribution Suffix**: If the metric's `valueType` is\n            `DISTRIBUTION`, append `_bucket` to the end of the normalized name.\n            *   **Example**:\n                `cloudfunctions.googleapis.com\u002Ffunction\u002Fexecution_times` ->\n                `cloudfunctions_googleapis_com:function_execution_times_bucket`\n    *   Ensure the final query is a **single line with no comments** (no `#` or\n        `\u002F\u002F`). Cloud Monitoring query translation collapses whitespace and can\n        cause code trailing a comment to be ignored or throw parsing errors.\n    *   **Grouping Clause Syntax**: Ensure grouping clauses (such as `by\n        (label)`) only follow aggregation operators (such as `sum`, `avg`,\n        `min`, `max`, or `count`). Never place a grouping clause directly after\n        a metric selector.\n        *   **Incorrect**: `metric{...} by (label)`\n        *   **Correct**: `sum(rate(metric{...}[5m])) by (label)`\n    *   **Fenced Output Code Block**: ALWAYS wrap the final verified PromQL\n        query in a fenced `promql` code block in your final response.\n2.  **Linter Verification**:\n    *   Validate all generated queries in a single batch: `python3\n        \u003Cpath_to_skill>\u002Fscripts\u002Fvalidate_promql.py --query '\u003Cq1>' '\u003Cq2>'`\n    *   If validation fails, read\n        [PromQL Error Recovery Guide](references\u002Fpromql_error_recovery.md) to\n        diagnose and fix common type mismatches and syntax errors before\n        repeating the loop.\n\n## References\n\n*   [Cloud Monitoring PromQL Basic Aggregations Reference](references\u002Fbasic_aggregations.md)\n*   [Cloud Monitoring PromQL Error Recovery Guide](references\u002Fpromql_error_recovery.md)\n*   [Cloud Monitoring PromQL Documentation](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fpromql.md.txt)\n*   [Cloud Monitoring Monitored Resource Types Reference](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n","# Cloud Monitoring PromQL Generator\n\nUse this skill to generate a valid PromQL query from any Cloud Monitoring metric\ntype. This guide applies to all Cloud Monitoring metric types by mapping Cloud\nMonitoring metric and resource descriptors to PromQL structures.\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-monitoring-promql-query)\"`\nand append `agent-skills\u002F1.0 (skill:cloud-monitoring-promql-query)` to `User-Agent` headers.\n\n## Workflow\n\n### Resolve Project ID (CRITICAL & BLOCKING)\n\nBefore performing any other actions (such as searching code, reading references,\nor running validation), you MUST verify whether the Google Cloud Project ID is\navailable:\n\n1.  **Check Prompt\u002FPayload**: Look for the Project ID in the user's prompt or\n    input.\n2.  **Check Environment**: If the Project ID is not present in the prompt, you\n    MUST run `gcloud config get-value project` to attempt to resolve it from the\n    environment.\n3.  **Ask for Clarification (BLOCKING)**: If the Project ID is not in the prompt\n    AND the `gcloud` command fails, returns an empty string, or is unavailable,\n    you MUST immediately stop. Do NOT generate a PromQL query, do not run the\n    validation script, and do not use placeholders (like `YOUR_PROJECT_ID`). You\n    must refuse to proceed and ask the user to provide the Project ID.\n\n### Inspect Metric and Resource Descriptors\n\n1.  **Use Provided Descriptors First**: If the user's prompt already includes\n    metric descriptor details (such as `metric.type`, `metricKind`, `valueType`,\n    or `monitoredResourceTypes`) or specific resource filter values, use those\n    values directly instead of calling the Cloud Monitoring API.\n2.  **Discover Missing Descriptors**: If exact metric descriptors\n    (`metric.type`, `metricKind`, `valueType`) are missing or underspecified,\n    resolve the target metric type's descriptor using one of these paths:\n    *   **Vague Query**: If the prompt is vague (for example, `\"VM CPU usage\"`),\n        use the `cloud-monitoring-metric-selection` skill first to identify the\n        specific metric type.\n    *   **Known Metric Type**: If you already have the specific metric type name\n        (for example, `compute.googleapis.com\u002Finstance\u002Fcpu\u002Futilization`) but\n        need its descriptor, call the\n        `google-cloud-monitoring:list_metric_descriptors` MCP tool. If the tool\n        is missing, refer to the `cloud-monitoring-metric-selection` skill to\n        configure the Cloud Monitoring MCP server.\n    *   **Fallback**: If the MCP tool cannot be configured, fall back to making\n        a direct Cloud Monitoring API call.\n3.  **Identify Key Fields**: From the retrieved descriptor, identify four key\n    schema attributes:\n    *   **`type`**: The Cloud Monitoring metric type string.\n    *   **`metricKind`**: `GAUGE`, `DELTA`, or `CUMULATIVE`.\n    *   **`valueType`**: `INT64`, `DOUBLE`, `DISTRIBUTION`, or `BOOL`.\n    *   **`monitoredResourceTypes`**: Compatible `resource.type` strings\n        required for resource scoping and grouping.\n\n### Resolve Resource Filters & Discovery Protocol\n\nTo filter data by a specific resource instance, apply these resource rules and\ndiscovery protocols:\n\n1.  **Monitored Resource Filter**: Always include the\n    `monitored_resource=\"\u003Ctype>\"` filter in your query to prevent collisions\n    across services that share metric names.\n    *   **Example**: `monitored_resource=\"gae_app\"`\n2.  **Preserve User Literals (CRITICAL)**: ALWAYS use the literal resource\n    names, namespaces, and IDs provided in the user's prompt. Do **NOT**\n    override or replace these values with active resource names found during\n    Cloud Monitoring discovery unless the user explicitly asked you to find\n    active resources. Telemetry discovery must only be used to identify metric\n    type names and label keys, not to override user input.\n3.  **Resource Identifier Mapping**:\n    *   **Direct & Specific Keys**: Use the most specific resource identifier\n        available. **Example**: `version_id`, `cluster_name`.\n    *   **Name-to-ID Resolution**: If the user filters by a resource *name*\n        (such as `\"instance-1\"`), but the resource schema uses numeric IDs (like\n        `instance_id`), use PromQL string name labels instead of numeric ID\n        labels. **Example**: `instance_name`, `metadata_system_name`.\n    *   **Composite Identifiers**: For resources with hierarchical identifiers\n        (such as Cloud SQL databases), format the filter as a single composite\n        key. Do NOT split them into separate `project_id` and sub-resource\n        labels. **Example**: `database_id=\"{project_id}:{instance_name}\"`.\n4.  **Resource Label Discovery**: The\n    `google-cloud-monitoring:list_metric_descriptors` tool only returns\n    metric-specific labels. If the label schema for a monitored resource is\n    unknown, fetch the resource descriptor directly from the Cloud Monitoring v3\n    REST API (`projects.monitoredResourceDescriptors.get`):\n\n    ```bash\n    TOKEN=$(gcloud auth application-default print-access-token 2>\u002Fdev\u002Fnull || gcloud auth print-access-token)\n    curl -s -H \"Authorization: Bearer ${TOKEN}\" \\\n    \"https:\u002F\u002Fmonitoring.googleapis.com\u002Fv3\u002Fprojects\u002F{project_id}\u002FmonitoredResourceDescriptors\u002F{monitored_resource_type}\"\n    ```\n\n    An HTTP 200 OK response returns the `MonitoredResourceDescriptor` object\n    containing the `labels` array with the exact resource label keys for that\n    resource.\n\n### Choose Aggregation Structure & Defaults\n\nThe query structure and aggregation functions (such as `rate`,\n`histogram_quantile`, `sum`, or `avg`) depend on the metric type and how it is\nvisualized.\n\n1.  **Consult the Reference**: Consult the\n    [Cloud Monitoring to PromQL Basic Aggregations Reference](references\u002Fbasic_aggregations.md)\n    as the single source of truth to map Cloud Monitoring properties (Metric\n    Kind, Value Type, Aligner, Reducer) to their PromQL structures.\n2.  **SRE Aggregation & Visualization Rules**:\n    *   **Do NOT sum or average ratio\u002Fpercentage utilization metrics** (like CPU\n        % or Memory limit utilization) across resource instances. Instead, keep\n        them unaggregated (raw metric), group by instance, or wrap in `topk(30,\n        avg_over_time(...))`.\n    *   **State Label Filtering (CRITICAL)**: Only the metrics\n        `agent.googleapis.com\u002Fmemory\u002Fpercent_used` and\n        `agent.googleapis.com\u002Fdisk\u002Fpercent_used` require `{state!=\"free\"}`. Do\n        **NOT** filter by `{state=\"used\"}`.\n\n### Format & Validate Query\n\nBefore presenting any PromQL queries, validate them using the linter:\n\n#### Python Dependencies\n\nBefore executing the validation script (`scripts\u002Fvalidate_promql.py`), install\nthe required Python dependencies:\n\n```bash\npython3 -c \"import promql_parser\" || pip install promql-parser\n```\n\n#### Validation Procedure\n\n1.  **Format Constraints**:\n    *   **Metric Name Normalization**: Convert Cloud Monitoring metric types to\n        PromQL metric names using this recipe:\n        1.  **Split Domain and Path**: Split the Cloud Monitoring metric type by\n            the first slash (`\u002F`) to separate the domain from the path.\n            *   **Example**:\n                `storage.googleapis.com\u002Fnetwork\u002Freceived_bytes_count` -> domain\n                `storage.googleapis.com`, path `network\u002Freceived_bytes_count`\n        2.  **Normalize Domain**: Replace all periods (`.`) in the domain with\n            underscores (`_`).\n            *   **Example**: `storage.googleapis.com` ->\n                `storage_googleapis_com`\n        3.  **Normalize Path**: Replace all periods (`.`) and slashes (`\u002F`) in\n            the path with underscores (`_`).\n            *   **Example**: `network\u002Freceived_bytes_count` ->\n                `network_received_bytes_count`\n        4.  **Join with Colon**: Join the normalized domain and normalized path\n            with a colon (`:`).\n            *   **Example**:\n                `storage_googleapis_com:network_received_bytes_count`\n        5.  **Native Prometheus Metrics**: If the metric type has no slash, keep\n            it as-is.\n            *   **Example**: `up` -> `up`, `http_requests_total` ->\n                `http_requests_total`\n        6.  **Distribution Suffix**: If the metric's `valueType` is\n            `DISTRIBUTION`, append `_bucket` to the end of the normalized name.\n            *   **Example**:\n                `cloudfunctions.googleapis.com\u002Ffunction\u002Fexecution_times` ->\n                `cloudfunctions_googleapis_com:function_execution_times_bucket`\n    *   Ensure the final query is a **single line with no comments** (no `#` or\n        `\u002F\u002F`). Cloud Monitoring query translation collapses whitespace and can\n        cause code trailing a comment to be ignored or throw parsing errors.\n    *   **Grouping Clause Syntax**: Ensure grouping clauses (such as `by\n        (label)`) only follow aggregation operators (such as `sum`, `avg`,\n        `min`, `max`, or `count`). Never place a grouping clause directly after\n        a metric selector.\n        *   **Incorrect**: `metric{...} by (label)`\n        *   **Correct**: `sum(rate(metric{...}[5m])) by (label)`\n    *   **Fenced Output Code Block**: ALWAYS wrap the final verified PromQL\n        query in a fenced `promql` code block in your final response.\n2.  **Linter Verification**:\n    *   Validate all generated queries in a single batch: `python3\n        \u003Cpath_to_skill>\u002Fscripts\u002Fvalidate_promql.py --query '\u003Cq1>' '\u003Cq2>'`\n    *   If validation fails, read\n        [PromQL Error Recovery Guide](references\u002Fpromql_error_recovery.md) to\n        diagnose and fix common type mismatches and syntax errors before\n        repeating the loop.\n\n## References\n\n*   [Cloud Monitoring PromQL Basic Aggregations Reference](references\u002Fbasic_aggregations.md)\n*   [Cloud Monitoring PromQL Error Recovery Guide](references\u002Fpromql_error_recovery.md)\n*   [Cloud Monitoring PromQL Documentation](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fpromql.md.txt)\n*   [Cloud Monitoring Monitored Resource Types Reference](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fapi\u002Fresources.md.txt)\n",{"name":5,"metadata":25,"description":7},{"version":26,"category":27},"1.0.1","CloudObservabilityAndMonitoring","main","2a870f189175a48c39f5f7e26a6d93b0be9cd13b",0,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills","https:\u002F\u002Ftangyixiao.github.io\u002Ftangyixiao-skills\u002F","https:\u002F\u002Fgithub.com\u002Ftangyixiao","http:\u002F\u002Fwww.sxyz.net\u002F","I am Tang Yixiao, a student in Shaoxing No.1 High School. I am eager to learn on GitHub and contribute my part to this community.","2026-11-11 15:45:59",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add tangyixiao\u002Ftangyixiao-skills --skill cloud-monitoring-promql-query",{"tool":43,"command":44},"bunx","bunx skills add tangyixiao\u002Ftangyixiao-skills --skill cloud-monitoring-promql-query",{"tool":46,"command":47},"pnpm","pnpm dlx skills add tangyixiao\u002Ftangyixiao-skills --skill cloud-monitoring-promql-query","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002FSKILL.md",true,[51,57,61,65,69,73,79],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"INSTALL-SOURCE.json","REFERENCE","参考文档",547,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002FINSTALL-SOURCE.json",{"path":58,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":16},"LICENSE","许可证",11358,{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fattribution.md",1927,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002Freferences\u002Fattribution.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fbasic_aggregations.md",13064,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002Freferences\u002Fbasic_aggregations.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fpromql_error_recovery.md",5218,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002Freferences\u002Fpromql_error_recovery.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fvalidate_promql_test.py","SCRIPT","脚本",9798,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002Fscripts\u002Fvalidate_promql_test.py",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fvalidate_promql.py",7693,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fcloud-monitoring-promql-query\u002Fscripts\u002Fvalidate_promql.py",[84,92,101,109,117,125],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M7D8JK8FYBFNNAJXWD89CFH7","xlsx","Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7D8JG8ERGGQQAMX0DWCG9GR","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","MIT","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M7D8JE672GW3EHSE8EF185M4","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":20},"01M7D8JBK572YDFMND8Q6CEYJW","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M7D8J5QPWEXX61EGBKYH73R8","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M7D8J36YWC8WZS5DK5AH03CD","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FSKILL.md",[],[]]