[{"data":1,"prerenderedAt":821},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-google\u002Fskills":249,"page-views-\u002Ftrending\u002Fgoogle\u002Fskills":819},[4,29,104,124,194],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Start",false,"\u002Fstart","1.start",[10,14,19,24],{"title":11,"path":7,"stem":12,"icon":13},"What jscpd finds","1.start\u002Findex","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fstart\u002Finstallation","1.start\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Configuration basics","\u002Fstart\u002Fconfiguration","1.start\u002F4.configuration","i-lucide-settings-2",{"title":30,"icon":6,"path":31,"stem":32,"children":33,"page":6},"Guides","\u002Fguides","2.guides",[34,39,44,49,54,59,64,69,74,79,84,89,94,99],{"title":35,"path":36,"stem":37,"icon":38},"Use jscpd in CI","\u002Fguides\u002Fci","2.guides\u002F01.ci","i-lucide-github",{"title":40,"path":41,"stem":42,"icon":43},"Pre-commit hooks","\u002Fguides\u002Fpre-commit","2.guides\u002F02.pre-commit","i-lucide-git-commit",{"title":45,"path":46,"stem":47,"icon":48},"Fail only on new duplication","\u002Fguides\u002Fbaseline","2.guides\u002F03.baseline","i-lucide-git-compare",{"title":50,"path":51,"stem":52,"icon":53},"Monorepos","\u002Fguides\u002Fmonorepos","2.guides\u002F04.monorepos","i-lucide-folder-tree",{"title":55,"path":56,"stem":57,"icon":58},"Cross-format detection","\u002Fguides\u002Fcross-format","2.guides\u002F05.cross-format","i-lucide-layers",{"title":60,"path":61,"stem":62,"icon":63},"Agents","\u002Fguides\u002Fagents","2.guides\u002F06.agents","i-lucide-cpu",{"title":65,"path":66,"stem":67,"icon":68},"Editors","\u002Fguides\u002Feditors","2.guides\u002F07.editors","i-lucide-code",{"title":70,"path":71,"stem":72,"icon":73},"Duplication over git history","\u002Fguides\u002Fhistory","2.guides\u002F08.history","i-lucide-chart-no-axes-combined",{"title":75,"path":76,"stem":77,"icon":78},"Dashboard and health score","\u002Fguides\u002Fdashboard","2.guides\u002F09.dashboard","i-lucide-layout-dashboard",{"title":80,"path":81,"stem":82,"icon":83},"Dead code","\u002Fguides\u002Fdead-code","2.guides\u002F10.dead-code","i-lucide-ghost",{"title":85,"path":86,"stem":87,"icon":88},"Comparing two codebases","\u002Fguides\u002Fcompare","2.guides\u002F11.compare","i-lucide-git-compare-arrows",{"title":90,"path":91,"stem":92,"icon":93},"Semantic clones","\u002Fguides\u002Fsemantic-clones","2.guides\u002F12.semantic-clones","i-lucide-brain-circuit",{"title":95,"path":96,"stem":97,"icon":98},"Similar functions","\u002Fguides\u002Fsimilarity","2.guides\u002F13.similarity","i-lucide-list-tree",{"title":100,"path":101,"stem":102,"icon":103},"Boundaries","\u002Fguides\u002Fboundaries","2.guides\u002F14.boundaries","i-lucide-fence",{"title":105,"icon":6,"path":106,"stem":107,"children":108,"page":6},"Concepts","\u002Fconcepts","3.concepts",[109,114,119],{"title":110,"path":111,"stem":112,"icon":113},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":115,"path":116,"stem":117,"icon":118},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":120,"path":121,"stem":122,"icon":123},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":125,"icon":6,"path":126,"stem":127,"children":128,"page":6},"Reference","\u002Freference","4.reference",[129,134,139,144,181,186,190],{"title":130,"path":131,"stem":132,"icon":133},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":135,"path":136,"stem":137,"icon":138},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":140,"path":141,"stem":142,"icon":143},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":145,"icon":6,"path":146,"stem":147,"children":148},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[149,151,156,161,166,171,176],{"title":145,"path":146,"stem":147,"icon":150},"i-lucide-file-chart-column",{"title":152,"path":153,"stem":154,"icon":155},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":157,"path":158,"stem":159,"icon":160},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":162,"path":163,"stem":164,"icon":165},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":167,"path":168,"stem":169,"icon":170},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":172,"path":173,"stem":174,"icon":175},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":177,"path":178,"stem":179,"icon":180},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":182,"path":183,"stem":184,"icon":185},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":187,"path":188,"stem":189,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":191,"path":192,"stem":193,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":195,"icon":6,"path":196,"stem":197,"children":198,"page":6},"Project","\u002Fproject","5.project",[199,204,209,214,239,244],{"title":200,"path":201,"stem":202,"icon":203},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":205,"path":206,"stem":207,"icon":208},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":210,"path":211,"stem":212,"icon":213},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":215,"icon":6,"path":216,"stem":217,"children":218},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[219,221,226,230,235],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-gauge",{"title":222,"path":223,"stem":224,"icon":225},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":227,"path":228,"stem":229,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":231,"path":232,"stem":233,"icon":234},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":236,"path":237,"stem":238,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":240,"path":241,"stem":242,"icon":243},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":245,"path":246,"stem":247,"icon":248},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":250,"url":251,"appearances":252,"latest":306},"google\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills",[253,268,282,296],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-10-03",4,20805,39,"1d77046ad3670d62227f50a8f53286f6c6cde08b",1367,152639,644,15877,10.4,4.01,84,69.1,"C",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":273,"sources":274,"lines":275,"clones":276,"duplicatedLines":277,"percentage":278,"codePercentage":279,"codeSources":280,"healthScore":281,"healthGrade":267},"2026-11-06",7,22476,211,"c2cf4ba74c0e47f0e7a81d29e053e740998a0ae2",2061,252673,1819,29504,11.68,8.29,160,55.7,{"date":283,"rank":284,"stars":285,"starsToday":286,"headSha":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292,"codePercentage":293,"codeSources":294,"healthScore":295,"healthGrade":267},"2026-11-07",6,22922,534,"993b979cf055de97dd15d4d5751d2672de561679",2077,255919,1830,29593,11.56,8.04,161,55.9,{"date":297,"rank":298,"stars":299,"starsToday":300,"headSha":301,"sources":288,"lines":302,"clones":303,"duplicatedLines":304,"percentage":305,"codePercentage":293,"codeSources":294,"healthScore":295,"healthGrade":267},"2026-11-08",3,23503,443,"2194d3b8b1f31975fef2f1a0ae6b9ab55bd7ceee",255922,1831,29640,11.58,{"date":297,"generatedAt":307,"name":250,"url":251,"description":308,"language":309,"stars":299,"starsToday":300,"defaultBranch":310,"headSha":301,"durationMs":311,"total":312,"formats":316,"topClones":383,"code":567,"health":694,"complexity":728,"deadCode":781},"2026-11-08T05:21:26.124Z","Agent Skills for Google products and technologies","Python","main",2248,{"sources":288,"lines":302,"tokens":313,"clones":303,"duplicatedLines":304,"duplicatedTokens":314,"percentage":305,"percentageTokens":315},2254563,225482,10,[317,324,331,338,345,352,359,366,372,378],{"format":318,"sources":319,"lines":320,"clones":321,"duplicatedLines":322,"percentage":323},"markdown",1009,155410,1542,19801,12.74,{"format":325,"sources":326,"lines":327,"clones":328,"duplicatedLines":329,"percentage":330},"python",239,55422,123,5251,9.47,{"format":332,"sources":333,"lines":334,"clones":335,"duplicatedLines":336,"percentage":337},"json",42,4941,41,2194,44.4,{"format":339,"sources":340,"lines":341,"clones":342,"duplicatedLines":343,"percentage":344},"bash",179,9098,22,522,5.74,{"format":346,"sources":347,"lines":348,"clones":349,"duplicatedLines":350,"percentage":351},"text",95,3787,21,301,7.95,{"format":353,"sources":354,"lines":355,"clones":356,"duplicatedLines":357,"percentage":358},"promql",13,1288,19,552,42.86,{"format":360,"sources":361,"lines":362,"clones":363,"duplicatedLines":364,"percentage":365},"hcl",15,2531,16,381,15.05,{"format":367,"sources":368,"lines":369,"clones":361,"duplicatedLines":370,"percentage":371},"yaml",277,8076,168,2.08,{"format":373,"sources":374,"lines":375,"clones":315,"duplicatedLines":376,"percentage":377},"markup",8,4487,143,3.19,{"format":379,"sources":284,"lines":380,"clones":270,"duplicatedLines":381,"percentage":382},"java",375,59,15.73,[384,402,435,467,486,499,514,541,550,558],{"format":325,"lines":374,"tokens":385,"first":386,"others":389,"copies":392,"excerpt":393,"kind":401},24203,{"name":387,"start":388,"end":374},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fmock_traffic_data.py",1,[390],{"name":391,"start":388,"end":374},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fmock_traffic_data.py",2,{"lines":394,"total":374},[395,396,397,398,397,399,397,400],"# This file contains mock traffic data embedded as Python lists.","# It is used by analyze_traffic_test.py to avoid external dependencies.","","STEADY_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…","BURSTY_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.…","SEASONAL_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.…","code",{"format":318,"lines":403,"tokens":347,"first":404,"others":406,"copies":423,"excerpt":424,"kind":434},11,{"name":405,"start":298,"end":354},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgoogle-cloud-recipe-auth\u002Freferences\u002Fattribution.md",[407,409,411,413,415,417,419,421],{"name":408,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-access-audit\u002Freferences\u002Fattribution.md",{"name":410,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fattribution.md",{"name":412,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-architecture\u002Freferences\u002Fattribution.md",{"name":414,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-deploy\u002Freferences\u002Fattribution.md",{"name":416,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-endpoint-management\u002Freferences\u002Fattribution.md",{"name":418,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-eval-flywheel\u002Freferences\u002Fattribution.md",{"name":420,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-inference\u002Freferences\u002Fattribution.md",{"name":422,"start":298,"end":354},"skills\u002Fcloud\u002Fagent-platform-migrate-from-ai-studio\u002Freferences\u002Fattribution.md",144,{"lines":425,"total":403},[426,427,428,429,397,430,431,432,397,433],"**MUST READ**: Before executing any `gcloud`, REST API, or MCP command with","this skill, follow these usage attribution instructions. Tag every command you","execute directly in the terminal so usage can be attributed. The tag identifies","only the skill and its version; it carries no user data.","-   **`gcloud` CLI Commands**: Prefix every `gcloud` invocation, whatever the","    subcommand, with the metrics environment variable. Set it inline on each","    command because shell state may not persist between commands:","    ```bash","docs",{"format":318,"lines":315,"tokens":436,"first":437,"others":440,"copies":452,"excerpt":453,"excerptSecond":463,"kind":434},83,{"name":438,"start":342,"end":439},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgcloud\u002Freferences\u002Fattribution.md",31,[441,442,445,446,448,449,450,451],{"name":405,"start":354,"end":342},{"name":443,"start":444,"end":342},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgoogle-cloud-recipe-onboarding\u002Freferences\u002Fattribution.md",12,{"name":408,"start":354,"end":342},{"name":410,"start":354,"end":447},23,{"name":412,"start":354,"end":342},{"name":414,"start":354,"end":342},{"name":416,"start":354,"end":342},{"name":418,"start":354,"end":342},153,{"lines":454,"total":315},[455,456,457,397,458,459,397,460,461,462],"    CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gcloud; plugin:google-cloud-developer)\" \\","    gcloud \u003Ccommand> [flags]","    ```","    Do not use `gcloud config set` for this: it would persist beyond the current","    task and mislabel unrelated usage.","-   **Direct HTTP, REST, and MCP Requests**: On direct HTTP calls to Google","    Cloud APIs (for example with `curl`) or HTTP requests to a remote MCP","    server, include `agent-skills\u002F1.0 (skill:gcloud; plugin:google-cloud-developer)` in the `User-Agent`",{"lines":464,"total":315},[465,456,457,397,458,459,397,460,461,466],"    CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:google-cloud-recipe-auth; plugin:google-cloud-developer)\" \\","    server, include `agent-skills\u002F1.0 (skill:google-cloud-recipe-auth; plugin:google-cloud-developer)` in the `User-Agent`",{"format":318,"lines":403,"tokens":468,"first":469,"others":472,"copies":485,"kind":434},101,{"name":438,"start":470,"end":471},38,48,[473,475,476,478,479,480,483,484],{"name":405,"start":474,"end":257},29,{"name":443,"start":474,"end":257},{"name":477,"start":474,"end":257},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fretrieving-developer-knowledge\u002Freferences\u002Fattribution.md",{"name":408,"start":474,"end":257},{"name":410,"start":439,"end":335},{"name":412,"start":481,"end":482},30,40,{"name":414,"start":481,"end":482},{"name":416,"start":439,"end":335},97,{"format":318,"lines":374,"tokens":487,"first":488,"others":489,"copies":498,"kind":434},67,{"name":438,"start":388,"end":374},[490,491,492,493,494,495,496,497],{"name":405,"start":388,"end":374},{"name":408,"start":388,"end":374},{"name":410,"start":388,"end":374},{"name":412,"start":388,"end":374},{"name":414,"start":388,"end":374},{"name":416,"start":388,"end":374},{"name":418,"start":388,"end":374},{"name":420,"start":388,"end":374},145,{"format":318,"lines":374,"tokens":500,"first":501,"others":502,"copies":513,"kind":434},98,{"name":438,"start":439,"end":470},[503,504,505,506,507,508,509,511],{"name":405,"start":342,"end":474},{"name":443,"start":342,"end":474},{"name":477,"start":342,"end":474},{"name":408,"start":342,"end":474},{"name":410,"start":447,"end":439},{"name":422,"start":447,"end":439},{"name":510,"start":447,"end":439},"skills\u002Fcloud\u002Fagent-platform-skill-registry\u002Freferences\u002Fattribution.md",{"name":512,"start":447,"end":439},"skills\u002Fcloud\u002Fagent-platform-troubleshooting\u002Freferences\u002Fattribution.md",87,{"format":318,"lines":515,"tokens":487,"first":516,"others":518,"copies":540,"kind":434},9,{"name":517,"start":361,"end":447},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgoogle-cloud-recipe-auth\u002FSKILL.md",[519,523,527,530,532,534,536,538],{"name":520,"start":521,"end":522},"skills\u002Fcloud\u002Fagent-platform-deploy\u002FSKILL.md",25,32,{"name":524,"start":525,"end":526},"skills\u002Fcloud\u002Fagent-platform-eval-flywheel\u002FSKILL.md",20,27,{"name":528,"start":356,"end":529},"skills\u002Fcloud\u002Fagent-platform-rag-engine-management\u002FSKILL.md",26,{"name":531,"start":361,"end":447},"skills\u002Fcloud\u002Fagent-platform-skill-registry\u002FSKILL.md",{"name":533,"start":356,"end":529},"skills\u002Fcloud\u002Fagent-platform-tuning-management\u002FSKILL.md",{"name":535,"start":349,"end":474},"skills\u002Fcloud\u002Falloydb-basics\u002FSKILL.md",{"name":537,"start":356,"end":526},"skills\u002Fcloud\u002Fapi-gateway-backend-security-and-rate-limiting\u002FSKILL.md",{"name":539,"start":356,"end":526},"skills\u002Fcloud\u002Fapi-gateway-mcp-server\u002FSKILL.md",55,{"format":318,"lines":542,"tokens":543,"first":544,"others":547,"copies":392,"kind":434},285,3253,{"name":545,"start":361,"end":546},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgcloud\u002FSKILL.md",299,[548],{"name":549,"start":361,"end":546},"skills\u002Fcloud\u002Fgcloud\u002FSKILL.md",{"format":318,"lines":551,"tokens":552,"first":553,"others":555,"copies":392,"kind":434},260,2978,{"name":517,"start":515,"end":554},268,[556],{"name":557,"start":515,"end":554},"skills\u002Fcloud\u002Fgoogle-cloud-recipe-auth\u002FSKILL.md",{"format":318,"lines":559,"tokens":560,"first":561,"others":564,"copies":392,"kind":434},222,2611,{"name":562,"start":361,"end":563},"plugins\u002Fcloud\u002Fgoogle-cloud-developer\u002Fskills\u002Fgoogle-cloud-recipe-onboarding\u002FSKILL.md",236,[565],{"name":566,"start":361,"end":563},"skills\u002Fcloud\u002Fgoogle-cloud-recipe-onboarding\u002FSKILL.md",{"sources":294,"lines":568,"tokens":569,"clones":485,"duplicatedLines":570,"duplicatedTokens":571,"percentage":293,"percentageTokens":361,"formats":572,"topClones":586,"generated":692},47699,277283,3834,41584,[573,579,583],{"format":325,"sources":574,"lines":575,"clones":576,"duplicatedLines":577,"percentage":578},135,43043,85,3387,7.87,{"format":339,"sources":521,"lines":580,"clones":444,"duplicatedLines":581,"percentage":582},4627,447,9.66,{"format":584,"sources":388,"lines":474,"clones":585,"duplicatedLines":585,"percentage":585},"javascript",0,[587,593,611,628,638,650,660,668,675,684],{"format":325,"lines":374,"tokens":385,"first":588,"others":589,"copies":392,"excerpt":591,"kind":401},{"name":387,"start":388,"end":374},[590],{"name":391,"start":388,"end":374},{"lines":592,"total":374},[395,396,397,398,397,399,397,400],{"format":339,"lines":554,"tokens":594,"first":595,"others":597,"copies":392,"excerpt":600,"kind":401},1460,{"name":596,"start":388,"end":554},"skills\u002Fcloud\u002Fgke-cluster-autoscaler\u002Fassets\u002Flog-autoscaler-events.sh",[598],{"name":599,"start":388,"end":554},"skills\u002Fcloud\u002Fgke-compute-classes\u002Fassets\u002Flog-autoscaler-events.sh",{"lines":601,"total":554},[602,603,604,605,606,607,608,603,609,610],"#!\u002Fusr\u002Fbin\u002Fenv bash","#","# Live tail of GKE cluster autoscaler visibility logs for a single cluster.","# Surfaces both successful scale events (scale-ups, node pool auto-creation node-pool creations,","# scale-downs) and failures \u002F stalls (per-MIG scale-up errors, noScaleUp,","# noScaleDown). Polls every $POLL_INTERVAL_SECS, colorizes terminal output,","# and appends a plain-text copy to the log file.","# Schema reference:","#   https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fcluster-autoscaler-visibility",{"format":325,"lines":612,"tokens":613,"first":614,"others":616,"copies":392,"excerpt":619,"kind":401},319,1280,{"name":615,"start":388,"end":612},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fconfig_utils.py",[617],{"name":618,"start":388,"end":612},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fconfig_utils.py",{"lines":620,"total":612},[621,622,603,623,624,625,603,626,603,627],"#!\u002Fusr\u002Fbin\u002Fenv python3","# Copyright 2026 Google LLC","# Licensed under the Apache License, Version 2.0 (the \"License\");","# you may not use this file except in compliance with the License.","# You may obtain a copy of the License at","#     https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0","# Unless required by applicable law or agreed to in writing, software",{"format":325,"lines":629,"tokens":630,"first":631,"others":635,"copies":392,"kind":401},229,1022,{"name":632,"start":633,"end":634},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fgather_agent_info.py",35,263,[636],{"name":637,"start":257,"end":554},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fgather_agent_info.py",{"format":325,"lines":639,"tokens":640,"first":641,"others":645,"copies":392,"kind":401},186,759,{"name":642,"start":643,"end":644},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fanalyze_traffic.py",220,405,[646],{"name":647,"start":648,"end":649},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fanalyze_traffic.py",232,417,{"format":325,"lines":651,"tokens":652,"first":653,"others":656,"copies":392,"kind":401},166,680,{"name":642,"start":654,"end":655},54,219,[657],{"name":647,"start":658,"end":659},60,225,{"format":325,"lines":661,"tokens":662,"first":663,"others":665,"copies":392,"kind":401},167,679,{"name":664,"start":388,"end":661},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_log_scope_table_names.py",[666],{"name":667,"start":388,"end":661},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Flist_log_scope_table_names.py",{"format":325,"lines":669,"tokens":261,"first":670,"others":672,"copies":392,"kind":401},151,{"name":671,"start":388,"end":669},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_trace_scope_table_names.py",[673],{"name":674,"start":388,"end":669},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Flist_trace_scope_table_names.py",{"format":325,"lines":676,"tokens":677,"first":678,"others":681,"copies":392,"kind":401},154,636,{"name":679,"start":474,"end":680},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcheck_telemetry.py",182,[682],{"name":683,"start":474,"end":680},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fcheck_telemetry.py",{"format":325,"lines":294,"tokens":685,"first":686,"others":689,"copies":392,"kind":401},605,{"name":687,"start":526,"end":688},"skills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcreate_online_monitor.py",187,[690],{"name":691,"start":526,"end":688},"skills\u002Fcloud\u002Fcloud-monitoring-alert-configuration\u002Fscripts\u002Fagent_platform\u002Fcreate_online_monitor.py",{"files":585,"minified":585,"sample":693},[],{"score":295,"grade":267,"size":695,"dimensions":699},{"lines":696,"files":697,"class":698},57483,206,"M",[700,712,721],{"id":701,"source":702,"value":703,"adjusted":704,"lines":705,"halfLife":706,"formats":707,"excluded":709,"weight":388,"score":711},"duplication","jscpd",9.7,9.5,5572,8.5,[325,339,360,584,708],"docker",[373,346,710],"data",46.1,{"id":713,"source":702,"value":714,"adjusted":715,"lines":716,"halfLife":717,"coverage":718,"weight":719,"score":720},"dead-code",0.6,0.7,295,7.5,90.3,0.903,94.1,{"id":722,"source":702,"value":723,"adjusted":724,"lines":725,"halfLife":726,"weight":388,"score":727},"complexity",63.4,61.9,36428,50,42.4,{"total":729,"mean":730,"files":731},8059,39.1,[732,737,742,747,751,756,761,766,771,776],{"path":733,"complexity":734,"lines":735,"bytes":736},"skills\u002Fcloud\u002Fdbt-sf-to-bq-translator\u002Fscripts\u002Fdbt_translator.py",434,2498,86196,{"path":738,"complexity":739,"lines":740,"bytes":741},"skills\u002Fcloud\u002Fapi-gateway-openapi-spec-authoring\u002Fscripts\u002Fvalidate_apigw_openapi.py",327,1657,59129,{"path":743,"complexity":744,"lines":745,"bytes":746},"skills\u002Fcloud\u002Fcloud-logging-finops\u002Fscripts\u002Fprovenance.py",208,1637,57893,{"path":748,"complexity":340,"lines":749,"bytes":750},"skills\u002Fcloud\u002Fassured-workloads-basics\u002Fscripts\u002Fvalidate_params.py",1695,57538,{"path":752,"complexity":753,"lines":754,"bytes":755},"skills\u002Fcloud\u002Fpathways-workload\u002Fscripts\u002Fdebug_workload.py",176,1471,47005,{"path":757,"complexity":758,"lines":759,"bytes":760},"skills\u002Fdevelopers\u002Fmigrate-to-rust\u002Fscripts\u002Ftelemetry.py",175,1293,42399,{"path":762,"complexity":763,"lines":764,"bytes":765},"skills\u002Fcloud\u002Fcloud-armor-crs-rule-upgrader\u002Fscripts\u002Fupgrade_policy.py",171,1251,35821,{"path":767,"complexity":768,"lines":769,"bytes":770},"skills\u002Fcloud\u002Fapigee-agent-gateway-governance\u002Fscripts\u002Fassess_integration.sh",157,699,36324,{"path":772,"complexity":773,"lines":774,"bytes":775},"skills\u002Fcloud\u002Fapi-gateway-troubleshooting\u002Fscripts\u002Flint_openapi_for_gateway.py",155,649,25641,{"path":777,"complexity":778,"lines":779,"bytes":780},"skills\u002Fcloud\u002Fapi-gateway-mcp-server\u002Fscripts\u002Fvalidate_mcp_openapi.py",152,614,22552,{"percentage":782,"findings":525,"files":783,"byCategory":784,"largest":791},0.57,178,[785,787,789],{"category":786,"count":403},"unused-file",{"category":788,"count":298},"unused-symbol",{"category":790,"count":284},"unused-import",[792,795,798,801,803,806,808,812,814,816],{"category":786,"path":793,"name":397,"line":388,"lines":794},"skills\u002Fcloud\u002Fgoogle-cloud-solution-multi-agent-security\u002Fscripts\u002Fmulti_agent_cloud_run.py",58,{"category":786,"path":796,"name":397,"line":388,"lines":797},"skills\u002Fcloud\u002Fgoogle-cloud-solution-multi-agent-security\u002Fscripts\u002Fhybrid_vpn_agent.py",37,{"category":786,"path":799,"name":397,"line":388,"lines":800},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fopenmaas_openai_sdk.py",33,{"category":786,"path":802,"name":397,"line":388,"lines":474},"skills\u002Fcloud\u002Fgoogle-cloud-solution-multi-agent-security\u002Fscripts\u002Fverify_egress_policies.py",{"category":786,"path":804,"name":397,"line":388,"lines":805},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fgemini_openai_sdk.py",28,{"category":786,"path":807,"name":397,"line":388,"lines":349},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fopenmaas_genai_sdk.py",{"category":788,"path":809,"name":810,"line":797,"lines":811},"skills\u002Fcloud\u002Fagent-platform-tuning\u002Fscripts\u002Fprepare_dataset.py","_format_row",18,{"category":786,"path":813,"name":397,"line":388,"lines":363},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fgemini_genai_sdk.py",{"category":786,"path":815,"name":397,"line":388,"lines":361},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fopenmaas_vertexai_sdk.py",{"category":786,"path":817,"name":397,"line":388,"lines":818},"skills\u002Fcloud\u002Fagent-platform-inference\u002Fscripts\u002Fgemini_vertexai_sdk.py",14,{"\u002Ftrending\u002Fgoogle\u002Fskills":820},{"views":392,"visits":392},1795510258691]