Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add talkops-ai/talkops-mcp --skill authoring-logql-and-analyzing-logsgit clone --depth 1 https://github.com/talkops-ai/talkops-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/talkops-ai/talkops-mcp/authoring-logql-and-analyzing-logs)<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/authoring-logql-and-analyzing-logs"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/authoring-logql-and-analyzing-logs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/authoring-logql-and-analyzing-logs"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/authoring-logql-and-analyzing-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00197 | $0.01765 |
| Opus 5.5 | $0.00079 | $0.00706 |
| Sonnet 5.5 | $0.00039 | $0.00353 |
| Haiku 4.5 | $0.00020 | $0.00177 |
Grade A, and why
authoring-logql-and-analyzing-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Authoring LogQL and Analyzing Logs
Use this skill to construct, lint, preflight cost-check, and execute production-grade Grafana Loki 3.x LogQL log and metric queries without triggering full-index scans, SampleExtractionErr aborts, or querier OOMs.
Mandatory 4-Stage LogQL Pipeline Order
Always order LogQL stages strictly from cheapest to most expensive (see references/logql-syntax-and-functions.md and references/query-templates-and-anti-patterns.md):
- Stream Selector (
{...}): Bound at least one positive non-wildcard indexed label ({service_name="<service>", namespace="<namespace>"}). Never execute empty{}or wildcard-only{service_name=~".*"}, and never put high-cardinality fields (trace_id,order_id,user_id,k8s.pod.name) inside{}. - Line Filter (
|=,!=,|~,!~): Place SIMD/Bloom-accelerated literal substring filters (|= "ERROR",|= "duration_ms",|= "status=403") before any parser! - Targeted Parser (
| pattern,| logfmt,| json):- Prefer
| pattern(5–10xfaster than| regexp) for space-delimited Nginx/Envoy logs. - Prefer targeted extraction (
| json status="status", duration_ms="duration_ms"or| logfmt status, client_ip) instead of bare| json. - Loki 3.x Structured Metadata Shortcut: When
k8s.pod.name,trace_id, orseverity_textalready live in chunk-headerstructured_metadata(parser: ""), filter directly via{service_name="<service>", namespace="<namespace>"} | k8s.pod.name="..." | severity_text="ERROR"without| jsonor| logfmt!
- Prefer
- Label/Metadata/IP Filters & Unwrap:
- Use
ip("10.0.0.0/8")for CIDR matching (| client_ip != ip("10.0.0.0/8")). - Always append
| __error__=""immediately after| unwrap <field>(| unwrap duration_ms | __error__="") to preventSampleExtractionErr. - Divide-by-Zero Protection in LogQL Ratios: Note that
clamp_min()is a PromQL-only function and is rejected with HTTP 400 in LogQL! Protect LogQL error-ratio denominators fromNaN/ divide-by-zero on idle intervals using(sum by (...) (rate(...[5m])) > 0)in the denominator (andor vector(0)on the numerator if needed).
- Use
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 61 lines · 197 tokens per session scan A 5542e0aac261
authoring-logql-and-analyzing-logs is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 197 tokens to every session and 1,765 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.
authoring-logql-and-analyzing-logs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| authoring-logql-and-analyzing-logstalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 197 | Claude Code, Codex |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 31 | Claude Code |
| n8n-validation-expertczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 91 | Claude Code, Codex |
| n8n-error-handlingczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 128 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| openlore-analyze-codebaseclay-good/OpenLore | Skill | 369 | today | MIT | A | 48 | Claude Code, Codex |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 3d ago | MIT | A | 58 | Claude Code |