cloud-monitoring

cloud-monitoring is a skill for Claude Code from gemini-cli-extensions/sre. It costs 37 tokens per session (858 once invoked), scanned A, original, Apache-2.0.

A guide for analyzing Google Cloud Monitoring data and reducing large metric responses into short summaries. Google Cloud Monitoring collects measurements such as request counts, errors, and latency.

In plain words
What is it for?
Use it to query metric ranges, export time-series data to CSV, and review averages, minimums, maximums, and notable patterns.
Why use it?
It prevents large API results from overwhelming the coding agent and surfaces useful statistics and simple text graphs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the sre-extension plugin — 16 skills shipped together

Good fit Use it to query metric ranges, export time-series data to CSV, and review averages, minimums, maximums, and notable patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gemini-cli-extensions/sre/cloud-monitoring
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gemini-cli-extensions/sre --skill cloud-monitoring
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/sre

Made for: Claude Code.

Or install sre-extension, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloud-monitoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/cloud-monitoring/github.svg)](https://agentmods.dev/skills/gemini-cli-extensions/sre/cloud-monitoring)
Your own site
<a href="https://agentmods.dev/skills/gemini-cli-extensions/sre/cloud-monitoring"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/cloud-monitoring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloud-monitoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/gemini-cli-extensions/sre/cloud-monitoring"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/cloud-monitoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00858
Opus 5.5 $0.00015 $0.00343
Sonnet 5.5 $0.00007 $0.00172
Haiku 4.5 $0.00004 $0.00086

Measured 3mo ago against content hash 895812a6f643, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloud-monitoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/export_timeseries_to_csv.py, scripts/setup-frontend-slo.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cloud-monitoring/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloud Monitoring

⚠️ PREREQUISITE: google-monitoring MCP Server This skill relies on the google-monitoring MCP server being installed and active. Before proceeding with monitoring tasks, assert that the required MCP tools (e.g., mcp_google-monitoring_query_range) are available. If they are missing, immediately inform the user and recommend they enable the MCP server (they can use the gcp-mcp-setup skill if available).

This skill provides utilities for analyzing and extracting data from Google Cloud Monitoring (CM).

Best Practices

  • Avoid Context Bloat: Cloud Monitoring API responses can be massive. Do not try to read raw JSON responses directly into the LLM context. Try to delegate to a SubAgent anything which pulls monitoring data as they tend to bloat the context.
  • Use Export Scripts: If you pull monitoring data, make sure to surface this final data (in CSV format) using the scripts/export_timeseries_to_csv.py Python script to surface important stats like AVG, Max, Min and a simplified text-graph of the system (see references/sample_output_dual_metrics.csv) . Also report back that stats header to the main agent, together with any interesting insights you might have found.
  • Metadata Headers: Exported data should contain metadata (time ranges, metric names) at the top of the file so that the context of "when" the data was pulled is never lost, as now() changes over time.
  • Target Workloads: Focus your monitoring extractions primarily on GKE and Cloud Run environments. Generic time-series extractions should still allow filtering by specific resources.
  • Paired Metrics Comparison: The extraction script supports querying multiple metrics simultaneously. For apples-to-apples comparisons, try these recommended pairs:
    • Network I/O: compute.googleapis.com/instance/network/received_bytes_count vs compute.googleapis.com/instance/network/sent_bytes_count
    • Disk I/O: compute.googleapis.com/instance/disk/read_bytes_count vs compute.googleapis.com/instance/disk/write_bytes_count
    • Cloud Run Traffic: run.googleapis.com/request_count vs run.googleapis.com/response_latencies
    • GKE Memory vs CPU: kubernetes.io/container/memory/used_bytes vs kubernetes.io/container/cpu/core_usage_time

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 43 lines · 37 tokens per session scan A 895812a6f643

Subscribe to this mod's changes

cloud-monitoring is a skill published in the GitHub repository gemini-cli-extensions/sre (150 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 858 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cloud-monitoring compared with skills from other repositories

cloud-monitoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-monitoringgemini-cli-extensions/sreSkill1501mo agoApache-2.0A37Claude Code
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code