Skip to content
Development
Skill

/loki-query

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

From plugin
agentic-awesome-kits
932 skills
Install
$ npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill loki-query --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/loki-query

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

loki-query.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
Ships withagentic-awesome-kits

Reusable AI Skill Kits for coding agents (Claude Code and any other subagent/slash-command-compatible tool).

Get the whole plugin
Stats
9
Stars
3
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
2mo ago
Created

Repo: KhaiTrang1995/agentic-awesome-kits

Other skills on agentic-awesome-kits.