Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cloud-logging-query-generation

Skill by google

Generates Logging Query Language (LQL) queries for Cloud Logging on Google Cloud from natural language requests. Built for developers and operators who need to query log data or debug issues.

  • Score 94
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cloud-logging-query-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/cloud-logging-query-generation ~/.claude/skills/cloud-logging-query-generation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cloud-logging-query-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

cloud-logging-query-generation is a Google skill that generates Logging Query Language (LQL) queries for Cloud Logging on Google Cloud from plain language requests. It follows strict syntax rules, such as double quotes for string literals, uppercase AND, OR and NOT operators, and explicit parentheses for grouping. It also warns against guessing resource types and against comparing instance names with numeric instance IDs.

Before writing a query, the assistant reads service-specific reference files for services such as Compute Engine, Cloud Run, GKE, BigQuery and IAM, plus an audit log reference for protoPayload paths. Missing identifiers become uppercase placeholders only when a field is strictly required, and queries that rely on a global SEARCH include a comment. The skill is meant for people who need to query log data or debug issues on Google Cloud. It does not cover queries for SQL databases or Cloud Spanner.

Written from the project's SKILL.md and checked against it.

What it can do

  • Natural language to LQLTurns a plain language request into a Logging Query Language query for Cloud Logging.
  • Service-specific referencesReads reference files for many Google Cloud services before generating a query.
  • Audit log queriesUses protoPayload paths and method name matching for audit, admin and API log requests.
  • Placeholder handlingInserts uppercase placeholders such as PROJECT_ID only where a field is strictly required.
  • Global search fallbackUses SEARCH() and adds a comment when no exact schema is found in the references.

Try asking

  • Write an LQL query for Cloud Run error logs
  • Generate a query for audit logs of compute.instances.insert
  • Build a Cloud Logging query to find logs for instance my-instance

Good to know

  • Only for Cloud Logging queries on Google Cloud, not SQL or Cloud Spanner databases.
  • Outputs only raw LQL text, with explanations allowed only as -- comments.
  • For services not in the reference list, queries rely on general knowledge.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/cloud-logging-query-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/api_reference.md5 KB
  • references/attribution.md2 KB
  • references/query_app_engine.md2 KB
  • references/query_audit_logs.md8 KB
Show all 24 files
  • references/query_bigquery.md6 KB
  • references/query_cloud_functions.md2 KB
  • references/query_cloud_observability.md1 KB
  • references/query_cloud_run.md2 KB
  • references/query_cloud_source_repositories.md229 B
  • references/query_cloud_sql.md3 KB
  • references/query_cloud_storage.md2 KB
  • references/query_cloud_tasks.md202 B
  • references/query_compute_engine.md15 KB
  • references/query_dataflow.md224 B
  • references/query_dataproc.md235 B
  • references/query_deployment_manager.md753 B
  • references/query_gke.md24 KB
  • references/query_iam.md6 KB
  • references/query_networking.md8 KB
  • references/query_security.md1 KB
  • references/query_service_usage.md836 B
  • references/query_spanner.md244 B
  • references/query_third_party.md4 KB

Alternatives to cloud-logging-query-generation

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cloud-logging-query-generation: common questions

Can this skill query SQL databases or Cloud Spanner?

No. The source says not to use this skill to query other databases, such as SQL or Cloud Spanner.

What output does the skill return?

It returns only the raw LQL query text. Explanations or warnings must be written as LQL comments that start with --.

What happens if a service is not in the reference list?

The source says to write the LQL query based on general knowledge of that service.

How do I install cloud-logging-query-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cloud-logging-query-generation free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cloud-logging-query-generation safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cloud-logging-query-generation?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cloud-logging-query-generation Install

Add to stack

Loading.