[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75HGHYX2NEG8C6RJSN4S6HD":3,"skill-same:01M75HGHYX2NEG8C6RJSN4S6HD":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75HGHYX2NEG8C6RJSN4S6HD","datasources-provisioning",null,"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\".","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatasources-provisioning\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: datasources-provisioning\nlicense: Apache-2.0\ndescription: 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\".\n---\n\n## Workflow\n\n### 1. Ask the starting point: from scratch, or from an existing data source?\n\n**Ask this before anything else** (skip only if the user already made it clear):\n\n- **From scratch** — the user names a plugin type to provision → continue with step 2.\n- **From an existing data source** in a running instance → jump to [Convert an existing data source](#convert-an-existing-data-source), then return to step 6.\n\n### 2. Resolve the full plugin id\n\nProvisioning needs the canonical plugin id (`\u003Corg>-\u003Cname>-datasource`), not the short name a user might say.\n\n- Already canonical (contains `-datasource` or `-app`)? Use as-is: `yesoreyeram-infinity-datasource`.\n- Short name only (e.g. `infinity`, `clickhouse`)? Search the catalog API with `filter=\u003Ckeyword>`:\n  ```bash\n  curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins?filter=infinity\" \\\n    | jq -r '.items[] | \"\\(.slug)\\t\\(.name)\"'\n  # → yesoreyeram-infinity-datasource    Infinity\n  ```\n  Multiple matches → show the candidates and ask which one.\n\nThe 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.\n\n### 3. Resolve the latest version\n\n```bash\ncurl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002Fyesoreyeram-infinity-datasource\" | jq -r '.version'\n```\n\nNever hardcode a version — the CDN path is version-pinned and a stale version 404s.\n\n### 4. Fetch the settings schema (primary structured source)\n\n```\nhttps:\u002F\u002Fplugins-cdn.grafana.net\u002F\u003CPLUGIN_ID>\u002F\u003CVERSION>\u002Fpublic\u002Fplugins\u002F\u003CPLUGIN_ID>\u002Fschema\u002Fdsconfig.json\n```\n\n```bash\nID=yesoreyeram-infinity-datasource\nVER=$(curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002F$ID\" | jq -r '.version')\ncurl -sf \"https:\u002F\u002Fplugins-cdn.grafana.net\u002F$ID\u002F$VER\u002Fpublic\u002Fplugins\u002F$ID\u002Fschema\u002Fdsconfig.json\"\n```\n\nThis file conforms to the **dsconfig** schema spec — the source of truth for how to interpret it. Don't re-derive field semantics from memory (`valueType` alone spans `string`, `number`, `boolean`, `array`, `object`, `map`, `any`); consult the spec when a field isn't a plain scalar:\n\n- Prose spec: https:\u002F\u002Fraw.githubusercontent.com\u002Fgrafana\u002Fdsconfig\u002Frefs\u002Fheads\u002Fmain\u002Fdsconfig\u002Fschema.md\n- Meta-schema (defines the format of every `dsconfig.json`): https:\u002F\u002Fraw.githubusercontent.com\u002Fgrafana\u002Fdsconfig\u002Frefs\u002Fheads\u002Fmain\u002Fdsconfig\u002Fschema.json\n\nWhat you need from each field to provision: `key` (the provisioning key), `valueType`, `target` (`root` | `jsonData` | `secureJsonData`), and `validations` (honor `allowedValues` for selectors like `auth_method`). Orientation example (`schemaVersion: \"v1\"`):\n\n```json\n{\n  \"pluginType\": \"yesoreyeram-infinity-datasource\",\n  \"fields\": [\n    {\n      \"key\": \"auth_method\",\n      \"valueType\": \"string\",\n      \"target\": \"jsonData\",\n      \"validations\": [\n        {\n          \"type\": \"allowedValues\",\n          \"values\": [\n            \"none\",\n            \"basicAuth\",\n            \"apiKey\",\n            \"bearerToken\",\n            \"oauth2\",\n            \"aws\",\n            \"azureBlob\"\n          ]\n        }\n      ]\n    }\n  ]\n}\n```\n\nSelect only the fields relevant to what the user asked for (chosen auth method + connection), not all of them. Each field's `description` tells you which auth method it belongs to.\n\nFor ready-made example configs, fetch `v0alpha1.json`:\n\n```\nhttps:\u002F\u002Fplugins-cdn.grafana.net\u002F\u003CPLUGIN_ID>\u002F\u003CVERSION>\u002Fpublic\u002Fplugins\u002F\u003CPLUGIN_ID>\u002Fschema\u002Fv0alpha1.json\n```\n\n```bash\nID=yesoreyeram-infinity-datasource\nVER=$(curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002F$ID\" | jq -r '.version')\ncurl -sf \"https:\u002F\u002Fplugins-cdn.grafana.net\u002F$ID\u002F$VER\u002Fpublic\u002Fplugins\u002F$ID\u002Fschema\u002Fv0alpha1.json\"\n```\n\nWorked examples live under `settingsExamples.examples`, an object keyed by scenario (e.g. `apiKey`, `oauth2ClientCredentials`). Each entry has a `summary`\u002F`description` (the scenario) and a `value` holding the `jsonData`\u002F`secureJsonData` payload to lift straight into the file:\n\n```bash\n# list scenarios, then pull one payload\n... | jq -r '.settingsExamples.examples | keys[]'\n... | jq '.settingsExamples.examples.apiKey.value'\n```\n\n### 5. Fallback when no schema is published\n\nIf `schema\u002Fdsconfig.json` 404s (older plugins):\n\n- Last resort: the generic structure in **grafana-oss** skill (§ Data source provisioning) can also tell the user the field names are best-effort, not plugin-authoritative.\n\n> NOTE: **grafana-oss** skill is available in `grafana-core` plugin and also available as a standalone skill from the https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fskills repository\n\n### 6. Map each field by its `target`\n\n| `target`         | YAML                                                                  | Terraform (`grafana_data_source`)                                                    |\n| ---------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| `root`           | top-level key on the datasource (`url`, `basicAuth`, `basicAuthUser`) | top-level argument (`url`) \u002F inside `json_data_encoded`                              |\n| `jsonData`       | under `jsonData:`                                                     | key inside `json_data_encoded = jsonencode({ … })`                                   |\n| `secureJsonData` | under `secureJsonData:` as `${ENV_VAR}`                               | key inside `secure_json_data_encoded = jsonencode({ … })` via a `sensitive` variable |\n\nUse each field's `valueType` for the scalar (`string` quoted in YAML, `boolean`→`true`\u002F`false`, `number` bare). Never inline a real secret. Nested objects (`oauth2`, `aws`) and arrays (`allowedHosts`, `scopes`) map directly.\n\nAlways set `access` (`root` target) and default it to `proxy` — queries route through the Grafana server (the secure default); only use `direct` (browser → data source) if the user explicitly asks for it. In Terraform the argument is `access_mode`.\n\n### 7. Ask the format, then emit the file\n\n**Now ask: YAML or Terraform?** Same fields, different output file and syntax. Don't assume: \"provision X\" may mean either; skip the question only if the user already named a format (\"terraform for X\"). YAML file provisioning is the native, zero-dependency path; Terraform needs the official [`grafana\u002Fgrafana`](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fgrafana\u002Fgrafana\u002Flatest) provider.\n\n| Choice               | Produces                                     |\n| -------------------- | -------------------------------------------- |\n| **YAML config file** | `provisioning\u002Fdatasources\u002F\u003Cname>.yaml`       |\n| **Terraform**        | `\u003Cname>.tf` (`grafana_data_source` resource) |\n\n`\u003Cname>` is just the file's basename — cosmetic, since both loaders read every file in the directory regardless of name. Default it to the plugin name.\n\n**YAML** → `provisioning\u002Fdatasources\u002F\u003Cname>.yaml`:\n\n```yaml\napiVersion: 1\ndatasources:\n  - name: Infinity # must be unique across the instance — collides even with a different datasource type\n    type: yesoreyeram-infinity-datasource # = pluginType from the schema\n    access: proxy # always set; default proxy (route queries through the Grafana server)\n    uid: infinity-ds # also unique and immutable so dashboards can reference it\n    jsonData:\n      auth_method: apiKey # value from validations.allowedValues\n      apiKeyKey: X-API-Key\n      apiKeyType: header\n      allowedHosts:\n        - https:\u002F\u002Fapi.example.com\n    secureJsonData:\n      apiKeyValue: ${API_KEY} # env var ref, never a literal secret\n    editable: false\n```\n\n**Terraform** → `\u003Cname>.tf`:\n\n```hcl\nvariable \"api_key\" {\n  type      = string\n  sensitive = true\n}\n\nresource \"grafana_data_source\" \"infinity\" {\n  type        = \"yesoreyeram-infinity-datasource\"\n  name        = \"Infinity\"\n  uid         = \"infinity-ds\"\n  access_mode = \"proxy\" # always set; default proxy (route queries through the Grafana server)\n\n  json_data_encoded = jsonencode({\n    auth_method  = \"apiKey\"\n    apiKeyKey    = \"X-API-Key\"\n    apiKeyType   = \"header\"\n    allowedHosts = [\"https:\u002F\u002Fapi.example.com\"]\n  })\n\n  secure_json_data_encoded = jsonencode({\n    apiKeyValue = var.api_key\n  })\n}\n```\n\n`grafana_data_source` is from the [`grafana\u002Fgrafana`](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fgrafana\u002Fgrafana\u002Flatest\u002Fdocs\u002Fresources\u002Fdata_source) provider — the authoritative reference for argument names (`access_mode`, `json_data_encoded`, `secure_json_data_encoded`). This file is only the resource; the user supplies the `required_providers` + `provider \"grafana\"` block and credentials.\n\n### 8. Return the file to the user\n\nPresent the complete file in a single code block for the user to copy and paste into their environment — note where it goes:\n\n- **YAML** → `provisioning\u002Fdatasources\u002F\u003Cname>.yaml` (apply on Grafana start or a provisioning reload).\n- **Terraform** → their Terraform config, applied with `terraform apply`.\n\nOptionally, tell them how to confirm it worked once applied:\n\n```bash\ncurl -s https:\u002F\u002Fgrafana.example.com\u002Fapi\u002Fdatasources\u002Fuid\u002F\u003Cuid>\u002Fhealth \\\n  -H \"Authorization: Bearer \u003Ctoken>\"\n# { \"status\": \"OK\" }    → working\n# { \"status\": \"ERROR\" } → URL unreachable or auth misconfigured\n```\n\nOr verify in the UI: visit `\u003Chttps:\u002F\u002Fgrafana.example.com>\u002Fconnections\u002Fdatasources\u002Fedit\u002F\u003Cuid>` and click **Test**.\n\n## Convert an existing data source\n\nTo codify a data source already configured in a running instance, read its config through the **Grafana MCP server** ([grafana\u002Fmcp-grafana](https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fmcp-grafana)).\n\n**Precondition:** the Grafana MCP server is connected with its **Datasources** toolset enabled (it holds the instance credentials). **If it isn't available, do not support this path** — never ask the user to paste a Grafana token into chat. Fall back to the from-scratch Workflow instead.\n\n1. Find the data source with the MCP tools — `list_datasources` to browse, then `get_datasource` (by `uid` or `name`) for the full config.\n2. The result carries every **non-secret** field directly: `type`, `uid`, `url`, `access`, `basicAuth`, `basicAuthUser`, and the full `jsonData` object. Copy them as-is.\n3. **Secrets are never returned.** The `secureJsonFields` map lists _which_ secret keys are set (e.g. `{\"apiKeyValue\": true}`) without their values. Emit an `${ENV_VAR}` placeholder in `secureJsonData` for each key it reports `true`.\n4. Cross-check against the schema (step 4) to confirm secret key names and `target` placement, then continue at **step 6** (map) and **step 7** (emit) as normal.\n\n## Related\n\n- [grafana-oss](..\u002F..\u002Fgrafana-core\u002Fgrafana-oss\u002FSKILL.md) — generic data source \u002F dashboard provisioning structure and provisioning paths.\n","## Workflow\n\n### 1. Ask the starting point: from scratch, or from an existing data source?\n\n**Ask this before anything else** (skip only if the user already made it clear):\n\n- **From scratch** — the user names a plugin type to provision → continue with step 2.\n- **From an existing data source** in a running instance → jump to [Convert an existing data source](#convert-an-existing-data-source), then return to step 6.\n\n### 2. Resolve the full plugin id\n\nProvisioning needs the canonical plugin id (`\u003Corg>-\u003Cname>-datasource`), not the short name a user might say.\n\n- Already canonical (contains `-datasource` or `-app`)? Use as-is: `yesoreyeram-infinity-datasource`.\n- Short name only (e.g. `infinity`, `clickhouse`)? Search the catalog API with `filter=\u003Ckeyword>`:\n  ```bash\n  curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins?filter=infinity\" \\\n    | jq -r '.items[] | \"\\(.slug)\\t\\(.name)\"'\n  # → yesoreyeram-infinity-datasource    Infinity\n  ```\n  Multiple matches → show the candidates and ask which one.\n\nThe 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.\n\n### 3. Resolve the latest version\n\n```bash\ncurl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002Fyesoreyeram-infinity-datasource\" | jq -r '.version'\n```\n\nNever hardcode a version — the CDN path is version-pinned and a stale version 404s.\n\n### 4. Fetch the settings schema (primary structured source)\n\n```\nhttps:\u002F\u002Fplugins-cdn.grafana.net\u002F\u003CPLUGIN_ID>\u002F\u003CVERSION>\u002Fpublic\u002Fplugins\u002F\u003CPLUGIN_ID>\u002Fschema\u002Fdsconfig.json\n```\n\n```bash\nID=yesoreyeram-infinity-datasource\nVER=$(curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002F$ID\" | jq -r '.version')\ncurl -sf \"https:\u002F\u002Fplugins-cdn.grafana.net\u002F$ID\u002F$VER\u002Fpublic\u002Fplugins\u002F$ID\u002Fschema\u002Fdsconfig.json\"\n```\n\nThis file conforms to the **dsconfig** schema spec — the source of truth for how to interpret it. Don't re-derive field semantics from memory (`valueType` alone spans `string`, `number`, `boolean`, `array`, `object`, `map`, `any`); consult the spec when a field isn't a plain scalar:\n\n- Prose spec: https:\u002F\u002Fraw.githubusercontent.com\u002Fgrafana\u002Fdsconfig\u002Frefs\u002Fheads\u002Fmain\u002Fdsconfig\u002Fschema.md\n- Meta-schema (defines the format of every `dsconfig.json`): https:\u002F\u002Fraw.githubusercontent.com\u002Fgrafana\u002Fdsconfig\u002Frefs\u002Fheads\u002Fmain\u002Fdsconfig\u002Fschema.json\n\nWhat you need from each field to provision: `key` (the provisioning key), `valueType`, `target` (`root` | `jsonData` | `secureJsonData`), and `validations` (honor `allowedValues` for selectors like `auth_method`). Orientation example (`schemaVersion: \"v1\"`):\n\n```json\n{\n  \"pluginType\": \"yesoreyeram-infinity-datasource\",\n  \"fields\": [\n    {\n      \"key\": \"auth_method\",\n      \"valueType\": \"string\",\n      \"target\": \"jsonData\",\n      \"validations\": [\n        {\n          \"type\": \"allowedValues\",\n          \"values\": [\n            \"none\",\n            \"basicAuth\",\n            \"apiKey\",\n            \"bearerToken\",\n            \"oauth2\",\n            \"aws\",\n            \"azureBlob\"\n          ]\n        }\n      ]\n    }\n  ]\n}\n```\n\nSelect only the fields relevant to what the user asked for (chosen auth method + connection), not all of them. Each field's `description` tells you which auth method it belongs to.\n\nFor ready-made example configs, fetch `v0alpha1.json`:\n\n```\nhttps:\u002F\u002Fplugins-cdn.grafana.net\u002F\u003CPLUGIN_ID>\u002F\u003CVERSION>\u002Fpublic\u002Fplugins\u002F\u003CPLUGIN_ID>\u002Fschema\u002Fv0alpha1.json\n```\n\n```bash\nID=yesoreyeram-infinity-datasource\nVER=$(curl -s \"https:\u002F\u002Fgrafana.com\u002Fapi\u002Fplugins\u002F$ID\" | jq -r '.version')\ncurl -sf \"https:\u002F\u002Fplugins-cdn.grafana.net\u002F$ID\u002F$VER\u002Fpublic\u002Fplugins\u002F$ID\u002Fschema\u002Fv0alpha1.json\"\n```\n\nWorked examples live under `settingsExamples.examples`, an object keyed by scenario (e.g. `apiKey`, `oauth2ClientCredentials`). Each entry has a `summary`\u002F`description` (the scenario) and a `value` holding the `jsonData`\u002F`secureJsonData` payload to lift straight into the file:\n\n```bash\n# list scenarios, then pull one payload\n... | jq -r '.settingsExamples.examples | keys[]'\n... | jq '.settingsExamples.examples.apiKey.value'\n```\n\n### 5. Fallback when no schema is published\n\nIf `schema\u002Fdsconfig.json` 404s (older plugins):\n\n- Last resort: the generic structure in **grafana-oss** skill (§ Data source provisioning) can also tell the user the field names are best-effort, not plugin-authoritative.\n\n> NOTE: **grafana-oss** skill is available in `grafana-core` plugin and also available as a standalone skill from the https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fskills repository\n\n### 6. Map each field by its `target`\n\n| `target`         | YAML                                                                  | Terraform (`grafana_data_source`)                                                    |\n| ---------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| `root`           | top-level key on the datasource (`url`, `basicAuth`, `basicAuthUser`) | top-level argument (`url`) \u002F inside `json_data_encoded`                              |\n| `jsonData`       | under `jsonData:`                                                     | key inside `json_data_encoded = jsonencode({ … })`                                   |\n| `secureJsonData` | under `secureJsonData:` as `${ENV_VAR}`                               | key inside `secure_json_data_encoded = jsonencode({ … })` via a `sensitive` variable |\n\nUse each field's `valueType` for the scalar (`string` quoted in YAML, `boolean`→`true`\u002F`false`, `number` bare). Never inline a real secret. Nested objects (`oauth2`, `aws`) and arrays (`allowedHosts`, `scopes`) map directly.\n\nAlways set `access` (`root` target) and default it to `proxy` — queries route through the Grafana server (the secure default); only use `direct` (browser → data source) if the user explicitly asks for it. In Terraform the argument is `access_mode`.\n\n### 7. Ask the format, then emit the file\n\n**Now ask: YAML or Terraform?** Same fields, different output file and syntax. Don't assume: \"provision X\" may mean either; skip the question only if the user already named a format (\"terraform for X\"). YAML file provisioning is the native, zero-dependency path; Terraform needs the official [`grafana\u002Fgrafana`](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fgrafana\u002Fgrafana\u002Flatest) provider.\n\n| Choice               | Produces                                     |\n| -------------------- | -------------------------------------------- |\n| **YAML config file** | `provisioning\u002Fdatasources\u002F\u003Cname>.yaml`       |\n| **Terraform**        | `\u003Cname>.tf` (`grafana_data_source` resource) |\n\n`\u003Cname>` is just the file's basename — cosmetic, since both loaders read every file in the directory regardless of name. Default it to the plugin name.\n\n**YAML** → `provisioning\u002Fdatasources\u002F\u003Cname>.yaml`:\n\n```yaml\napiVersion: 1\ndatasources:\n  - name: Infinity # must be unique across the instance — collides even with a different datasource type\n    type: yesoreyeram-infinity-datasource # = pluginType from the schema\n    access: proxy # always set; default proxy (route queries through the Grafana server)\n    uid: infinity-ds # also unique and immutable so dashboards can reference it\n    jsonData:\n      auth_method: apiKey # value from validations.allowedValues\n      apiKeyKey: X-API-Key\n      apiKeyType: header\n      allowedHosts:\n        - https:\u002F\u002Fapi.example.com\n    secureJsonData:\n      apiKeyValue: ${API_KEY} # env var ref, never a literal secret\n    editable: false\n```\n\n**Terraform** → `\u003Cname>.tf`:\n\n```hcl\nvariable \"api_key\" {\n  type      = string\n  sensitive = true\n}\n\nresource \"grafana_data_source\" \"infinity\" {\n  type        = \"yesoreyeram-infinity-datasource\"\n  name        = \"Infinity\"\n  uid         = \"infinity-ds\"\n  access_mode = \"proxy\" # always set; default proxy (route queries through the Grafana server)\n\n  json_data_encoded = jsonencode({\n    auth_method  = \"apiKey\"\n    apiKeyKey    = \"X-API-Key\"\n    apiKeyType   = \"header\"\n    allowedHosts = [\"https:\u002F\u002Fapi.example.com\"]\n  })\n\n  secure_json_data_encoded = jsonencode({\n    apiKeyValue = var.api_key\n  })\n}\n```\n\n`grafana_data_source` is from the [`grafana\u002Fgrafana`](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fgrafana\u002Fgrafana\u002Flatest\u002Fdocs\u002Fresources\u002Fdata_source) provider — the authoritative reference for argument names (`access_mode`, `json_data_encoded`, `secure_json_data_encoded`). This file is only the resource; the user supplies the `required_providers` + `provider \"grafana\"` block and credentials.\n\n### 8. Return the file to the user\n\nPresent the complete file in a single code block for the user to copy and paste into their environment — note where it goes:\n\n- **YAML** → `provisioning\u002Fdatasources\u002F\u003Cname>.yaml` (apply on Grafana start or a provisioning reload).\n- **Terraform** → their Terraform config, applied with `terraform apply`.\n\nOptionally, tell them how to confirm it worked once applied:\n\n```bash\ncurl -s https:\u002F\u002Fgrafana.example.com\u002Fapi\u002Fdatasources\u002Fuid\u002F\u003Cuid>\u002Fhealth \\\n  -H \"Authorization: Bearer \u003Ctoken>\"\n# { \"status\": \"OK\" }    → working\n# { \"status\": \"ERROR\" } → URL unreachable or auth misconfigured\n```\n\nOr verify in the UI: visit `\u003Chttps:\u002F\u002Fgrafana.example.com>\u002Fconnections\u002Fdatasources\u002Fedit\u002F\u003Cuid>` and click **Test**.\n\n## Convert an existing data source\n\nTo codify a data source already configured in a running instance, read its config through the **Grafana MCP server** ([grafana\u002Fmcp-grafana](https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fmcp-grafana)).\n\n**Precondition:** the Grafana MCP server is connected with its **Datasources** toolset enabled (it holds the instance credentials). **If it isn't available, do not support this path** — never ask the user to paste a Grafana token into chat. Fall back to the from-scratch Workflow instead.\n\n1. Find the data source with the MCP tools — `list_datasources` to browse, then `get_datasource` (by `uid` or `name`) for the full config.\n2. The result carries every **non-secret** field directly: `type`, `uid`, `url`, `access`, `basicAuth`, `basicAuthUser`, and the full `jsonData` object. Copy them as-is.\n3. **Secrets are never returned.** The `secureJsonFields` map lists _which_ secret keys are set (e.g. `{\"apiKeyValue\": true}`) without their values. Emit an `${ENV_VAR}` placeholder in `secureJsonData` for each key it reports `true`.\n4. Cross-check against the schema (step 4) to confirm secret key names and `target` placement, then continue at **step 6** (map) and **step 7** (emit) as normal.\n\n## Related\n\n- [grafana-oss](..\u002F..\u002Fgrafana-core\u002Fgrafana-oss\u002FSKILL.md) — generic data source \u002F dashboard provisioning structure and provisioning paths.\n",{"name":5,"license":15,"description":7},"master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fdatasources-provisioning",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add stanfish06\u002Fskillquarium --skill datasources-provisioning",{"tool":38,"command":39},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill datasources-provisioning",{"tool":41,"command":42},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill datasources-provisioning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatasources-provisioning\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",184,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdatasources-provisioning\u002Fagents\u002Fopenai.yaml",[53,61,69,76,83,90],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]