gcloud-logs

Fetch Google Cloud logs via the gcloud-logs.sh CLI wrapper.

4|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/peterquiel/claude-ape-setup --skill gcloud-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcloud-logs
Source: https://github.com/peterquiel/claude-ape-setup/tree/main/.claude/examples/gcloud
Command: npx skills add https://github.com/peterquiel/claude-ape-setup --skill gcloud-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Accessing Google Cloud Logging quickly in development and debugging workflows can be cumbersome. This Skill provides a simple CLI wrapper around Google Cloud Logging via gcloud-logs.sh to streamline log retrieval and analysis.

Core Features & Use Cases

  • Lightweight gcloud-logs.sh wrapper to query and display recent logs
  • Supports common filters and time ranges to quickly isolate issues
  • Use cases include debugging production failures, tracing request flows, and validating service behavior

Quick Start

Copy SKILL.md to your project's .claude/skills/gcloud-logs/ directory and ensure gcloud-logs.sh is in your PATH; then run gcloud-logs.sh with your desired filters.

Frequently Asked Questions about gcloud-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Google Cloud logs from the command line for debugging?

You can fetch Google Cloud logs using a lightweight CLI wrapper that queries and displays recent log entries via the gcloud CLI, streamlining log retrieval for debugging and observability workflows.

What is the best way to trace request flows in Google Cloud Logging?

Tracing request flows in Google Cloud Logging is simplified by applying common filters and time ranges through a CLI wrapper, allowing you to quickly isolate issues and validate service behavior across environments.

Do I need the gcloud CLI installed to query Google Cloud logs?

Yes, querying Google Cloud logs with this wrapper requires the gcloud CLI to be installed and authenticated, and the gcloud-logs.sh script must be available in your system's PATH.

Can I filter Google Cloud logs by time range to isolate production failures?

Filtering Google Cloud logs by time range is supported by the wrapper, enabling you to quickly isolate production failures and analyze errors within specific time windows.

How do I set up the gcloud-logs wrapper in my project?

To set up the wrapper, copy the SKILL.md file to your project's .claude/skills/gcloud-logs/ directory and ensure the gcloud-logs.sh script is available in your PATH before running it with desired filters.

Does this CLI wrapper work for analyzing errors across multiple environments?

Yes, the wrapper supports analyzing errors and verifying service behavior across environments by querying Google Cloud logs with common filters tailored to your debugging needs.