[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79AFD8F8HNXVC1DGDG3SRNG":3,"skill-same:01M79AFD8F8HNXVC1DGDG3SRNG":61},{"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":31,"updatedAt":32,"install":33,"resources":46},"01M79AFD8F8HNXVC1DGDG3SRNG","grafana-alloy",null,"Build a unified telemetry pipeline with Grafana Alloy — one OpenTelemetry-compatible binary that collects metrics, logs, traces, and profiles and ships to Grafana Cloud \u002F Prometheus \u002F Loki \u002F Tempo \u002F Pyroscope. Covers the Alloy config language (blocks, `sys.env`, component refs), `prometheus.scrape` → `remote_write`, `loki.source.file` + `loki.process` → `loki.write`, `otelcol.receiver.otlp` → `otelcol.exporter.otlp`, `pyroscope.scrape`, K8s \u002F Docker \u002F EC2 discovery, relabeling, modules (`import.file\u002Fgit\u002Fhttp`), clustering, Fleet Management `remotecfg`, the Alloy UI at `:12345`, and `alloy fmt` \u002F `alloy validate`. Use when writing a `config.alloy`, replacing Grafana Agent \u002F OTel Collector, scraping K8s pods, parsing logs, ingesting OTLP, or debugging \"Alloy isn't sending anything\" — even when the user says \"set up the agent\", \"write me a scrape config\", \"drop these logs before sending\", or \"OTel collector config\" without naming Alloy.","yhyu13\u002FAgentSkillsVault","yhyu13","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19365678?v=4","01M79A3XCF5M26GEWS60XQQRWW","俞航","01M79A3XD7YZ779GGWS41K367S",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: grafana-alloy\nlicense: Apache-2.0\ndescription: Build a unified telemetry pipeline with Grafana Alloy — one OpenTelemetry-compatible binary that collects metrics, logs, traces, and profiles and ships to Grafana Cloud \u002F Prometheus \u002F Loki \u002F Tempo \u002F Pyroscope. Covers the Alloy config language (blocks, `sys.env`, component refs), `prometheus.scrape` → `remote_write`, `loki.source.file` + `loki.process` → `loki.write`, `otelcol.receiver.otlp` → `otelcol.exporter.otlp`, `pyroscope.scrape`, K8s \u002F Docker \u002F EC2 discovery, relabeling, modules (`import.file\u002Fgit\u002Fhttp`), clustering, Fleet Management `remotecfg`, the Alloy UI at `:12345`, and `alloy fmt` \u002F `alloy validate`. Use when writing a `config.alloy`, replacing Grafana Agent \u002F OTel Collector, scraping K8s pods, parsing logs, ingesting OTLP, or debugging \"Alloy isn't sending anything\" — even when the user says \"set up the agent\", \"write me a scrape config\", \"drop these logs before sending\", or \"OTel collector config\" without naming Alloy.\n---\n\n# Grafana Alloy\n\n> **Docs**: https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002F\n\nOpenTelemetry-compatible collector — one binary for metrics + logs + traces + profiles.\n\n## Prerequisites\n\n- `alloy` CLI installed (`brew install grafana\u002Fgrafana\u002Falloy`, `apt install alloy`, or `grafana\u002Falloy` Docker image)\n- An endpoint to ship to (Grafana Cloud, Prometheus, Loki, Tempo, Pyroscope)\n- API key + username for that endpoint, exported as `GRAFANA_API_KEY` etc.\n\n## Common Workflows\n\n### 1. Write + validate a config locally\n\n```alloy\n\u002F\u002F config.alloy — metrics → Grafana Cloud\nprometheus.scrape \"app\" {\n  targets = [{\"__address__\" = \"localhost:9090\"}]\n  forward_to = [prometheus.remote_write.cloud.receiver]\n  scrape_interval = \"30s\"\n}\n\nprometheus.remote_write \"cloud\" {\n  endpoint {\n    url = sys.env(\"PROMETHEUS_URL\")\n    basic_auth {\n      username = sys.env(\"PROM_USER\")\n      password = sys.env(\"GRAFANA_API_KEY\")\n    }\n  }\n}\n```\n\n```bash\n# 1. Format + syntax-check (catches typos before run)\nalloy fmt config.alloy\nalloy validate config.alloy\n\n# 2. Run it\nalloy run config.alloy\n# or as a service: systemctl restart alloy\n\n# 3. Verify all components are healthy via the UI on port 12345\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fapi\u002Fv0\u002Fweb\u002Fcomponents \\\n  | jq '.[] | select(.health.state != \"healthy\") | {id, state:.health.state, msg:.health.message}'\n# Expect: empty (nothing unhealthy). Otherwise the row shows the failing component + reason.\n\n# 4. Verify samples are flowing\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fmetrics \\\n  | grep -E '^prometheus_remote_storage_(samples_total|enqueue_retries_total)' | head\n# samples_total should be > 0 and rising; retries should be 0.\n```\n\n### 2. Add log shipping (file → Loki)\n\n```alloy\nloki.source.file \"app_logs\" {\n  targets    = [{ __path__ = \"\u002Fvar\u002Flog\u002Fapp\u002F*.log\", job = \"app\" }]\n  forward_to = [loki.write.cloud.receiver]\n}\n\nloki.write \"cloud\" {\n  endpoint {\n    url = sys.env(\"LOKI_URL\")\n    basic_auth {\n      username = sys.env(\"LOKI_USER\")\n      password = sys.env(\"GRAFANA_API_KEY\")\n    }\n  }\n}\n```\n\n```bash\n# Verify in Grafana → Explore → Loki:\n#   {job=\"app\"}\n# Expect lines streaming. If empty:\n#   - check \u002Fvar\u002Flog\u002Fapp\u002F*.log actually exists + readable by the alloy user\n#   - http:\u002F\u002Flocalhost:12345 → loki.source.file.app_logs → \"Targets\" tab\n```\n\n### 3. Receive OTLP traces and ship to Tempo\n\n```alloy\notelcol.receiver.otlp \"default\" {\n  grpc { endpoint = \"0.0.0.0:4317\" }\n  http { endpoint = \"0.0.0.0:4318\" }\n  output { traces = [otelcol.exporter.otlp.tempo.input] }\n}\n\notelcol.exporter.otlp \"tempo\" {\n  client {\n    endpoint = \"tempo-xxx.grafana.net\u002Ftempo:443\"\n    auth     = otelcol.auth.basic.grafana_cloud.handler\n  }\n}\n\notelcol.auth.basic \"grafana_cloud\" {\n  username = sys.env(\"TEMPO_USER\")\n  password = sys.env(\"GRAFANA_API_KEY\")\n}\n```\n\n```bash\n# Verify in Grafana → Explore → Tempo → service.name = your-service\n# At the Alloy level, watch the receiver:\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fmetrics | grep otelcol_receiver_accepted_spans\n```\n\nFull pattern set (Kubernetes discovery + relabel, complete Cloud pipeline for all 4 signals): [`references\u002Fcollection-patterns.md`](references\u002Fcollection-patterns.md).\n\n## Reference\n\n- [`references\u002Fconfig-syntax.md`](references\u002Fconfig-syntax.md) — block\u002Fattribute\u002Fexpression grammar, `import.*`, `remotecfg`, clustering\n- [`references\u002Fcomponents.md`](references\u002Fcomponents.md) — full component catalog with purpose + typical args\n- [`references\u002Fcollection-patterns.md`](references\u002Fcollection-patterns.md) — end-to-end pipelines (K8s pods, OTLP, profiles, logs)\n\n## Troubleshooting\n\n- `alloy validate` → \"component not found\" → version too old; `alloy --version` and upgrade\n- UI shows component `unhealthy` → click into it on http:\u002F\u002Flocalhost:12345 for the live error\n- `prometheus_remote_storage_samples_dropped_total` rising → check `enqueue_retries_total` and the remote_write endpoint URL + creds\n- No spans landing in Tempo → check `otelcol_receiver_refused_spans` and the exporter's `otelcol_exporter_sent_spans` \u002F `otelcol_exporter_send_failed_spans`\n\n## Resources\n\n- [Alloy docs](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002F)\n- [Component reference](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002Freference\u002Fcomponents\u002F)\n- [Migrate from Grafana Agent](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002Fset-up\u002Fmigrate\u002Ffrom-agent\u002F)\n","# Grafana Alloy\n\n> **Docs**: https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002F\n\nOpenTelemetry-compatible collector — one binary for metrics + logs + traces + profiles.\n\n## Prerequisites\n\n- `alloy` CLI installed (`brew install grafana\u002Fgrafana\u002Falloy`, `apt install alloy`, or `grafana\u002Falloy` Docker image)\n- An endpoint to ship to (Grafana Cloud, Prometheus, Loki, Tempo, Pyroscope)\n- API key + username for that endpoint, exported as `GRAFANA_API_KEY` etc.\n\n## Common Workflows\n\n### 1. Write + validate a config locally\n\n```alloy\n\u002F\u002F config.alloy — metrics → Grafana Cloud\nprometheus.scrape \"app\" {\n  targets = [{\"__address__\" = \"localhost:9090\"}]\n  forward_to = [prometheus.remote_write.cloud.receiver]\n  scrape_interval = \"30s\"\n}\n\nprometheus.remote_write \"cloud\" {\n  endpoint {\n    url = sys.env(\"PROMETHEUS_URL\")\n    basic_auth {\n      username = sys.env(\"PROM_USER\")\n      password = sys.env(\"GRAFANA_API_KEY\")\n    }\n  }\n}\n```\n\n```bash\n# 1. Format + syntax-check (catches typos before run)\nalloy fmt config.alloy\nalloy validate config.alloy\n\n# 2. Run it\nalloy run config.alloy\n# or as a service: systemctl restart alloy\n\n# 3. Verify all components are healthy via the UI on port 12345\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fapi\u002Fv0\u002Fweb\u002Fcomponents \\\n  | jq '.[] | select(.health.state != \"healthy\") | {id, state:.health.state, msg:.health.message}'\n# Expect: empty (nothing unhealthy). Otherwise the row shows the failing component + reason.\n\n# 4. Verify samples are flowing\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fmetrics \\\n  | grep -E '^prometheus_remote_storage_(samples_total|enqueue_retries_total)' | head\n# samples_total should be > 0 and rising; retries should be 0.\n```\n\n### 2. Add log shipping (file → Loki)\n\n```alloy\nloki.source.file \"app_logs\" {\n  targets    = [{ __path__ = \"\u002Fvar\u002Flog\u002Fapp\u002F*.log\", job = \"app\" }]\n  forward_to = [loki.write.cloud.receiver]\n}\n\nloki.write \"cloud\" {\n  endpoint {\n    url = sys.env(\"LOKI_URL\")\n    basic_auth {\n      username = sys.env(\"LOKI_USER\")\n      password = sys.env(\"GRAFANA_API_KEY\")\n    }\n  }\n}\n```\n\n```bash\n# Verify in Grafana → Explore → Loki:\n#   {job=\"app\"}\n# Expect lines streaming. If empty:\n#   - check \u002Fvar\u002Flog\u002Fapp\u002F*.log actually exists + readable by the alloy user\n#   - http:\u002F\u002Flocalhost:12345 → loki.source.file.app_logs → \"Targets\" tab\n```\n\n### 3. Receive OTLP traces and ship to Tempo\n\n```alloy\notelcol.receiver.otlp \"default\" {\n  grpc { endpoint = \"0.0.0.0:4317\" }\n  http { endpoint = \"0.0.0.0:4318\" }\n  output { traces = [otelcol.exporter.otlp.tempo.input] }\n}\n\notelcol.exporter.otlp \"tempo\" {\n  client {\n    endpoint = \"tempo-xxx.grafana.net\u002Ftempo:443\"\n    auth     = otelcol.auth.basic.grafana_cloud.handler\n  }\n}\n\notelcol.auth.basic \"grafana_cloud\" {\n  username = sys.env(\"TEMPO_USER\")\n  password = sys.env(\"GRAFANA_API_KEY\")\n}\n```\n\n```bash\n# Verify in Grafana → Explore → Tempo → service.name = your-service\n# At the Alloy level, watch the receiver:\ncurl -s http:\u002F\u002Flocalhost:12345\u002Fmetrics | grep otelcol_receiver_accepted_spans\n```\n\nFull pattern set (Kubernetes discovery + relabel, complete Cloud pipeline for all 4 signals): [`references\u002Fcollection-patterns.md`](references\u002Fcollection-patterns.md).\n\n## Reference\n\n- [`references\u002Fconfig-syntax.md`](references\u002Fconfig-syntax.md) — block\u002Fattribute\u002Fexpression grammar, `import.*`, `remotecfg`, clustering\n- [`references\u002Fcomponents.md`](references\u002Fcomponents.md) — full component catalog with purpose + typical args\n- [`references\u002Fcollection-patterns.md`](references\u002Fcollection-patterns.md) — end-to-end pipelines (K8s pods, OTLP, profiles, logs)\n\n## Troubleshooting\n\n- `alloy validate` → \"component not found\" → version too old; `alloy --version` and upgrade\n- UI shows component `unhealthy` → click into it on http:\u002F\u002Flocalhost:12345 for the live error\n- `prometheus_remote_storage_samples_dropped_total` rising → check `enqueue_retries_total` and the remote_write endpoint URL + creds\n- No spans landing in Tempo → check `otelcol_receiver_refused_spans` and the exporter's `otelcol_exporter_sent_spans` \u002F `otelcol_exporter_send_failed_spans`\n\n## Resources\n\n- [Alloy docs](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002F)\n- [Component reference](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002Freference\u002Fcomponents\u002F)\n- [Migrate from Grafana Agent](https:\u002F\u002Fgrafana.com\u002Fdocs\u002Falloy\u002Flatest\u002Fset-up\u002Fmigrate\u002Ffrom-agent\u002F)\n",{"name":5,"license":15,"description":7},"main","3b63fa056f5de7956766fca020e9c71fdf2b0fab","SKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy",0,"https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault","https:\u002F\u002Fgithub.com\u002Fyhyu13","https:\u002F\u002Fyhyu13.github.io","大丈夫自立于天地之间，岂可郁郁久居于人下\r\nA zealot of AI.","2026-11-14 20:53:07",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add yhyu13\u002FAgentSkillsVault --skill grafana-alloy",{"tool":39,"command":40},"bunx","bunx skills add yhyu13\u002FAgentSkillsVault --skill grafana-alloy",{"tool":42,"command":43},"pnpm","pnpm dlx skills add yhyu13\u002FAgentSkillsVault --skill grafana-alloy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcollection-patterns.md","REFERENCE","参考文档",10947,"https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy\u002Freferences\u002Fcollection-patterns.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcomponents.md",16547,"https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy\u002Freferences\u002Fcomponents.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fconfig-syntax.md",9378,"https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier2\u002Fgrafana-alloy\u002Freferences\u002Fconfig-syntax.md",[62,70,77,84,91,98],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7DZJW3GMCBHNCC1J37K73T7","feishu-kdocs-cli","Office cloud CLIs for agents: install, authenticate, verify and troubleshoot Feishu `lark-cli` and Kingsoft\u002FWPS Docs `kdocs-cli`, plus the three China office MCP endpoints (Feishu, WPS SkillHub, Tencent Docs). Use when setting up or re-logging-in 飞书 CLI \u002F 金山文档 CLI, when a command fails with missing scope \u002F PATH \u002F token \u002F device-code errors, when a kdocs or lark command returns 400001 or unknown action, or when wiring 飞书 \u002F 金山文档 \u002F 腾讯文档 MCP into Cindy, Claude or another host. Not a per-command reference: domain commands live in the lark-* Skills and the kdocs Skill.","MIT","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fdevops\u002Ftier0\u002Ffeishu-kdocs-cli\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7BE0VQF0T7ACMY3W9V27ZYG","vfx-fx","Cinematic and game VFX in Blender including smoke, fire, particles, trails, and Geometry Nodes FX setups via MCP.","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fgame-dev\u002Ftier2\u002Fvfx-fx\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7BE0Q23SY6QAW24XEADEH0N","uv-workflow","Production UV unwrapping for seam placement, UV packing, texel density, UDIM, lightmap UVs, and modular UV layouts. Use when preparing meshes for texturing and engine export in Blender via MCP.","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fgame-dev\u002Ftier2\u002Fuv-workflow\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7BE0JAKENVJB4Z0SV3Q7QGR","texture-workflow","Production texture workflow for atlases, baking AO\u002Fcurvature\u002Fnormal\u002Froughness maps, decals, and texture memory optimization. Use for game-ready texture pipelines in Blender via MCP.","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fgame-dev\u002Ftier2\u002Ftexture-workflow\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BE0CYB7BDJP7HD5WTS2PJB","sculpting","Blender sculpting for organic and hard surface detail using Dyntopo, multiresolution, brushes, alpha workflow, wrinkles, and damage. Use when high-frequency surface detail is needed before retopology in Blender via MCP.","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fgame-dev\u002Ftier2\u002Fsculpting\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7BE09TBX9NQ5EBHN4JZ9VXM","scene-assembly","Large scene layout in Blender with collections, linking, overrides, streaming-friendly organization, and set assembly via MCP.","https:\u002F\u002Fgithub.com\u002Fyhyu13\u002FAgentSkillsVault\u002Fblob\u002Fmain\u002FSKILL\u002Fgame-dev\u002Ftier2\u002Fscene-assembly\u002FSKILL.md",[],[]]