Automation & Ops ✓ Google · Official google-cloud-logginglogging-query-languagelog-query-generationcloud-debuggingresource-type-filteringaudit-logging

Google Cloud Logging Query Builder

Turn natural-language troubleshooting requests into correctly structured Google Cloud Logging queries.

FollowSkills review · FSRS-2.0
Not recommended
52/ 100 5-point scale 2.6 / 5
Trust19 / 25 · 3.8/5

The skill only generates query text; it does not execute queries, request credentials, or modify resources, so permissions and external effects are limited. However, it provides no guidance for sensitive log data, redaction, least disclosure, rollback, or user confirmation, so points are deducted.

Reliability6 / 20 · 1.5/5

The rules, examples, and references are inconsistent: the skill requires uppercase boolean operators and parentheses, while many examples omit parentheses or use inconsistent formatting. Audit method names may be guessed, and there are no tests, edge-case coverage, or failure-feedback rules; the score therefore remains below the static-review ceiling.

Adaptability9 / 15 · 3.0/5

The audience, main use cases, and exclusion of other databases are reasonably clear, with defined placeholders and service-reference triggers. However, there are no Chinese examples or Chinese-input guidance, semantic trigger boundaries are incomplete, and unlisted services rely on general knowledge, so points are deducted.

Convention9 / 15 · 3.0/5

The documentation is readable and layered, with core rules, reference files, examples, supporting links, installation guidance, an Apache-2.0 license, and an issue path. The selected skill lacks its own version, changelog, explicit maintenance responsibility, and complete troubleshooting guidance; referenced service coverage is also incomplete.

Effectiveness6 / 15 · 2.0/5

The raw LQL output is directly copyable into Cloud Logging, and service examples and placeholders add practical value. Still, the supplied material does not verify query executability; unknown fields fall back to broad SEARCH queries, and guessed audit method names may be wrong, requiring manual review, so the score is capped at the static-review limit.

Verifiability3 / 10 · 1.5/5

The skill includes LQL guidance, service examples, and links to official documentation, providing some auditability. It includes no committed tests, CI execution evidence, versioned validation results, or independent cross-source reproduction, so the evidence remains thin.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 513a7a51e85f
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Do not treat the output as an execution-verified query; manually check resource.type, field paths, and protoPayload.methodName, especially for audit logs.
  • The skill inserts placeholders and forbids clarification for missing identifiers, which can produce non-runnable or overly broad queries.
  • Logs may contain sensitive information; confirm access scope and disclosure risks before using global SEARCH.
  • Chinese users should provide explicit service names, resource types, fields, and time ranges, then review the generated English LQL syntax.
See the full review method →

What does this skill do, and when should you use it?

This skill generates Logging Query Language (LQL) queries for Google Cloud Logging from natural-language requests. It is intended for querying log data and debugging issues, including filtering by Google Cloud service or resource. Its instructions enforce LQL syntax, service-specific resource types, audit-log fields, and placeholder handling for missing identifiers. It is scoped to Cloud Logging and is not intended for SQL, Spanner, or other databases.

It reads the relevant service query examples and LQL API reference, then produces raw LQL query text. It selects fields such as resource.type, log_id, protoPayload, or jsonPayload when supported, and applies rules for quoting, boolean operators, parentheses, instance names versus instance IDs, and audit-log methodName matching. When identifiers such as project IDs, instance names, or IP addresses are missing, it inserts uppercase angle-bracket placeholders. For unknown field schemas, it can use global SEARCH() with an explanatory LQL comment.

  1. A Google Cloud operator needs to filter logs for a particular service, resource, or log ID.
  2. A developer is debugging a Google Cloud issue and wants an LQL query generated from a natural-language description.
  3. An infrastructure engineer needs correct resource.type filtering for Compute Engine, Cloud Run, networking, or another supported service.
  4. A security or platform team needs to find audit logs for resource creation, updates, deletions, or API calls.
  5. A user needs a keyword-based global search when the requested field is not documented in the available service references.

What are this skill's strengths and limitations?

Pros
  • Provides explicit rules for double-quoted strings, uppercase boolean operators, and parenthesized terms.
  • Includes service-specific query references for many Google Cloud services.
  • Addresses audit-log methodName matching and resource-type accuracy.
  • Avoids blocking on missing identifiers by inserting placeholders.
Limitations
  • It is limited to Google Cloud Logging LQL and is not for SQL, Spanner, or other databases.
  • The source provides no test suite, query-validation workflow, or platform testing evidence.
  • For services not covered by the listed references, query generation relies on general knowledge and may require review.
  • The reference-file contents are not included in the supplied material, so actual results depend on the complete skill package.

How do you install this skill?

Run npx skills add google/skills, then select the desired skill from the installation prompt. The repository contains about 90 skills; this profile covers only skills/cloud/cloud-logging-query-generation. The source does not document the final installation directory.

How do you use this skill?

After installation, provide a natural-language Cloud Logging request, for example: Generate an LQL query for error logs from Cloud Run in project <PROJECT_ID>. The skill should return only the raw LQL query text and should use uppercase angle-bracket placeholders for missing identifiers.

FAQ

Does it require a paid service or extra API?
The supplied source does not specify costs, API calls, or additional paid requirements.
Does it execute the generated query?
The source describes query generation and raw-text output only; it does not document query execution.
What happens when required identifiers are missing?
The skill inserts uppercase angle-bracket placeholders such as `<PROJECT_ID>` instead of asking for clarification.
Can it query arbitrary databases?
No. Its documented scope is Google Cloud Logging, and it explicitly excludes SQL, Spanner, and other databases.

More skills from this repository

All from google/skills

Automation & Ops ✓ Google · Official

Google Cloud gcloud CLI Safety Skill

Helps agents manage and troubleshoot Google Cloud resources through validated, scoped gcloud commands.

Automation & Ops ✓ Google · Official

Google Cloud Performance Advisor

Assess and improve workload performance using the Google Cloud WAF.

Data & Analysis ✓ Google · Official

Agent Platform RAG Engine Manager

Manage Vertex AI RAG corpora and retrieve grounded context with Python SDKs.

Automation & Ops ✓ Google · Official

Google Cloud Sustainability Advisor

Evaluates Google Cloud workloads against the WAF Sustainability pillar and recommends practical emissions-reduction actions.

Automation & Ops ✓ Google · Official

GKE Cost Optimization

Reduce GKE spending through rightsizing, quotas, Spot VMs, and capacity planning.

Automation & Ops ✓ Google · Official

Google Cloud Cost Optimization Advisor

Generates actionable Google Cloud cost guidance using the Well-Architected Framework.

Data & Analysis ✓ Google · Official

Google Cloud Borderless Lakehouse Architect

Designs governed lakehouses that connect multicloud data to AI agents.

Automation & Ops ✓ Google · Official

Google Cloud Foundation Builder

Deploys a secure enterprise landing-zone foundation for a Google Cloud organization.

Automation & Ops ✓ Google · Official

Google Cloud Authentication Guide

Choose secure Google Cloud authentication and authorization for local, production, and cross-cloud workloads.

Automation & Ops ✓ Google · Official

Google Cloud Solution Architect

Plan, validate, and package end-to-end architectures for complex multi-product Google Cloud workloads.

Automation & Ops ✓ Google · Official

Google Cloud Reliability Architect

Evaluate and improve Google Cloud workload reliability using the Well-Architected Framework.

Automation & Ops ✓ Google · Official

Google Cloud Workload Manager Evaluator

Evaluate Google Cloud workloads against best-practice rules and review actionable findings.

Automation & Ops ✓ Google · Official

Google Cloud Storage Basics

Manage GCS buckets and objects while configuring access, protection, lifecycle, cost, and performance.

Automation & Ops ✓ Google · Official

Google Cloud Live Multimodal Streaming Architect

Design and deploy Google Cloud solutions for live, bidirectional multimodal streams.

Automation & Ops ✓ Google · Official

GKE Production Golden Path

Set production-oriented GKE defaults, readiness checks, and decision guardrails for cluster design.

Automation & Ops ✓ Google · Official

Google Cloud WAF Security Advisor

Assesses Google Cloud workloads against Well-Architected security principles and produces actionable improvement guidance.

Automation & Ops ✓ Google · Official

Google Cloud AI Agent Builder

Design, implement, deploy, and validate AI agents and multi-agent systems on Google Cloud.

Automation & Ops ✓ Google · Official

GKE Enterprise RAG Search Architect

Designs and validates enterprise RAG search systems built on GKE and AlloyDB.

Automation & Ops ✓ Google · Official

Google Cloud Operational Excellence Advisor

Assesses Google Cloud workloads and recommends improvements using the WAF Operational Excellence pillar.

Dev & Engineering ✓ Google · Official

Gemini LiveAPI Client Service Skill

Generate a resumable, multimodal, bidirectional Gemini LiveAPI client over WebSockets.

Related skills