add-datasource

Automate adding a new Grafana datasource type to gcx through discovery, implementation, and verification.

535|42|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/grafana/gcx --skill add-datasource-grafana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-datasource
Source: https://github.com/grafana/gcx/tree/main/.claude/skills/add-datasource
Command: npx skills add https://github.com/grafana/gcx --skill add-datasource-grafana

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates adding a new datasource type plugin to gcx — from API discovery through verified implementation, enabling teams to extend Grafana capabilities without manual orchestration.

Core Features & Use Cases

  • Provides a structured, three-stage workflow (Discover → Implement → Verify) with human approval gates to ensure correct integration.
  • Generates standardized CLI scaffolding for new datasource plugins and their registration within the gcx ecosystem.
  • Supports end-to-end lifecycle from API discovery to smoke tests and validation, reducing integration time for Grafana datasources.

Quick Start

Provide the datasource type name and plugin details to gcx to initiate the end-to-end addition workflow.

Frequently Asked Questions about add-datasource

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new Grafana datasource plugin to gcx?

To add a new Grafana datasource to gcx, this workflow automates the end-to-end process through discovery, implementation, and verification stages, generating code scaffolding and provider registrations with human approval gates.

What is the structured workflow for Grafana datasource onboarding?

Grafana datasource onboarding follows a three-stage Discover, Implement, and Verify workflow with human approval gates, covering API discovery, CLI code scaffolding, registration wiring, and smoke tests to ensure correct integration.

Can I automate CLI scaffolding for Grafana datasource plugins?

Yes, you can automate CLI scaffolding for Grafana datasource plugins. The workflow generates standardized commands and wires provider registrations within the gcx ecosystem, enforcing consistent command scaffolding and structured API usage.

Do I need to manually verify Grafana datasource integration after scaffolding?

Manual verification is not required for Grafana datasource integration. The workflow includes an automated Verify stage that executes smoke tests and validation checks, enforcing safety checks before completing the onboarding process.

What are the limitations of automating Grafana datasource onboarding?

Automating Grafana datasource onboarding requires passing through human approval gates at each of the three stages, meaning the process cannot run fully autonomously without user intervention to validate API discovery and implementation steps.

Does the gcx datasource workflow support API discovery before code generation?

Yes, the gcx datasource workflow supports API discovery before code generation. The Discover stage guides users through API discovery first, ensuring structured API usage before proceeding to implementation and verification.