Skip to content
Back to skills

Loki Query

ASecurity

Check logs with LogQL (Loki/Grafana) — stream selector, filters, redacted samples, rate, investigation report. Evidence-only.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill loki-query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loki Query?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loki Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khaitrang1995-loki-query/badge)](https://www.skillsdirectory.com/skills/khaitrang1995-loki-query)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loki-query
description: Check logs with LogQL (Loki/Grafana) — stream selector, filters, redacted samples, rate, investigation report. Evidence-only.
user-invocable: true
argument-hint: "<service or symptom> [--env prod] [--since 1h] [--level ERROR] [@paste]"
---

# /loki-query — Log Check (Loki)

## Examples

```
/loki-query booking-api --env prod --since 1h
/loki-query "timeout" --service booking-api --since 30m
```

## Process

1. Scope labels + window  
2. LogQL plan (`@references/logql-cheat.md`)  
3. Analyze paste only — patterns, ≤10 redacted samples, optional rate query  
4. Hypotheses + next (`/grafana-explore`, `elk-kit` `/log-check`, incident process)  
5. Optional L1 → `docs/ops/grafana/log-checks/LOKI-{date}-{slug}.md`

## Output

`@_templates/loki-log-check.md`

## Rules

- @.claude/rules/grafana-conventions.md
- @.claude/rules/approval-gate.md

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.