Agent skill

GCP Cloud Logging

by automateyournetwork in automateyournetwork/netclaw

Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views.

Apache-2.0Auto-check passedDevOps & Cloud

Install GCP Cloud Logging

skills CLI
$ npx skills add automateyournetwork/netclaw --skill gcp-cloud-logging -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install automateyournetwork/netclaw gcp-cloud-logging --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/automateyournetwork/netclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/gcp-cloud-logging .claude/skills/gcp-cloud-logging && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gcp-cloud-logging
GitHub stars
676
Token cost
~1.6k tokens
SKILL.md length
603 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views.

  • Works in 6 steps: Discover logs: list_log_names — find… → Query flow logs: list_log_entries… → Denied traffic: Filter for… → …
  • Searching GCP logs
  • SKILL.md covers MCP Server, Available Tools (6), Workflow: VPC Flow Log Analysis and Workflow: Firewall Log…, plus 7 more sections
  • Calls gcloud; reaches logging.googleapis.com; needs GOOGLE_APPLICATION_CREDENTIALS

What it does

GCP Cloud Logging is an agent skill from automateyournetwork/netclaw. Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Cloud networking. It works with Google Cloud. The repository describes itself as: An AI agent that claws through your network. The licence is Apache-2.0.

When your agent uses it

  • Searching GCP logs
  • Investigating denied VPC flow traffic
  • Checking who deleted a VM
  • Analyzing firewall rule hits

Example prompts

  • “/gcp-cloud-logging”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Discover logs: list_log_names — find compute.googleapis.com/vpc_flows
  2. Query flow logs: list_log_entries filtered by
  3. Denied traffic: Filter for reporter="DEST" and denied connections
  4. Top talkers: Aggregate by source/destination IP and bytes
  5. Cross-reference: Use gcp-cloud-monitoring for network metrics during the same period
  6. Report: Traffic analysis with security findings

What it can do on your machine

Read from SKILL.md and the folder at commit 95bb17e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gcloud

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • logging.googleapis.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GOOGLE_APPLICATION_CREDENTIALS

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GCP Cloud Logging loads about 1.6k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 603 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from automateyournetwork/netclaw at commit 95bb17e, republished under its Apache-2.0 licence (© automateyournetwork). 603 words, ~1,590 tokens.

Download SKILL.mdSave it as .claude/skills/gcp-cloud-logging/SKILL.md (or your agent's skills folder).
name
gcp-cloud-logging
description
Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.
version
1.0.0
license
Apache-2.0
tags
gcp, cloud-logging, logs, flow-logs, audit, firewall-logs

GCP Cloud Logging

MCP Server

  • Endpoint: https://logging.googleapis.com/mcp (Streamable HTTP)
  • Auth: OAuth 2.0 via Google IAM — service account key (GOOGLE_APPLICATION_CREDENTIALS) or gcloud auth application-default login
  • Requires: GCP_PROJECT_ID environment variable

Available Tools (6)

ToolWhat It Does
list_log_entriesSearch and retrieve log entries — the primary tool for debugging, error hunting, and audit
list_log_namesDiscover what logs exist in a project — find available log sources
get_bucketGet details of a specific log bucket (storage container for logs)
list_bucketsList all log buckets in a project
get_viewGet a specific log view (fine-grained access filter on a bucket)
list_viewsList log views in a bucket

Workflow: VPC Flow Log Analysis

When investigating GCP network traffic:

  1. Discover logs: list_log_names — find compute.googleapis.com/vpc_flows
  2. Query flow logs: list_log_entries filtered by:
    • Source/destination IP
    • Port and protocol
    • Action (ALLOWED/DENIED)
    • Time range
  3. Denied traffic: Filter for reporter="DEST" and denied connections
  4. Top talkers: Aggregate by source/destination IP and bytes
  5. Cross-reference: Use gcp-cloud-monitoring for network metrics during the same period
  6. Report: Traffic analysis with security findings

Workflow: Firewall Log Investigation

When investigating GCP firewall rule activity:

  1. Discover logs: list_log_names — find compute.googleapis.com/firewall
  2. Query firewall logs: list_log_entries filtered by:
    • Rule name
    • Action (ALLOWED/DENIED)
    • Source/destination IP
    • Port
  3. Denied connections: Find blocked traffic patterns
  4. Rule effectiveness: Which rules are hitting most frequently?
  5. Report: Firewall activity summary with recommendations

Workflow: Audit Trail Investigation

When investigating GCP API activity (equivalent of AWS CloudTrail):

  1. Admin activity logs: list_log_entries for cloudaudit.googleapis.com/activity — who created/modified/deleted resources?
  2. Data access logs: list_log_entries for cloudaudit.googleapis.com/data_access — who read what?
  3. Filter by principal: Narrow to specific user or service account
  4. Filter by method: Narrow to specific API calls (e.g., compute.instances.delete)
  5. Time window: Focus on the incident period
  6. Report: Audit timeline with responsible principals and actions

Workflow: Troubleshooting with Logs

When debugging a GCP issue:

  1. Application logs: list_log_entries for the affected service
  2. Error filtering: Filter by severity (ERROR, CRITICAL, EMERGENCY)
  3. Instance logs: Filter by resource.labels.instance_id for specific VMs
  4. Correlate: Match timestamps with gcp-cloud-monitoring alert violations
  5. Bucket check: list_buckets to verify log retention settings
  6. Report: Root cause analysis with log evidence
Show full SKILL.md (249 more words)Show less

Common GCP Log Sources

Log NameWhat It Contains
compute.googleapis.com/vpc_flowsVPC flow logs — source/dest IP, port, bytes, packets, action
compute.googleapis.com/firewallFirewall rule hits — allowed/denied connections with rule name
cloudaudit.googleapis.com/activityAdmin activity audit — resource create/modify/delete events
cloudaudit.googleapis.com/data_accessData access audit — read operations on resources
cloudaudit.googleapis.com/system_eventSystem events — Google-initiated actions (live migration, etc.)
compute.googleapis.com/shielded_vm_integrityShielded VM boot integrity verification
dns.googleapis.com/dns_queriesCloud DNS query logs
loadbalancing.googleapis.com/requestsLoad balancer access logs
networksecurity.googleapis.com/firewall_threatCloud IDS / Firewall threat detection

Log Query Filter Examples

# VPC flow logs — denied traffic to port 443
resource.type="gce_subnetwork"
logName="projects/PROJECT/logs/compute.googleapis.com%2Fvpc_flows"
jsonPayload.disposition="DENIED"
jsonPayload.connection.dest_port=443

# Firewall — denied SSH attempts
resource.type="gce_subnetwork"
logName="projects/PROJECT/logs/compute.googleapis.com%2Ffirewall"
jsonPayload.disposition="DENIED"
jsonPayload.connection.dest_port=22

# Audit — who deleted VMs in the last hour
logName="projects/PROJECT/logs/cloudaudit.googleapis.com%2Factivity"
protoPayload.methodName="compute.instances.delete"
timestamp>="2026-01-01T00:00:00Z"

# DNS queries from specific source
resource.type="dns_query"
jsonPayload.sourceIP="10.0.1.50"

Important Rules

  • Remote MCP server — hosted by Google, no local install needed
  • OAuth 2.0 authentication — uses IAM for access control
  • Project-scoped — logs are scoped to the configured GCP project
  • Log queries have cost implications — Cloud Logging charges for data scanned beyond free tier (50 GB/month free)
  • Retention varies — Admin activity logs: 400 days, Data access logs: 30 days (default), VPC flow logs: depends on bucket config
  • Record in GAIT — log all investigations for audit trail

Environment Variables

  • GCP_PROJECT_ID — Google Cloud project ID
  • GOOGLE_APPLICATION_CREDENTIALS — Path to service account key JSON file

Failure Behavior

  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • For a confirmed read-only call, check connectivity and retry once if appropriate. For any call that changes state or sends a message, a timeout does not prove the action failed: inspect current state or delivery status before retrying, preserve the required approval/change gates, and do not repeat an action whose outcome is unknown.

© automateyournetwork, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workspace/skills/gcp-cloud-logging of automateyournetwork/netclaw.

Open the folder on GitHubat commit 95bb17e

Compare with similar skills

GCP Cloud Logging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GCP Cloud Logging compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GCP Cloud Logging this skillautomateyournetwork/netclaw676—~1.6kAutomated safety check: PassApache-2.0
Dangling DNS Finderanirudhbiyani/findmytakeover180—~1.8kAutomated safety check: PassGPL-3.0
Intrinsic Core Conceptsintrinsic-ai/intrinsic-core557—~2.6kAutomated safety check: PassApache-2.0
GCP Networkingsickn33/agentic-awesome-skills47k2 repos~2.6kAutomated safety check: PassMIT
Google Cloud Filestore Log Troubleshootinggoogle/skills21k—~2.9kAutomated safety check: PassApache-2.0
Implementing GCP Vpc Firewall Rulesmukul975/Anthropic-Cybersecurity-Skills34k—~3kAutomated safety check: PassApache-2.0

Similar skills

  • Dangling DNS Finder

    anirudhbiyani/findmytakeover

    Detect dangling DNS records and subdomain-takeover risks across a multi-cloud environment by running the bundled findmytakeover tool.

    180 GitHub stars~1.8k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Intrinsic Core Concepts

    intrinsic-ai/intrinsic-core

    Intrinsic Core zero-cloud architecture, core primitives (Assets, Services, Skills, Solutions, ICON), CLI inspection commands, and workspace search rules.

    557 GitHub stars~2.6k tokensUpdated today
    DevOps & CloudAuto-check passed
  • GCP Networking

    sickn33/agentic-awesome-skills

    Configure VPCs, firewall rules, and Cloud NAT. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~2.6k tokens
    DevOps & CloudAuto-check passed
  • Diagnoses and resolves Filestore client mount failures on Google Cloud, permission errors (EACCES), and network timeouts (ETIMEDOUT).

    21k GitHub stars~2.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Implementing GCP Vpc Firewall Rules

    mukul975/Anthropic-Cybersecurity-Skills

    Implements and audits GCP VPC firewall rules using gcloud, covering auditing overly permissive rules, creating restrictive ingress/egress rules, hierarchical firewall policies, and monitoring rule…

    34k GitHub stars~3k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed

More from automateyournetwork/netclaw

All 120 skills in this repo
  • EVE-NG Lab Topology Design

    automateyournetwork/netclaw

    Entry point for designing EVE-NG network labs: classifies the request, gathers missing requirements, proposes options and validates the resulting topology.

    676 GitHub stars~612 tokensUpdated 3 days ago
    Auto-check passed
  • ACI Policy Change Deployment

    automateyournetwork/netclaw

    Deploys Cisco ACI policy changes only behind an approved ServiceNow Change Request, capturing pre and post-change fault baselines and rolling back automatically on a fault delta.

    676 GitHub stars~4.2k tokensUpdated 3 days ago
    Auto-check passed
  • Cisco ACI Fabric Health Audit

    automateyournetwork/netclaw

    Runs a phased health audit of a Cisco ACI fabric through MCP tools: node status, links, tenant and policy review, faults and endpoint learning.

    676 GitHub stars~2.9k tokensUpdated 3 days ago
    Auto-check passed
  • Anta Validation

    automateyournetwork/netclaw

    Validate Arista EOS network state against ANTA's pre-built 208-test catalogue, with structured pass/fail verdicts.

    676 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Arista Cvp

    automateyournetwork/netclaw

    Arista CloudVision Portal (CVP) automation via REST API — device inventory, events, connectivity monitoring, tag management (4 tools).

    676 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check: notes
  • AWS Cloud Monitoring

    automateyournetwork/netclaw

    AWS CloudWatch monitoring — metrics, alarms, log queries, VPC flow log analysis, network performance.

    676 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about GCP Cloud Logging

What does GCP Cloud Logging do?

Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. GCP Cloud Logging is an agent skill from automateyournetwork/netclaw. Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views.

When should I use GCP Cloud Logging?

GCP Cloud Logging fits situations like: searching GCP logs; investigating denied VPC flow traffic; checking who deleted a VM; analyzing firewall rule hits.

How do I install GCP Cloud Logging in Claude Code?

Run `npx skills add automateyournetwork/netclaw --skill gcp-cloud-logging -a claude-code`. Or copy the skill folder (workspace/skills/gcp-cloud-logging in automateyournetwork/netclaw) into .claude/skills/gcp-cloud-logging in your project. Claude Code loads it when a task matches its description.

How do I install GCP Cloud Logging in Codex?

Run `npx skills add automateyournetwork/netclaw --skill gcp-cloud-logging -a codex`. Or copy the skill folder (workspace/skills/gcp-cloud-logging in automateyournetwork/netclaw) into .agents/skills/gcp-cloud-logging in your project. Codex loads it when a task matches its description.

Can I use GCP Cloud Logging in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add automateyournetwork/netclaw --skill gcp-cloud-logging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gcp-cloud-logging, .gemini/skills/gcp-cloud-logging, .github/skills/gcp-cloud-logging and .opencode/skills/gcp-cloud-logging in your project.

What does GCP Cloud Logging need to run?

Going by SKILL.md and its folder, GCP Cloud Logging needs the command-line tools its instructions call (gcloud) and credentials named GOOGLE_APPLICATION_CREDENTIALS.

Does GCP Cloud Logging access the network?

SKILL.md names 1 domain. In commands or code: logging.googleapis.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is GCP Cloud Logging safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GCP Cloud Logging use?

GCP Cloud Logging is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GCP Cloud Logging use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GCP Cloud Logging?

Skills that share tags, products or a category with GCP Cloud Logging: Dangling DNS Finder (anirudhbiyani/findmytakeover, 180 stars), Intrinsic Core Concepts (intrinsic-ai/intrinsic-core, 557 stars), GCP Networking (sickn33/agentic-awesome-skills, 47k stars) and Google Cloud Filestore Log Troubleshooting (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GCP Cloud Logging?

automateyournetwork (a GitHub user) maintains it in automateyournetwork/netclaw, which has 676 GitHub stars. The repository holds 120 skills in this directory. The repository was last updated on October 5, 2026.

Source: automateyournetwork/netclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.