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 triaging-loki-incidents-and-errorsgit 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/triaging-loki-incidents-and-errors)<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/triaging-loki-incidents-and-errors"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/triaging-loki-incidents-and-errors/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/triaging-loki-incidents-and-errors"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/triaging-loki-incidents-and-errors.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.00182 | $0.01693 |
| Opus 5.5 | $0.00073 | $0.00677 |
| Sonnet 5.5 | $0.00036 | $0.00339 |
| Haiku 4.5 | $0.00018 | $0.00169 |
Grade A, and why
triaging-loki-incidents-and-errors 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Triaging Loki Incidents and Errors
Use this skill to execute a fast, token-efficient Grafana Loki 3.x incident triage workflow that isolates root-cause error signatures, separates new deployment regressions from background noise, and reconstructs chronological cross-service failure timelines.
Core Rule: Aggregate ($N \to 1$) First, Drill Down Second
Never begin an outage investigation by dumping hundreds of raw loki_query_range lines. Start with $N \to 1$ analysis tools (loki_summarize_service_logs, loki_compare_periods, loki_correlate_trace_logs) and consult references/incident-triage-sop.md, references/cross-pillar-correlation-guide.md, and references/incident-brief-template.md.
Step-by-Step Incident Triage Workflow
Step 1: Verify Loki Readiness & Backend Context
- Read
loki://system/healthandloki://config/backendsfirst (andcommands/triage.mdwhen invoked via/triage). - Confirm the target workload selector (
{service_name="<service>", namespace="<namespace>"}) and passorg_idwhenever a tenant is specified.
Step 2: One-Shot Service Log Digest (loki_summarize_service_logs)
- Call
loki_summarize_service_logs(selector=..., start="now-15m", org_id=...)to inspectindex_stats,estimated_error_ratio,top_error_signatures, andextracted_trace_ids.
Step 3: Isolate New Regressions & Canary Skew (loki_compare_periods)
- Time-over-Time: Call
loki_compare_periods(selector=..., start="now-15m", baseline_offset="1h", org_id=...)and prioritizenew_error_signatures(0occurrences in baseline). - Canary vs. Stable Cohorts: Call
loki_compare_periods(selector='{service_name="<service>", namespace="<namespace>", version="<canary>"}', baseline_selector='{service_name="<service>", namespace="<namespace>", version="<stable>"}', start="now-20m", end="now")over the identical window to decide between promotion vs. rollback.
What ships with it
4 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 · 58 lines · 182 tokens per session scan A 3cdf14cdf667
triaging-loki-incidents-and-errors is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 182 tokens to every session and 1,693 once invoked, about $0.0007 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.
triaging-loki-incidents-and-errors compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| triaging-loki-incidents-and-errorstalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 182 | 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 |