What problem does it solve? Setting up the gcx CLI to talk to a Grafana instance involves context configuration, authentication choices, namespace resolution, and datasource defaults, and mistakes in any of these cause confusing connection or authorization errors. This Skill walks an agent through the complete first-time setup and diagnoses common failures. ## Core Features & Use Cases - Three Configuration Paths: Covers Grafana Cloud (browser OAuth or service account token), on-premise Grafana (token or basic auth with org ID and TLS options), and environment-variable overrides for CI/CD pipelines. - Context and Datasource Management: Creates and switches kubectl-style contexts, sets default Prometheus and Loki datasource UIDs, and verifies connectivity with gcx config check. - Troubleshooting Guidance: Resolves 401/403 errors, connection timeouts, TLS issues, and namespace resolution problems such as mismatched stack IDs. - Use Case: A platform engineer needs gcx working in a GitHub Actions pipeline against Grafana Cloud. The Skill provides the exact GRAFANA_SERVER/GRAFANA_TOKEN environment variable setup and a working workflow snippet. ## Quick Start Ask the agent to set up gcx for your Grafana instance by providing your server URL and whether it is Grafana Cloud or on-premise.