[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CXB6VBAKFQVRA7Z2K71TNX":3,"skill-same:01M7CXB6VBAKFQVRA7Z2K71TNX":73},{"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":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":66},"01M7CXB6VBAKFQVRA7Z2K71TNX","promql-cli",null,"CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries, metric discovery (metrics\u002Flabels\u002Fmeta subcommands), output formats (table\u002Fcsv\u002Fjson\u002Fgraph). Apply when executing PromQL queries, troubleshooting performance issues on a software having observability, investigating latency\u002Ferror rates\u002Fsaturation, or analyzing time series data.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsamber-cc-skills\u002Fpromql-cli\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: promql-cli\ndescription: CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries, metric discovery (metrics\u002Flabels\u002Fmeta subcommands), output formats (table\u002Fcsv\u002Fjson\u002Fgraph). Apply when executing PromQL queries, troubleshooting performance issues on a software having observability, investigating latency\u002Ferror rates\u002Fsaturation, or analyzing time series data.\nlicense: MIT\ncompatibility: Requires promql-cli and jq\nuser-invocable: true\nmetadata:\n  author: samber\n  version: \"1.1.3\"\n  openclaw:\n    emoji: \"📊\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills\n    install:\n      - kind: go\n        package: github.com\u002Fnalbury\u002Fpromql-cli\n        bins: [promql]\n      - kind: brew\n        formula: jq\n        bins: [jq]\n    requires:\n      bins:\n        - promql\n        - jq\n    skill-library-version: \"0.3.0\"\nallowed-tools: Read Edit Write Glob Grep Agent Bash(promql:*) mcp__context7__resolve-library-id mcp__context7__query-docs AskUserQuestion\n---\n\n# promql-cli — Prometheus Query CLI Skill\n\n`promql-cli` (github.com\u002Fnalbury\u002Fpromql-cli) is a Go CLI for querying, analyzing, and visualizing Prometheus metrics, plus PromQL fundamentals.\n\n## Reference Files\n\nRead the relevant reference file(s) before executing tasks:\n\n| File | When to read |\n| --- | --- |\n| `references\u002Finstallation.md` | User needs to install promql-cli or set up configuration (hosts, auth, token, password, multi-host) |\n| `references\u002Fusage.md` | User wants to discover metrics\u002Fexporters\u002Flabels, run queries, or choose output formats |\n| `references\u002Fgraphing.md` | User wants to visualize Prometheus data as an ASCII chart in the terminal |\n| `references\u002Fdebugging.md` | User is investigating a performance issue, latency, errors, or saturation |\n| `references\u002Fpromql-reference.md` | User needs help writing PromQL, understanding metric types, functions, or aggregations |\n\nFor most tasks, read `references\u002Fusage.md`. For PromQL help, read `references\u002Fpromql-reference.md`. When debugging, read both `references\u002Fdebugging.md` and `references\u002Fpromql-reference.md`.\n\n## Setup Check\n\nBefore running any query, verify that a host is configured:\n\n```bash\npromql 'up'   # succeeds if host is reachable; fails with connection error if not configured\n# or\npromql --host xxx 'up'\n```\n\nRecognize these errors as a configuration\u002Fauth problem and refer to `references\u002Finstallation.md`:\n\n| Error | Cause |\n| --- | --- |\n| `dial tcp ... connection refused` | No host running at the configured address |\n| `dial tcp ... no such host` | Hostname not resolved — wrong host in config |\n| `error querying prometheus: ...401...` | Bearer token missing or invalid |\n| `error querying prometheus: ...403...` | Token valid but insufficient permissions |\n| `please specify an authentication type` | Auth flags partially set — use config file instead |\n\nIf any of these appear, **do not create config files on behalf of the user** — config files may contain credentials (tokens, passwords) that must never pass through an LLM. Instead, guide the user to set it up themselves:\n\n> \"Please create `~\u002F.promql-cli.yaml` manually with your Prometheus host (and credentials if needed). See `references\u002Finstallation.md` for the exact format. Let me know once it's ready.\"\n\nOnly after the user confirms the config is in place should you proceed with queries.\n\n## Quick Command Reference\n\n```bash\npromql 'up'                                          # instant query\npromql 'rate(http_requests_total[5m])' --start 1h    # range query (ASCII graph)\npromql 'up' --output csv                             # CSV output\npromql 'up' --output json                            # JSON output\npromql metrics                                       # list all metric names\npromql labels \u003Cmetric>                               # list labels for a metric\npromql meta \u003Cmetric>                                 # show metric type and help\npromql --config ~\u002F.promql-cli-prod.yaml 'up'         # target a specific host\n```\n\n## Key Principles\n\n1. **Use `rate()` on counters, never raw values** — raw counters only ever increase; the absolute value is meaningless. `rate()` gives the per-second change rate, which is what you actually care about.\n2. **When debugging, isolate a single instance** — aggregating across replicas masks per-instance anomalies. A single overloaded pod hidden behind healthy peers won't show up in averages.\n3. **Filter early with label matchers in the innermost selector** — Prometheus evaluates selectors before functions, so filtering late means scanning all time series. Early filters reduce data scanned and query latency.\n4. **For histograms, keep `le` in the `by` clause** before `histogram_quantile()` — the function needs all `le` buckets to interpolate percentiles; dropping `le` early produces `NaN` or wrong results.\n5. **Prefer `--output graph` for range queries** — ASCII sparklines convey trend direction (rising, falling, spiking) in a compact format that LLMs parse well; raw timestamp tables require mental modeling.\n6. **Store credentials in `~\u002F.promql-cli.yaml` and `~\u002F.promql_token`, chmod 600** — passing tokens as CLI args exposes them in shell history and process listings.\n\nThis skill is not exhaustive. Please refer to the [official promql-cli documentation](https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli) and examples for up-to-date information. Context7 can help as a discoverability platform.\n\nIf you encounter a bug or unexpected behavior in promql-cli itself, open an issue at [https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli\u002Fissues](https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli\u002Fissues).\n","# promql-cli — Prometheus Query CLI Skill\n\n`promql-cli` (github.com\u002Fnalbury\u002Fpromql-cli) is a Go CLI for querying, analyzing, and visualizing Prometheus metrics, plus PromQL fundamentals.\n\n## Reference Files\n\nRead the relevant reference file(s) before executing tasks:\n\n| File | When to read |\n| --- | --- |\n| `references\u002Finstallation.md` | User needs to install promql-cli or set up configuration (hosts, auth, token, password, multi-host) |\n| `references\u002Fusage.md` | User wants to discover metrics\u002Fexporters\u002Flabels, run queries, or choose output formats |\n| `references\u002Fgraphing.md` | User wants to visualize Prometheus data as an ASCII chart in the terminal |\n| `references\u002Fdebugging.md` | User is investigating a performance issue, latency, errors, or saturation |\n| `references\u002Fpromql-reference.md` | User needs help writing PromQL, understanding metric types, functions, or aggregations |\n\nFor most tasks, read `references\u002Fusage.md`. For PromQL help, read `references\u002Fpromql-reference.md`. When debugging, read both `references\u002Fdebugging.md` and `references\u002Fpromql-reference.md`.\n\n## Setup Check\n\nBefore running any query, verify that a host is configured:\n\n```bash\npromql 'up'   # succeeds if host is reachable; fails with connection error if not configured\n# or\npromql --host xxx 'up'\n```\n\nRecognize these errors as a configuration\u002Fauth problem and refer to `references\u002Finstallation.md`:\n\n| Error | Cause |\n| --- | --- |\n| `dial tcp ... connection refused` | No host running at the configured address |\n| `dial tcp ... no such host` | Hostname not resolved — wrong host in config |\n| `error querying prometheus: ...401...` | Bearer token missing or invalid |\n| `error querying prometheus: ...403...` | Token valid but insufficient permissions |\n| `please specify an authentication type` | Auth flags partially set — use config file instead |\n\nIf any of these appear, **do not create config files on behalf of the user** — config files may contain credentials (tokens, passwords) that must never pass through an LLM. Instead, guide the user to set it up themselves:\n\n> \"Please create `~\u002F.promql-cli.yaml` manually with your Prometheus host (and credentials if needed). See `references\u002Finstallation.md` for the exact format. Let me know once it's ready.\"\n\nOnly after the user confirms the config is in place should you proceed with queries.\n\n## Quick Command Reference\n\n```bash\npromql 'up'                                          # instant query\npromql 'rate(http_requests_total[5m])' --start 1h    # range query (ASCII graph)\npromql 'up' --output csv                             # CSV output\npromql 'up' --output json                            # JSON output\npromql metrics                                       # list all metric names\npromql labels \u003Cmetric>                               # list labels for a metric\npromql meta \u003Cmetric>                                 # show metric type and help\npromql --config ~\u002F.promql-cli-prod.yaml 'up'         # target a specific host\n```\n\n## Key Principles\n\n1. **Use `rate()` on counters, never raw values** — raw counters only ever increase; the absolute value is meaningless. `rate()` gives the per-second change rate, which is what you actually care about.\n2. **When debugging, isolate a single instance** — aggregating across replicas masks per-instance anomalies. A single overloaded pod hidden behind healthy peers won't show up in averages.\n3. **Filter early with label matchers in the innermost selector** — Prometheus evaluates selectors before functions, so filtering late means scanning all time series. Early filters reduce data scanned and query latency.\n4. **For histograms, keep `le` in the `by` clause** before `histogram_quantile()` — the function needs all `le` buckets to interpolate percentiles; dropping `le` early produces `NaN` or wrong results.\n5. **Prefer `--output graph` for range queries** — ASCII sparklines convey trend direction (rising, falling, spiking) in a compact format that LLMs parse well; raw timestamp tables require mental modeling.\n6. **Store credentials in `~\u002F.promql-cli.yaml` and `~\u002F.promql_token`, chmod 600** — passing tokens as CLI args exposes them in shell history and process listings.\n\nThis skill is not exhaustive. Please refer to the [official promql-cli documentation](https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli) and examples for up-to-date information. Context7 can help as a discoverability platform.\n\nIf you encounter a bug or unexpected behavior in promql-cli itself, open an issue at [https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli\u002Fissues](https:\u002F\u002Fgithub.com\u002Fnalbury\u002Fpromql-cli\u002Fissues).\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":43,"compatibility":44,"user-invocable":45},{"author":25,"version":26,"openclaw":27},"samber","1.1.3",{"emoji":28,"install":29,"homepage":39,"requires":40,"skill-library-version":42},"📊",[30,35],{"bins":31,"kind":33,"package":34},[32],"promql","go","github.com\u002Fnalbury\u002Fpromql-cli",{"bins":36,"kind":38,"formula":37},[37],"jq","brew","https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills",{"bins":41},[32,37],"0.3.0","Read Edit Write Glob Grep Agent Bash(promql:*) mcp__context7__resolve-library-id mcp__context7__query-docs AskUserQuestion","Requires promql-cli and jq",true,"main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fsamber-cc-skills\u002Fpromql-cli",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":45},[56,59,62],{"tool":57,"command":58},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill promql-cli",{"tool":60,"command":61},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill promql-cli",{"tool":63,"command":64},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill promql-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsamber-cc-skills\u002Fpromql-cli\u002FSkill.md",[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"metadata.json","REFERENCE","参考文档",405,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsamber-cc-skills\u002Fpromql-cli\u002Fmetadata.json",[74,81,86,93,98,105],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":82,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":94,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\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":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":106,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]