# datasources-provisioning

> Claude/Codex skill by [@grafana](https://omgskills.com/library/grafana/index.md) · 286 stars · Updated 2026-10-17

Generate a copy-paste Grafana data source provisioning file (YAML or Terraform) for any plugin from its standardized settings schema on the plugins CDN. Use when the user wants to provision or configure a data source as code — e.g. "provision infinity", "datasource yaml for clickhouse", "terraform for the github datasource" — even when they only name the plugin and not the word "provisioning".

## Install

```sh
git clone https://github.com/grafana/skills /tmp/skills && ln -s /tmp/skills/skills/grafana-datasources/datasources-provisioning ~/.claude/skills/datasources-provisioning
```

## From README

Workflow Ask the starting point: from scratch, or from an existing data source? Ask this before anything else (skip only if the user already made it clear): From scratch — the user names a plugin type to provision → continue with step 2. From an existing data source in a running instance → jump to Convert an existing data source, then return to step 6. Resolve the full plugin id Provisioning needs the canonical plugin id ( - -datasource), not the short name a user might say. Already canonical (contains -datasource or -app)? Use as-is: yesoreyeram-infinity-datasource. Short name only (e.g. infinity, clickhouse)? Search the catalog API with filter= : Multiple matches → show the candidates and ask which one. The snippets below use Infinity (yesoreyeram-infinity-datasource) as the worked example — substitute the id resolved here (and the version from step 3) in every command and output.

## Links

- HTML page: https://omgskills.com/library/grafana/skills/datasources-provisioning/
- GitHub: https://github.com/grafana/skills
- Author: [@grafana](https://omgskills.com/library/grafana/index.md)

## More from this repo

- [k6-docs](https://omgskills.com/library/grafana/skills/k6-docs/index.md) — Used to write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types),...
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 295 stars
- [adaptive-metrics](https://omgskills.com/library/grafana/skills/adaptive-metrics/index.md) — Cut Grafana Cloud Metrics cost by shrinking active-series count with Adaptive Metrics aggregation rules —...
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 286 stars
- [admin](https://omgskills.com/library/grafana/skills/admin/index.md) — Used to manage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth,...
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 286 stars
