2 views
google/skills
Agent Skills for Google products and technologies
Python★ 23,503+443 that day#3 on trending
C55.9/100
Duplication46
9.7% in python, bash, hcl, javascript, dockerDead code94
0.6%Complexity42
63.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
8.04%duplicated code · 3,834 of 47,699 lines
97clones in code
161code files of 2,077 scanned
11.58%duplicated over all files · 1,831 clones
Most complex files
- skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py434 cx
- skills/cloud/api-gateway-openapi-spec-authoring/scripts/validate_apigw_openapi.py327 cx
- skills/cloud/cloud-logging-finops/scripts/provenance.py208 cx
- skills/cloud/assured-workloads-basics/scripts/validate_params.py179 cx
- skills/cloud/pathways-workload/scripts/debug_workload.py176 cx
- skills/developers/migrate-to-rust/scripts/telemetry.py175 cx
- skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py171 cx
- skills/cloud/apigee-agent-gateway-governance/scripts/assess_integration.sh157 cx
- skills/cloud/api-gateway-troubleshooting/scripts/lint_openapi_for_gateway.py155 cx
- skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py152 cx
Dead code 0.57% unused · 20 findings
- skills/cloud/google-cloud-solution-multi-agent-security/scripts/multi_agent_cloud_run.pyunused-file
- skills/cloud/google-cloud-solution-multi-agent-security/scripts/hybrid_vpn_agent.pyunused-file
- skills/cloud/agent-platform-inference/scripts/openmaas_openai_sdk.pyunused-file
- skills/cloud/google-cloud-solution-multi-agent-security/scripts/verify_egress_policies.pyunused-file
- skills/cloud/agent-platform-inference/scripts/gemini_openai_sdk.pyunused-file
- skills/cloud/agent-platform-inference/scripts/openmaas_genai_sdk.pyunused-file
- skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py:_format_rowunused-symbol
- skills/cloud/agent-platform-inference/scripts/gemini_genai_sdk.pyunused-file
- skills/cloud/agent-platform-inference/scripts/openmaas_vertexai_sdk.pyunused-file
- skills/cloud/agent-platform-inference/scripts/gemini_vertexai_sdk.pyunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 8 lines in 2 placespython24,203 tokensskills/cloud/agent-platform-alert-configuration/scripts/mock_traffic_data.py:1–8skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/mock_traffic_data.py:1–8
1# This file contains mock traffic data embedded as Python lists. 2# It is used by analyze_traffic_test.py to avoid external dependencies. 3 4STEADY_TRAFFIC = [50.1774, 50.1621, 48.2776, 47.481, 49.2367, 51.7367, 51.6358, 52.3998, 49.9103, 53.9292, 48.3077, 50.8816, 49.5168, 52.9828, 50.0645, 47.9358… 5 6BURSTY_TRAFFIC = [495.0469, 509.6423, 492.0803, 493.7152, 496.8687, 497.3225, 0.0292, 0.0601, 0.0767, 0.0376, 0.0635, 0.033, 0.0492, 0.0417, 0.0519, 0.0552, 0.… 7 8SEASONAL_TRAFFIC = [4.7839, 4.7514, 4.8759, 6.1493, 4.9799, 3.0214, 5.8835, 5.1227, 5.3582, 6.0385, 6.4151, 8.0349, 7.5183, 6.9635, 5.9753, 5.8662, 8.0833, 10.… - 268 lines in 2 placesbash1,460 tokensskills/cloud/gke-cluster-autoscaler/assets/log-autoscaler-events.sh:1–268skills/cloud/gke-compute-classes/assets/log-autoscaler-events.sh:1–268
1#!/usr/bin/env bash 2# 3# Live tail of GKE cluster autoscaler visibility logs for a single cluster. 4# Surfaces both successful scale events (scale-ups, node pool auto-creation node-pool creations, 5# scale-downs) and failures / stalls (per-MIG scale-up errors, noScaleUp, 6# noScaleDown). Polls every $POLL_INTERVAL_SECS, colorizes terminal output, 7# and appends a plain-text copy to the log file. 8# 9# Schema reference: 10# https://docs.cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler-visibilityFirst 10 of 268 lines.
- 319 lines in 2 placespython1,280 tokensskills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:1–319skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:1–319
1#!/usr/bin/env python3 2# Copyright 2026 Google LLC 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# https://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, softwareFirst 10 of 319 lines.
7 more
- 229 lines in 2 placespython1,022 tokens
- 186 lines in 2 placespython759 tokens
- 166 lines in 2 placespython680 tokens
- 167 lines in 2 placespython679 tokens
- 151 lines in 2 placespython644 tokens
- 154 lines in 2 placespython636 tokens
- 161 lines in 2 placespython605 tokens
Largest clones over all files, tests and data included
- 8 lines in 2 placespython24,203 tokensskills/cloud/agent-platform-alert-configuration/scripts/mock_traffic_data.py:1–8skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/mock_traffic_data.py:1–8
1# This file contains mock traffic data embedded as Python lists. 2# It is used by analyze_traffic_test.py to avoid external dependencies. 3 4STEADY_TRAFFIC = [50.1774, 50.1621, 48.2776, 47.481, 49.2367, 51.7367, 51.6358, 52.3998, 49.9103, 53.9292, 48.3077, 50.8816, 49.5168, 52.9828, 50.0645, 47.9358… 5 6BURSTY_TRAFFIC = [495.0469, 509.6423, 492.0803, 493.7152, 496.8687, 497.3225, 0.0292, 0.0601, 0.0767, 0.0376, 0.0635, 0.033, 0.0492, 0.0417, 0.0519, 0.0552, 0.… 7 8SEASONAL_TRAFFIC = [4.7839, 4.7514, 4.8759, 6.1493, 4.9799, 3.0214, 5.8835, 5.1227, 5.3582, 6.0385, 6.4151, 8.0349, 7.5183, 6.9635, 5.9753, 5.8662, 8.0833, 10.… - 11 lines in 144 placesmarkdowndocs and examples95 tokensplugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth/references/attribution.md:3–13skills/cloud/agent-platform-access-audit/references/attribution.md:3–13skills/cloud/agent-platform-alert-configuration/references/attribution.md:3–13skills/cloud/agent-platform-architecture/references/attribution.md:3–13skills/cloud/agent-platform-deploy/references/attribution.md:3–13and 139 more
3**MUST READ**: Before executing any `gcloud`, REST API, or MCP command with 4this skill, follow these usage attribution instructions. Tag every command you 5execute directly in the terminal so usage can be attributed. The tag identifies 6only the skill and its version; it carries no user data. 7 8- **`gcloud` CLI Commands**: Prefix every `gcloud` invocation, whatever the 9 subcommand, with the metrics environment variable. Set it inline on each 10 command because shell state may not persist between commands: 11 12 ```bashFirst 10 of 11 lines.
- 10 lines in 153 placesmarkdowndocs and examples83 tokensplugins/cloud/google-cloud-developer/skills/gcloud/references/attribution.md:22–31plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth/references/attribution.md:13–22plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-onboarding/references/attribution.md:12–22skills/cloud/agent-platform-access-audit/references/attribution.md:13–22skills/cloud/agent-platform-alert-configuration/references/attribution.md:13–23and 148 more
22 CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gcloud; plugin:google-cloud-developer)" \ 23 gcloud <command> [flags] 24 ``` 25 26 Do not use `gcloud config set` for this: it would persist beyond the current 27 task and mislabel unrelated usage. 28 29- **Direct HTTP, REST, and MCP Requests**: On direct HTTP calls to Google 30 Cloud APIs (for example with `curl`) or HTTP requests to a remote MCP 31 server, include `agent-skills/1.0 (skill:gcloud; plugin:google-cloud-developer)` in the `User-Agent`13 CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-cloud-recipe-auth; plugin:google-cloud-developer)" \ 14 gcloud <command> [flags] 15 ``` 16 17 Do not use `gcloud config set` for this: it would persist beyond the current 18 task and mislabel unrelated usage. 19 20- **Direct HTTP, REST, and MCP Requests**: On direct HTTP calls to Google 21 Cloud APIs (for example with `curl`) or HTTP requests to a remote MCP 22 server, include `agent-skills/1.0 (skill:google-cloud-recipe-auth; plugin:google-cloud-developer)` in the `User-Agent` - 11 lines in 97 placesmarkdowndocs and examples101 tokensplugins/cloud/google-cloud-developer/skills/gcloud/references/attribution.md:38–48plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth/references/attribution.md:29–39plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-onboarding/references/attribution.md:29–39plugins/cloud/google-cloud-developer/skills/retrieving-developer-knowledge/references/attribution.md:29–39skills/cloud/agent-platform-access-audit/references/attribution.md:29–39and 92 more
- 8 lines in 145 placesmarkdowndocs and examples67 tokensplugins/cloud/google-cloud-developer/skills/gcloud/references/attribution.md:1–8plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth/references/attribution.md:1–8skills/cloud/agent-platform-access-audit/references/attribution.md:1–8skills/cloud/agent-platform-alert-configuration/references/attribution.md:1–8skills/cloud/agent-platform-architecture/references/attribution.md:1–8and 140 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 135 | 43,043 | 85 | 3,387 | 7.87% |
| bash | 25 | 4,627 | 12 | 447 | 9.66% |
| javascript | 1 | 29 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 1,009 | 155,410 | 1,542 | 19,801 | 12.74% |
| python | 239 | 55,422 | 123 | 5,251 | 9.47% |
| json | 42 | 4,941 | 41 | 2,194 | 44.4% |
| bash | 179 | 9,098 | 22 | 522 | 5.74% |
| text | 95 | 3,787 | 21 | 301 | 7.95% |
| promql | 13 | 1,288 | 19 | 552 | 42.86% |
| hcl | 15 | 2,531 | 16 | 381 | 15.05% |
| yaml | 277 | 8,076 | 15 | 168 | 2.08% |
| markup | 8 | 4,487 | 10 | 143 | 3.19% |
| java | 6 | 375 | 7 | 59 | 15.73% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 8, 2026 | #3 | 23,503 (+443) | 2,077 | 255,922 | 1,831 | 11.58% | 8.04% | C 55.9 | 2194d3b |
| Nov 7, 2026 | #6 | 22,922 (+534) | 2,077 | 255,919 | 1,830 | 11.56% | 8.04% | C 55.9 | 993b979 |
| Nov 6, 2026 | #7 | 22,476 (+211) | 2,061 | 252,673 | 1,819 | 11.68% | 8.29% | C 55.7 | c2cf4ba |
| Oct 3, 2026 | #4 | 20,805 (+39) | 1,367 | 152,639 | 644 | 10.4% | 4.01% | C 69.1 | 1d77046 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.