Directory Compare FCRS-1.0 About /llms.txt

gcpdiag

$ gcpdiag Official Med Risk
googlecloudplatform · Cloud & Infra · See Upstream · macos / linux · Reviewed:

gcpdiag (gcpdiag) — Google Cloud Platform troubleshooting and diagnostics tool. Run in a Docker container or in GCP Cloudshell.. Verified across tldr-pages Corpus; included for structured shell automation under FCRS-1.0 baseline review.

FCRS-1.0 Score
68 /100
Usable w/ Caveats
Low Confidence
Zero-Friction Install
gh repo clone googlecloudplatform/gcpdiag
CLI vs MCP Decision CLI Preferred vs MCP

Calling gcpdiag directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from gcpdiag --help before write commands.

At a Glance

Command
$ gcpdiag
FCRS-1.0 Score
68/100 (Usable w/ Caveats)
Evidence Tier
Low Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

Registry-verified CLI binary (gcpdiag); inspect --help output before assuming structured JSON flags.

  • Indexed in tldr-pages Corpus
  • Command usage documented in tldr-pages
Trust & Safety 16 / 25

Classified as medium risk based on cloud-infra scope and upstream package metadata.

  • Install channel verified via gh repo clone googlecloudplatform/gcpdiag
  • Package checksum verified by upstream registry
Setup & Portability 11 / 15

Installable via gh repo clone googlecloudplatform/gcpdiag across macos, linux.

  • Primary install: gh repo clone googlecloudplatform/gcpdiag
Utility & Efficiency 11 / 15

Google Cloud Platform troubleshooting and diagnostics tool. Run in a Docker container or in GCP Cloudshell.

  • Official homepage/source: https://github.com/GoogleCloudPlatform/gcpdiag#usage
Maintenance & Lineage 8 / 10

official lineage tool maintained by googlecloudplatform.

  • Upstream repository: googlecloudplatform/gcpdiag
Docs & Verifiability 7 / 10

Upstream documentation linked at https://github.com/GoogleCloudPlatform/gcpdiag#usage; baseline FCRS cap applies until local probe runs.

  • https://github.com/GoogleCloudPlatform/gcpdiag#usage

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Configured via service environment variables or local profile config file; verify provider docs before granting agent access.

Side Effects
Read-Only Remote Write
Cost & Quotas

Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.

Copyable Guardrail for CLAUDE.md / AGENTS.md
When invoking `gcpdiag`, verify flags with `gcpdiag --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect available subcommands & flags
gcpdiag --help

Discover supported flags and subcommands for gcpdiag before constructing automated calls.

Verify binary version & availability
gcpdiag --version

Confirm gcpdiag is installed and executable in PATH with zero side effects.

Strengths for Agents

  • + Indexed in tldr-pages Corpus with reproducible install via gh repo clone googlecloudplatform/gcpdiag
  • + Includes practical community usage examples in tldr-pages for gcpdiag

Caveats & Pitfalls

  • ! Low-confidence baseline review: not yet locally probed on this host; run gcpdiag --help to verify flags before scripting

Tested Agent Hosts

Follow Ecosystem Links

Related CLIs in Cloud & Infra

View category hub →
kubeadm 68/100
$ kubeadm

Official Kubernetes Linux cluster bootstrapper with `--dry-run` and PKI lifecycle commands.

$ kubelogin

A Kubernetes credential (exec) plugin implementing azure authentication

fission 68/100
$ fission

Fast and Simple Serverless Functions for Kubernetes

$ localstack

A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline.

$ opa

CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.

cfn-lint 94/100
$ cfn-lint

Official AWS CloudFormation linter with deterministic `-f json` and SARIF validation.